public class ZooKeeperNodeCreator extends Object implements org.apache.hadoop.util.Tool, org.apache.zookeeper.Watcher
Constructor and Description |
---|
ZooKeeperNodeCreator() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
static void |
main(String[] args)
Entry point from shell script
|
void |
process(org.apache.zookeeper.WatchedEvent event) |
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
public void process(org.apache.zookeeper.WatchedEvent event)
process
in interface org.apache.zookeeper.Watcher
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.