org.apache.hadoop.yarn.util
Class Apps

java.lang.Object
  extended by org.apache.hadoop.yarn.util.Apps

public class Apps
extends Object

Yarn application related utilities


Field Summary
static String APP
           
static String ID
           
 
Constructor Summary
Apps()
           
 
Method Summary
static void addToEnvironment(Map<String,String> environment, String variable, String value)
           
static void setEnvFromInputString(Map<String,String> env, String envString)
           
static void shouldHaveNext(String prefix, String s, Iterator<String> it)
           
static void throwParseException(String name, String s)
           
static org.apache.hadoop.yarn.api.records.ApplicationId toAppID(String aid)
           
static org.apache.hadoop.yarn.api.records.ApplicationId toAppID(String prefix, String s, Iterator<String> it)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP

public static final String APP
See Also:
Constant Field Values

ID

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

Apps

public Apps()
Method Detail

toAppID

public static org.apache.hadoop.yarn.api.records.ApplicationId toAppID(String aid)

toAppID

public static org.apache.hadoop.yarn.api.records.ApplicationId toAppID(String prefix,
                                                                       String s,
                                                                       Iterator<String> it)

shouldHaveNext

public static void shouldHaveNext(String prefix,
                                  String s,
                                  Iterator<String> it)

throwParseException

public static void throwParseException(String name,
                                       String s)

setEnvFromInputString

public static void setEnvFromInputString(Map<String,String> env,
                                         String envString)

addToEnvironment

public static void addToEnvironment(Map<String,String> environment,
                                    String variable,
                                    String value)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.