hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7131) Race condition after table is re-enabled: regions are incorrectly reported as being available.
Date Fri, 09 Nov 2012 23:41:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494433#comment-13494433
] 

Jimmy Xiang commented on HBASE-7131:
------------------------------------

After the table is re-enabled, the region could be assigned to a different region server.
 However, the HBase client caches the old connection, that's why the NotServingRegion exception.
 Once you add a line to clear the region cache, then it should work as expected:

original.getConnection().clearRegionCache();

I was thinking how should the HBase client to deal with such scenario better.
                
> Race condition after table is re-enabled: regions are incorrectly reported as being available.
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-7131
>                 URL: https://issues.apache.org/jira/browse/HBASE-7131
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Aleksandr Shulman
>            Assignee: Jimmy Xiang
>            Priority: Minor
>         Attachments: HBase-7131-v1.patch, trunk-7131.patch
>
>
> For a table that is re-enabled shortly after it is disabled, regions that are reported
to be online are not. This is manifested by a flush attempt throwing a NotServingRegion exception
despite all regions from the original table reporting that they are online.
> I have a test in place that verifies this flaky behavior. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message