[
https://issues.apache.org/jira/browse/HBASE-19798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Cang updated HBASE-19798:
----------------------------
Attachment: HBASE-19798.branch-1.001.patch
Status: Patch Available (was: Open)
> 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: linux centos 6.5
> jdk 1.8
>
>
> Reporter: chenrongwei
> Priority: Minor
> Attachments: HBASE-19798.branch-1.001.patch
>
>
> 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."); }
> actual exception info
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region for 196053079 in fin_tech:crawler_event after 0 tries.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)