@ConfigurationProperties
public class SpringYarnEnvProperties
extends java.lang.Object
ConfigurationProperties
used in
SpringYarnClientProperties
, SpringYarnAppmasterProperties
and
SpringYarnProperties
to resolve supported environment variables.Constructor and Description |
---|
SpringYarnEnvProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContainerId()
Gets the value of environment variable
SHDP_CONTAINERID . |
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 . |
java.lang.String |
getTrackUrl()
Gets the value of environment variable
SHDP_AMSERVICE_TRACKURL . |
void |
setShdpAmserviceTrackurl(java.lang.String trackUrl)
Sets the value from an environment variable
SHDP_AMSERVICE_TRACKURL . |
void |
setShdpContainerid(java.lang.String containerId)
Sets the value from an environment variable
SHDP_CONTAINERID . |
void |
setShdpHdFs(java.lang.String fs)
Sets the value from an environment variable
SHDP_HD_FS . |
void |
setShdpHdRm(java.lang.String rm)
Sets the value from an environment variable
SHDP_HD_RM . |
void |
setShdpHdScheduler(java.lang.String scheduler)
Sets the value from an environment variable
SHDP_HD_SCHEDULER . |
public java.lang.String getFs()
SHDP_HD_FS
.SHDP_HD_FS
or null
public void setShdpHdFs(java.lang.String fs)
SHDP_HD_FS
.fs
- file system URLpublic java.lang.String getRm()
SHDP_HD_RM
.SHDP_HD_RM
or null
public void setShdpHdRm(java.lang.String rm)
SHDP_HD_RM
.rm
- resource manager addresspublic java.lang.String getScheduler()
SHDP_HD_SCHEDULER
.SHDP_HD_SCHEDULER
or null
public void setShdpHdScheduler(java.lang.String scheduler)
SHDP_HD_SCHEDULER
.scheduler
- scheduler addresspublic java.lang.String getTrackUrl()
SHDP_AMSERVICE_TRACKURL
.SHDP_AMSERVICE_TRACKURL
or null
public void setShdpAmserviceTrackurl(java.lang.String trackUrl)
SHDP_AMSERVICE_TRACKURL
.trackUrl
- track urlpublic java.lang.String getContainerId()
SHDP_CONTAINERID
.SHDP_CONTAINERID
or null
public void setShdpContainerid(java.lang.String containerId)
SHDP_CONTAINERID
.containerId
- container id