Class LoadBalancerStateStore
java.lang.Object
org.apache.hadoop.hbase.master.MasterStateStore
org.apache.hadoop.hbase.master.BooleanStateStore
org.apache.hadoop.hbase.master.balancer.LoadBalancerStateStore
Store the balancer state.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
parseFrom
(byte[] pbBytes) protected byte[]
toByteArray
(boolean isBalancerOn) Methods inherited from class org.apache.hadoop.hbase.master.BooleanStateStore
get, set
Methods inherited from class org.apache.hadoop.hbase.master.MasterStateStore
getState, setState
-
Field Details
-
STATE_NAME
- See Also:
-
-
Constructor Details
-
LoadBalancerStateStore
public LoadBalancerStateStore(MasterRegion masterRegion, ZKWatcher watcher) throws IOException, org.apache.zookeeper.KeeperException, DeserializationException - Throws:
IOException
org.apache.zookeeper.KeeperException
DeserializationException
-
-
Method Details
-
toByteArray
- Specified by:
toByteArray
in classBooleanStateStore
-
parseFrom
- Specified by:
parseFrom
in classBooleanStateStore
- Throws:
DeserializationException
-