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 Fri, 16 Sep 2011 03:36:08 GMT

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

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

After applying HBASE-4153_2.patch, I got:
{code}
/home/hadoop/hbase/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java:[2685,45]
cannot find symbol
symbol  : class Writable
location: class org.apache.hadoop.hbase.master.AssignmentManager

/home/hadoop/hbase/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java:[2809,4]
method does not override or implement a method from a supertype

/home/hadoop/hbase/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java:[2817,4]
method does not override or implement a method from a supertype
{code}
Ramkrishna got the following test failures:
{code}
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.658 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.model.TestStorageClusterStatusModel
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.736 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.model.TestStorageClusterVersionModel
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.439 sec
Running org.apache.hadoop.hbase.rest.model.TestTableInfoModel
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.642 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.model.TestTableListModel
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.595 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.model.TestTableRegionModel
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.814 sec
Running org.apache.hadoop.hbase.rest.model.TestTableSchemaModel
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.626 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.model.TestVersionModel
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.58 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.TestGzipFilter
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 66.295 sec <<< FAILURE!
Tests run: 12, Failures: 7, Errors: 4, Skipped: 0, Time elapsed: 65.521 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.TestScannerResource
Running org.apache.hadoop.hbase.rest.TestScannersWithFilters
Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 75.764 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.TestSchemaResource
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 73.402 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.TestStatusResource
Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 69.46 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.TestTableResource
Tests run: 9, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 161.619 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.TestTransform
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 70.007 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.TestVersionResource
Tests run: 8, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 65.267 sec <<< FAILURE!
Running org.apache.hadoop.hbase.security.TestUser
{code}
The above tests failed with compilation error in Proto buf code.

> Handle RegionAlreadyInTransitionException in AssignmentManager
> --------------------------------------------------------------
>
>                 Key: HBASE-4153
>                 URL: https://issues.apache.org/jira/browse/HBASE-4153
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.92.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.92.0
>
>         Attachments: HBASE-4153_1.patch, HBASE-4153_2.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