public class SimpleMasterProcedureManager extends org.apache.hadoop.hbase.procedure.MasterProcedureManager
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.procedure.ProcedureCoordinator |
coordinator |
private boolean |
done |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.master.MasterServices |
master |
static String |
SIMPLE_DATA |
static String |
SIMPLE_SIGNATURE |
Constructor and Description |
---|
SimpleMasterProcedureManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkPermissions(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ProcedureDescription desc,
org.apache.hadoop.hbase.security.access.AccessChecker accessChecker,
org.apache.hadoop.hbase.security.User user) |
byte[] |
execProcedureWithRet(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ProcedureDescription desc) |
String |
getProcedureSignature() |
void |
initialize(org.apache.hadoop.hbase.master.MasterServices master,
org.apache.hadoop.hbase.master.MetricsMaster metricsMaster) |
boolean |
isProcedureDone(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ProcedureDescription desc) |
boolean |
isStopped() |
void |
stop(String why) |
public static final String SIMPLE_SIGNATURE
public static final String SIMPLE_DATA
private static final org.slf4j.Logger LOG
private org.apache.hadoop.hbase.master.MasterServices master
private org.apache.hadoop.hbase.procedure.ProcedureCoordinator coordinator
private boolean done
public SimpleMasterProcedureManager()
public boolean isStopped()
public void initialize(org.apache.hadoop.hbase.master.MasterServices master, org.apache.hadoop.hbase.master.MetricsMaster metricsMaster) throws org.apache.zookeeper.KeeperException, IOException, UnsupportedOperationException
initialize
in class org.apache.hadoop.hbase.procedure.MasterProcedureManager
org.apache.zookeeper.KeeperException
IOException
UnsupportedOperationException
public String getProcedureSignature()
getProcedureSignature
in class org.apache.hadoop.hbase.procedure.ProcedureManager
public byte[] execProcedureWithRet(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ProcedureDescription desc) throws IOException
execProcedureWithRet
in class org.apache.hadoop.hbase.procedure.MasterProcedureManager
IOException
public void checkPermissions(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ProcedureDescription desc, org.apache.hadoop.hbase.security.access.AccessChecker accessChecker, org.apache.hadoop.hbase.security.User user) throws IOException
checkPermissions
in class org.apache.hadoop.hbase.procedure.MasterProcedureManager
IOException
public boolean isProcedureDone(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ProcedureDescription desc) throws IOException
isProcedureDone
in class org.apache.hadoop.hbase.procedure.MasterProcedureManager
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.