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 9a151ec77b
commit 24f5f7afa8
1 changed files with 5 additions and 0 deletions

View File

@ -192,6 +192,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(