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

Hudson commented on HBASE-5857:
-------------------------------

Integrated in HBase-0.94-security #20 (See 
[https://builds.apache.org/job/HBase-0.94-security/20/])
    HBASE-5857 RIT map in RS not getting cleared while region opening (Revision 
1329471)

     Result = SUCCESS
stack : 
Files : 
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/TestZKBasedOpenCloseRegion.java

                
> RIT map in RS not getting cleared while region opening
> ------------------------------------------------------
>
>                 Key: HBASE-5857
>                 URL: https://issues.apache.org/jira/browse/HBASE-5857
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.6
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: HBASE-5857_0.92.1.patch, HBASE-5857_0.92.patch, 
> HBASE-5857_0.94.1.patch, HBASE-5857_94.patch, HBASE-5857_trunk.1.patch, 
> HBASE-5857_trunk.1.patch, HBASE-5857_trunk.2.patch, HBASE-5857_trunk.patch
>
>
> While opening the region in RS after adding the region to 
> regionsInTransitionInRS if tableDescriptors.get() throws exception the region 
> wont be cleared from regionsInTransitionInRS. So next time if it tries to 
> open the region in the same RS it will throw the 
> RegionAlreadyInTransitionException.
> if swap the below statement this issue wont come.
> {code}
> this.regionsInTransitionInRS.putIfAbsent(region.getEncodedNameAsBytes(),true);
> HTableDescriptor htd = this.tableDescriptors.get(region.getTableName());
> {code}

--
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

        

Reply via email to