You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "chenrongwei (JIRA)" <ji...@apache.org> on 2018/01/15 09:37:00 UTC
[jira] [Created] (HBASE-19798) Retry time should not be 0
chenrongwei created HBASE-19798:
-----------------------------------
Summary: Retry time should not be 0
Key: HBASE-19798
URL: https://issues.apache.org/jira/browse/HBASE-19798
Project: HBase
Issue Type: Bug
Components: hbase
Affects Versions: 1.2.6
Environment: hbase.client.retries.number should not be set to zero.
if set to zero will cause ConnectionManager report NoServerForRegionException.
source code detail in 1.2.6's ConnectionManager like belows:
int localNumRetries = (retry ? numTries : 1);
for (int tries = 0; true; tries++) {
if (tries >= localNumRetries) {
throw new NoServerForRegionException("Unable to find region for "
+ Bytes.toStringBinary(row) + " in " + tableName +
" after " + localNumRetries + " tries.");
}
Reporter: chenrongwei
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)