Class RegistryCli

java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.registry.cli.RegistryCli
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class RegistryCli extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool, Closeable
Command line for registry operations.
  • Field Details

  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • close

      public void close() throws IOException
      Close the object by stopping the registry.

      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.

      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • run

      public int run(String[] args) throws Exception
      Specified by:
      run in interface org.apache.hadoop.util.Tool
      Throws:
      Exception
    • ls

      public int ls(String[] args)
    • resolve

      public int resolve(String[] args)
    • bind

      public int bind(String[] args)
    • mknode

      public int mknode(String[] args)
    • rm

      public int rm(String[] args)