-
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-27490 Locating regions for all actions of batch requests can exceed operation timeout #4908
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
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.
Failed UTs seems related.
java.lang.NullPointerException
at org.apache.hadoop.hbase.client.AsyncRequestFutureImpl.groupAndSendMultiAction(AsyncRequestFutureImpl.java:423)
at org.apache.hadoop.hbase.client.AsyncProcess.submitAll(AsyncProcess.java:379)
at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:213)
at org.apache.hadoop.hbase.client.HTable.doCheckAndMutate(HTable.java:853)
@sunhelly thanks for taking a look! I just pushed a fix. I checked a few of the classes with failing tests, and it fixed them all. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@sunhelly pre-commit checks are all passing now |
7ba30c7
to
fe0e41f
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@sunhelly Any chance you can give this one more look? |
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
Thanks! |
…ceed operation timeout (#4908) Signed-off-by: Xiaolin Ha <[email protected]>
…ch requests can exceed operation timeout (apache#4908) Conficts: TestClientOperationTimeout Signed-off-by: Xiaolin Ha <[email protected]>
…s of batch requests can exceed operation timeout (apache#4908)" This reverts commit 55fae15.
This is a continuation of HBASE-27487. That jira protects against the case where operation timeout is exceeded just before the call is executed. This jira further ensures that the operation timeout cannot be exceeded while locating regions for the requested actions. In both cases, we should not clear meta cache.
The two are similar, but need to be handled separately due to the complicated call stack in AsyncProcess. I've added a new test so that we have test cases covering both situations.