You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Bo Cui (Jira)" <ji...@apache.org> on 2020/08/21 02:10:00 UTC

[jira] [Comment Edited] (HBASE-24924) stuck InitMetaProcedure in finishActiveMasterInitialization

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

Bo Cui edited comment on HBASE-24924 at 8/21/20, 2:09 AM:
----------------------------------------------------------

https://github.com/apache/hbase/blob/65d28da7c22382e040363c607840d5ab6e6b45da/hbase-protocol-shaded/src/main/protobuf/server/master/MasterProcedure.proto#L497

i think we should strengthen it.
{code:java}
message InitMetaStateData {
   required int32 latch = 1;
}
{code}


was (Author: bo cui):
[https://github.com/apache/hbase/blob/65d28da7c22382e040363c607840d5ab6e6b45da/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java#L1046]

i think we should strengthen it.
{code:java}
filter(p -> (p instanceof InitMetaProcedure && !p.isFinished()))
{code}

> stuck InitMetaProcedure in finishActiveMasterInitialization
> -----------------------------------------------------------
>
>                 Key: HBASE-24924
>                 URL: https://issues.apache.org/jira/browse/HBASE-24924
>             Project: HBase
>          Issue Type: Bug
>    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
> 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)