org.apache.hadoop.yarn.client.cli
Class ApplicationCLI

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.yarn.client.cli.YarnCLI
          extended by org.apache.hadoop.yarn.client.cli.ApplicationCLI
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class ApplicationCLI
extends YarnCLI


Field Summary
static String APPLICATION
           
static String APPLICATION_ATTEMPT
           
static String CONTAINER
           
 
Fields inherited from class org.apache.hadoop.yarn.client.cli.YarnCLI
client, HELP_CMD, KILL_CMD, LIST_CMD, MOVE_TO_QUEUE_CMD, STATUS_CMD, syserr, sysout
 
Constructor Summary
ApplicationCLI()
           
 
Method Summary
static void main(String[] args)
           
 int run(String[] args)
           
 
Methods inherited from class org.apache.hadoop.yarn.client.cli.YarnCLI
getClient, setClient, setSysErrPrintStream, setSysOutPrintStream, stop
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

APPLICATION

public static final String APPLICATION
See Also:
Constant Field Values

APPLICATION_ATTEMPT

public static final String APPLICATION_ATTEMPT
See Also:
Constant Field Values

CONTAINER

public static final String CONTAINER
See Also:
Constant Field Values
Constructor Detail

ApplicationCLI

public ApplicationCLI()
Method Detail

main

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

run

public int run(String[] args)
        throws Exception
Throws:
Exception


Copyright © 2014 Apache Software Foundation. All Rights Reserved.