public interface ZooKeeperRunner extends ImmutableClassesGiraphConfigurable
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Does necessary cleanup after zookeeper job is complete.
|
int |
start(String zkDir,
ZookeeperConfig config)
Starts zookeeper service in specified working directory with
specified config file.
|
void |
stop()
Stops zookeeper.
|
getConf
setConf
int start(String zkDir, ZookeeperConfig config) throws IOException
zkDir
- working directoryconfig
- zookeeper configurationIOException
void stop()
void cleanup()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.