[ 
https://issues.apache.org/jira/browse/HBASE-19798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xu Cang reassigned HBASE-19798:
-------------------------------

    Assignee: Xu Cang

> 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
>            Assignee: Xu Cang
>            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)

Reply via email to