hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HungIKe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10898) to specify isRetry of HTable region location in the configuration file
Date Wed, 02 Apr 2014 06:11:14 GMT

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

HungIKe updated HBASE-10898:
----------------------------

    Description: 
In the class org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation
we call the method 
"private HRegionLocation locateRegion(final TableName tableName,
      final byte [] row, boolean useCache, boolean retry)"  
to get the location of a htable's region ,

this method is called by 
    @Override
    public HRegionLocation locateRegion(final TableName tableName,
        final byte [] row)
    throws IOException{
      return locateRegion(tableName, row, true, true);
    } 
in line 1067@rev. 6925f (branch hbase 0.98 )  ,  and other two methods  

for the forth argument in locateRegion(tableName, row, true, true); to specify retry or not
,
could we specify it  in the configure file? Is it necessary ?   thank you . 



  was:
In the class org.apache.hadoop.hbase.client.HConnectionManager 
we call the method 
"private HRegionLocation locateRegion(final TableName tableName,
      final byte [] row, boolean useCache, boolean retry)"  
to get the location of a htable's region ,

this method is called by 
    @Override
    public HRegionLocation locateRegion(final TableName tableName,
        final byte [] row)
    throws IOException{
      return locateRegion(tableName, row, true, true);
    } 
in line 1067@rev. 6925f (branch hbase 0.98 )  ,  and other two methods  

for the forth argument in locateRegion(tableName, row, true, true); to specify retry or not
,
could we specify it  in the configure file? Is it necessary ?   thank you . 




> to specify isRetry of HTable region location in the configuration file
> ----------------------------------------------------------------------
>
>                 Key: HBASE-10898
>                 URL: https://issues.apache.org/jira/browse/HBASE-10898
>             Project: HBase
>          Issue Type: Wish
>          Components: Client
>    Affects Versions: 0.96.0, 0.94.15, 0.98.1
>            Reporter: HungIKe
>            Priority: Minor
>
> In the class org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation
> we call the method 
> "private HRegionLocation locateRegion(final TableName tableName,
>       final byte [] row, boolean useCache, boolean retry)"  
> to get the location of a htable's region ,
> this method is called by 
>     @Override
>     public HRegionLocation locateRegion(final TableName tableName,
>         final byte [] row)
>     throws IOException{
>       return locateRegion(tableName, row, true, true);
>     } 
> in line 1067@rev. 6925f (branch hbase 0.98 )  ,  and other two methods  
> for the forth argument in locateRegion(tableName, row, true, true); to specify retry
or not ,
> could we specify it  in the configure file? Is it necessary ?   thank you . 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message