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

Duo Zhang commented on HBASE-24924:
-----------------------------------

{quote}
when startup, How do master avoid submit InitMetaProcedure if meta is already 
there
{quote}

In normal start up, the meta znode should be there? If it is not there, then 
use HBCK2 to generate the znode and put it back.

> stuck InitMetaProcedure in finishActiveMasterInitialization
> -----------------------------------------------------------
>
>                 Key: HBASE-24924
>                 URL: https://issues.apache.org/jira/browse/HBASE-24924
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 3.0.0-alpha-1, 2.2.3
>            Reporter: Bo Cui
>            Assignee: Bo Cui
>            Priority: Major
>         Attachments: image-2020-08-21-09-12-33-894.png, masterLog.gif
>
>
> if procWAL has InitMetaProcedure, and InitMetaProcedure state is finished, 
> and meta znode does not exist, finishActiveMasterInitialization will stuck
> because during startup,If InitMetaProcedure exists, InitMetaProcedure 
> recreates a new CountDownLatch.
> master jstack
>  !image-2020-08-21-09-12-33-894.png!
> master log 
>  !masterLog.gif!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to