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-6487) assign region doesn't check if the region is already assigned
Date Thu, 02 Aug 2012 16:48:02 GMT

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

Jimmy Xiang commented on HBASE-6487:
------------------------------------

Sure.  How about just checking the region state and make sure it is OFFLINE?  If it is in
other states, the region should be either opened or in transition, right?
                
> assign region doesn't check if the region is already assigned
> -------------------------------------------------------------
>
>                 Key: HBASE-6487
>                 URL: https://issues.apache.org/jira/browse/HBASE-6487
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>             Fix For: 0.96.0
>
>         Attachments: trunk-6487.patch
>
>
> Tried to assign a region already assigned somewhere from hbase shell, the region is assigned
to a different place but the previous assignment is not closed.  So it causes double assignments.
 In such a case, it's better to issue a warning instead.

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

        

Mime
View raw message