hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3638) If a FS bootstrap, need to also ensure ZK is cleaned
Date Tue, 06 Jan 2015 19:17:34 GMT

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

stack commented on HBASE-3638:

It is. This is a constant irritant, a result of our keeping state in two places.  Let me mark
as beginner.

> If a FS bootstrap, need to also ensure ZK is cleaned
> ----------------------------------------------------
>                 Key: HBASE-3638
>                 URL: https://issues.apache.org/jira/browse/HBASE-3638
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Minor
>              Labels: delete
> In a test environment where a cycle of start, operation, kill hbase (repeat), noticed
that we were doing a bootstrap on startup but then we were picking up the previous cycles
zk state.  It made for a mess in the test.
> Last thing seen on previous cycle was:
> {code}
> 2011-03-11 06:33:36,708 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Handling
transition=RS_ZK_REGION_OPENING, server=X.X.X.60020,1299853933073, region=1028785192/.META.
> {code}
> Then, in the messed up cycle I saw:
> {code}
> 2011-03-11 06:42:48,530 INFO org.apache.hadoop.hbase.master.MasterFileSystem: BOOTSTRAP:
creating ROOT and first META regions
> .....
> {code}
> Then after setting watcher on .META., we get a 
> {code}
> 2011-03-11 06:42:58,301 INFO org.apache.hadoop.hbase.master.AssignmentManager: Processing
region .META.,,1.1028785192 in state RS_ZK_REGION_OPENED
> 2011-03-11 06:42:58,302 WARN org.apache.hadoop.hbase.master.AssignmentManager: Region
in transition 1028785192 references a server no longer up X.X.X; letting RIT timeout so will
be assigned elsewhere
> {code}
> We're all confused.
> Should at least clear our zk if a bootstrap happened.

This message was sent by Atlassian JIRA

View raw message