HBASE-21391 RefreshPeerProcedure should also wait master initialized before executing

This commit is contained in:
Duo Zhang 2018-10-26 14:31:49 +08:00 committed by zhangduo
parent 385e39810f
commit 0ab7c3a189
1 changed files with 5 additions and 0 deletions

View File

@ -205,6 +205,11 @@ public class RefreshPeerProcedure extends Procedure<MasterProcedureEnv>
return false;
}
@Override
protected boolean waitInitialized(MasterProcedureEnv env) {
return env.waitInitialized(this);
}
@Override
protected void serializeStateData(ProcedureStateSerializer serializer) throws IOException {
serializer.serialize(