@InterfaceAudience.Private public class SplitOrMergeTracker extends Object
Constructor and Description |
---|
SplitOrMergeTracker(ZKWatcher watcher,
org.apache.hadoop.conf.Configuration conf,
Abortable abortable) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSplitOrMergeEnabled(MasterSwitchType switchType) |
void |
setSplitOrMergeEnabled(boolean enabled,
MasterSwitchType switchType) |
void |
start() |
public void start()
public boolean isSplitOrMergeEnabled(MasterSwitchType switchType)
public void setSplitOrMergeEnabled(boolean enabled, MasterSwitchType switchType) throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperException
Copyright © 2007–2019 Cloudera. All rights reserved.