Apache9 commented on pull request #1617: URL: https://github.com/apache/hbase/pull/1617#issuecomment-621932016
OK, confirmed, it is a test issue. Switching back to use ZKConnectionRegistry can solve the problem. The root cause here is that, after session expire, the ZKConnectionRegistry can only return the new master address, since the node for the old master has been removed. But with MasterRegistry, we could still get the address of the old master, and then we may receive a MasterStoppedException, which is a DoNotRetryIOException, and cause the UT to fail. Maybe in the future we could do better on handling retries when master is shutting down, but now let's switch back to ZKConnectionRegistry to make the test pass. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
