public class RegistryCli extends Configured implements Tool, Closeable
| Modifier and Type | Field and Description |
|---|---|
protected PrintStream |
syserr |
protected PrintStream |
sysout |
| Constructor and Description |
|---|
RegistryCli(PrintStream sysout,
PrintStream syserr) |
RegistryCli(RegistryOperations reg,
Configuration conf,
PrintStream sysout,
PrintStream syserr) |
| Modifier and Type | Method and Description |
|---|---|
int |
bind(String[] args) |
void |
close()
Close the object by stopping the registry.
|
int |
ls(String[] args) |
static void |
main(String[] args) |
int |
mknode(String[] args) |
int |
resolve(String[] args) |
int |
rm(String[] args) |
int |
run(String[] args) |
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfprotected final PrintStream sysout
protected final PrintStream syserr
public RegistryCli(PrintStream sysout, PrintStream syserr)
public RegistryCli(RegistryOperations reg, Configuration conf, PrintStream sysout, PrintStream syserr)
public void close()
throws IOException
Important:
After this call is made, no operations may be made of this object, or of a YARN registry instance used when constructing this object.
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic int ls(String[] args)
public int resolve(String[] args)
public int bind(String[] args)
public int mknode(String[] args)
public int rm(String[] args)
Copyright © 2018 CERN. All Rights Reserved.