hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4153) Handle RegionAlreadyInTransitionException in AssignmentManager
Date Tue, 20 Sep 2011 17:45:10 GMT

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

Ted Yu commented on HBASE-4153:
-------------------------------

I ran test suite on 0.92 and saw two failures:
{code}
Failed tests:   testRowRange(org.apache.hadoop.hbase.regionserver.TestServerCustomProtocol):
Results should contain region test,ccc,1316534680968.20178584e985d7c9300aa37d3fa249b9. for
row 'ccc'

Tests in error:
  testRSAlreadyProcessingRegion(org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion)
{code}
Both of them passed when run standalone.

+1 on patch v6.

> Handle RegionAlreadyInTransitionException in AssignmentManager
> --------------------------------------------------------------
>
>                 Key: HBASE-4153
>                 URL: https://issues.apache.org/jira/browse/HBASE-4153
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.92.0
>
>         Attachments: 4153-v3.txt, HBASE-4153_1.patch, HBASE-4153_2.patch, HBASE-4153_3.patch,
HBASE-4153_4.patch, HBASE-4153_5.patch, HBASE-4153_6.patch
>
>
> Comment from Stack over in HBASE-3741:
> {quote}
> Question: Looking at this patch again, if we throw a RegionAlreadyInTransitionException,
won't we just assign the region elsewhere though RegionAlreadyInTransitionException in at
least one case here is saying that the region is already open on this regionserver?
> {quote}
> Indeed looking at the code it's going to be handled the same way other exceptions are.
Need to add special cases for assign and unassign.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message