Spring for Apache Hadoop

org.springframework.yarn.boot.properties
Class SpringYarnEnvProperties

java.lang.Object
  extended by org.springframework.yarn.boot.properties.SpringYarnEnvProperties

@ConfigurationProperties
public class SpringYarnEnvProperties
extends java.lang.Object

Spring Boot ConfigurationProperties used in SpringYarnClientProperties, SpringYarnAppmasterProperties and SpringYarnProperties to resolve supported environment variables.

Author:
Janne Valkealahti

Constructor Summary
SpringYarnEnvProperties()
           
 
Method Summary
 java.lang.String getFs()
          Gets the value of environment variable SHDP_HD_FS.
 java.lang.String getRm()
          Gets the value of environment variable SHDP_HD_RM.
 java.lang.String getScheduler()
          Gets the value of environment variable SHDP_HD_SCHEDULER.
 void setSHDP_HD_FS(java.lang.String fs)
          Sets the value from an environment variable SHDP_HD_FS.
 void setSHDP_HD_RM(java.lang.String rm)
          Sets the value from an environment variable SHDP_HD_RM.
 void setSHDP_HD_SCHEDULER(java.lang.String scheduler)
          Sets the value from an environment variable SHDP_HD_SCHEDULER.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringYarnEnvProperties

public SpringYarnEnvProperties()
Method Detail

getFs

public java.lang.String getFs()
Gets the value of environment variable SHDP_HD_FS.

Returns:
the value of SHDP_HD_FS or null

setSHDP_HD_FS

public void setSHDP_HD_FS(java.lang.String fs)
Sets the value from an environment variable SHDP_HD_FS.


getRm

public java.lang.String getRm()
Gets the value of environment variable SHDP_HD_RM.

Returns:
the value of SHDP_HD_RM or null

setSHDP_HD_RM

public void setSHDP_HD_RM(java.lang.String rm)
Sets the value from an environment variable SHDP_HD_RM.


getScheduler

public java.lang.String getScheduler()
Gets the value of environment variable SHDP_HD_SCHEDULER.

Returns:
the value of SHDP_HD_SCHEDULER or null

setSHDP_HD_SCHEDULER

public void setSHDP_HD_SCHEDULER(java.lang.String scheduler)
Sets the value from an environment variable SHDP_HD_SCHEDULER.


Spring for Apache Hadoop