Uh oh!
There was an error while loading. Please reload this page.
HBASE-26459 HMaster should move non-meta region only if meta is ONLINE - #3875
Conversation
Apache-HBase
commented
Nov 23, 2021
💔 -1 overall
This message was automatically generated. |
shahrs87
commented
Nov 23, 2021
@YutSean Can we add some tests ? |
YutSean
commented
Nov 23, 2021
OK, let me try. |
Apache-HBase
commented
Nov 23, 2021
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 25, 2021
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 25, 2021
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 25, 2021
💔 -1 overall
This message was automatically generated. |
YutSean
commented
Nov 26, 2021
The failed UT passed locally. It is a little bit flaky. |
virajjasani
left a comment
There was a problem hiding this comment.
Left some comments, thanks @YutSean for the improvement
| LOG.info("Moving " + rp + " failed. " + | ||
| "While there is still meta regions in transition after " + | ||
| timeoutWaitMetaRegionAssignment + "ms waiting."); |
There was a problem hiding this comment.
I think ERROR log would be better. Also, how about this error message?
LOG.error("This is fail-fast of the region move because hbase:meta region is in transition. Failed region move info: " + rp);
There was a problem hiding this comment.
Looks better. Changed in the latest commit.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| public static final String HBASE_MASTER_WAITING_META_ASSIGNMENT_TIMEOUT = | ||
| "hbase.master.waiting.meta.assignment.timeout"; | ||
| public static final long HBASE_MASTER_WAITING_META_ASSIGNMENT_TIMEOUT_DEFAULT = 5000; |
There was a problem hiding this comment.
Let's keep it 10000 (10 s)?
There was a problem hiding this comment.
Not sure if 10s is better. Actually, 5s is my intuition. Have changed in the latest commit. But could you explain the reason to change to 10s a little bit?
Apache-HBase
commented
Nov 26, 2021
💔 -1 overall
This message was automatically generated. |
| if (assignmentManager.getRegionStates().isMetaRegionInTransition()) { | ||
| LOG.error("This is fail-fast of the region move because " | ||
| + "hbase:meta region is in transition. Failed region move info: " + rp); | ||
| return; |
There was a problem hiding this comment.
I think we can throw HBaseIOException here since this is fail-fast scenario?
There was a problem hiding this comment.
Right, exception could be detected by the client. Have changed to throw exception in the latest commit.
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Nov 29, 2021
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 29, 2021
💔 -1 overall
This message was automatically generated. |
virajjasani
left a comment
There was a problem hiding this comment.
Overall looks good. Thanks @YutSean. Can you please also take care of the recent whitespace warning?
YutSean
commented
Nov 29, 2021
Fixed in the latest commit. Let's see if it is ok this time. |
Apache-HBase
commented
Nov 29, 2021
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 30, 2021
💔 -1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Dec 3, 2021
💔 -1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
https://issues.apache.org/jira/browse/HBASE-26459