You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Prakash Khemani (Updated) (JIRA)" <ji...@apache.org> on 2011/10/28 22:45:32 UTC

[jira] [Updated] (HBASE-4696) HRegionThriftServer' might have to indefinitely do redirtects

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

Prakash Khemani updated HBASE-4696:
-----------------------------------

    Description: 
HRegionThriftServer.getRowWithColumnsTs() redirects the request to the correct region server if it has landed on the wrong region-server. With this approach the smart-client will never get a NotServingRegionException and it will never be able to invalidate its cache. It will indefinitely send the request to the wrong region server and the wrong region server will always be redirecting it.

Either redirects should be turned off and the client should react to NotServingRegionExceptions.

Or somehow a flag should be set in the response telling the client to refresh its cache.
    Environment:     (was: HRegionThriftServer.getRowWithColumnsTs() redirects the request to the correct region server if it has landed on the wrong region-server. With this approach the smart-client will never get a NotServingRegionException and it will never be able to invalidate its cache. It will indefinitely send the request to the wrong region server and the wrong region server will always be redirecting it.

Either redirects should be turned off and the client should react to NotServingRegionExceptions.

Or somehow a flag should be set in the response telling the client to refresh its cache.)
    
> HRegionThriftServer' might have to indefinitely do redirtects
> -------------------------------------------------------------
>
>                 Key: HBASE-4696
>                 URL: https://issues.apache.org/jira/browse/HBASE-4696
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Prakash Khemani
>
> HRegionThriftServer.getRowWithColumnsTs() redirects the request to the correct region server if it has landed on the wrong region-server. With this approach the smart-client will never get a NotServingRegionException and it will never be able to invalidate its cache. It will indefinitely send the request to the wrong region server and the wrong region server will always be redirecting it.
> Either redirects should be turned off and the client should react to NotServingRegionExceptions.
> Or somehow a flag should be set in the response telling the client to refresh its cache.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira