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

Jonathan Gray commented on HBASE-3267:
--------------------------------------

The master doesn't expect a region to be properly closed out on an RS w/o being 
the one to tell it to do so.

Let me dig in to the code and see what the easiest solution would be.

@Todd... I had plans to start working on new features for 0.92, stop finding 
bugs!  ;)

> close_region shell command breaks region
> ----------------------------------------
>
>                 Key: HBASE-3267
>                 URL: https://issues.apache.org/jira/browse/HBASE-3267
>             Project: HBase
>          Issue Type: Bug
>          Components: master, regionserver, shell
>    Affects Versions: 0.90.0
>            Reporter: Todd Lipcon
>            Priority: Critical
>
> It used to be that you could use the close_region command from the shell to 
> close a region on one server and have the master reassign it elsewhere. Now 
> if you close a region, you get the following errors in the master log:
> 2010-11-23 00:46:34,090 WARN 
> org.apache.hadoop.hbase.master.AssignmentManager: Received CLOSING for region 
> ffaa7999e909dbd6544688cc8ab303bd from server 
> haus01.sf.cloudera.com,12020,1290501789693 but region was in  the state null 
> and not in expected PENDI
> 2010-11-23 00:46:34,530 DEBUG 
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher: 
> master:60000-0x12c537d84e10062 Received ZooKeeper Event, 
> type=NodeDataChanged, state=SyncConnected, 
> path=/hbase/unassigned/ffaa7999e909dbd6544688cc8ab303bd
> 2010-11-23 00:46:34,531 DEBUG org.apache.hadoop.hbase.zookeeper.ZKUtil: 
> master:60000-0x12c537d84e10062 Retrieved 128 byte(s) of data from znode 
> /hbase/unassigned/ffaa7999e909dbd6544688cc8ab303bd and set watcher; 
> region=usertable,user1951957302,1290501969
> 2010-11-23 00:46:34,531 DEBUG 
> org.apache.hadoop.hbase.master.AssignmentManager: Handling 
> transition=RS_ZK_REGION_CLOSED, 
> server=haus01.sf.cloudera.com,12020,1290501789693, 
> region=ffaa7999e909dbd6544688cc8ab303bd
> 2010-11-23 00:46:34,531 WARN 
> org.apache.hadoop.hbase.master.AssignmentManager: Received CLOSED for region 
> ffaa7999e909dbd6544688cc8ab303bd from server 
> haus01.sf.cloudera.com,12020,1290501789693 but region was in  the state null 
> and not in expected PENDIN
> and the region just gets stuck closed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to