-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-24830 Some tests involving RS crash fail with NullPointerExcept… #2211
Conversation
🎊 +1 overall
This message was automatically generated. |
@@ -104,7 +104,8 @@ static Status splitLog(String filename, CancelableProgressable p, Configuration | |||
// encountered a bad non-retry-able persistent error. | |||
try { | |||
SplitLogWorkerCoordination splitLogWorkerCoordination = | |||
server.getCoordinatedStateManager().getSplitLogWorkerCoordination(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can splitLogWorkerCoordination be null and the reason? Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
splitlogworkercoordination is only present when we are doing the old zk based log splitting. Otherwise, it is null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 on this fix, I hit this issue and figure out if we set HBASE_SPLIT_WAL_COORDINATED_BY_ZK
in TestClusterRestartFailoverSplitWithoutZk
, the test fails.
💔 -1 overall
This message was automatically generated. |
…ion after HBASE-24632 in branch-2
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
One (unrelated) test failed. It passes locally. Rerunning just in case. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, testWALEntryFilter
and TestClusterRestartFailoverSplitWithoutZk
passed after this change.
@@ -104,7 +104,8 @@ static Status splitLog(String filename, CancelableProgressable p, Configuration | |||
// encountered a bad non-retry-able persistent error. | |||
try { | |||
SplitLogWorkerCoordination splitLogWorkerCoordination = | |||
server.getCoordinatedStateManager().getSplitLogWorkerCoordination(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 on this fix, I hit this issue and figure out if we set HBASE_SPLIT_WAL_COORDINATED_BY_ZK
in TestClusterRestartFailoverSplitWithoutZk
, the test fails.
💔 -1 overall
This message was automatically generated. |
Merged manually. |
…ion after HBASE-24632 in branch-2