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)