[
https://issues.apache.org/jira/browse/HBASE-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Gray updated HBASE-4696:
---------------------------------
Attachment: HBASE-4696-v1.patch
Adds new "redirect" configuration option to HRegionThriftServer:
{{hbase.regionserver.thrift.redirect}}
Default is false.
If this is false, then if the current regionserver does not have the specified
region, an exception is thrown rather than auto-re-directing.
This also has another fix where it was using the encoded region name instead of
the full binary region name.
> HRegionThriftServer' might have to indefinitely do redirtects
> -------------------------------------------------------------
>
> Key: HBASE-4696
> URL: https://issues.apache.org/jira/browse/HBASE-4696
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.94.0
> Reporter: Prakash Khemani
> Assignee: Jonathan Gray
> Fix For: 0.94.0
>
> Attachments: HBASE-4696-v1.patch
>
>
> 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