YARN-475. Remove a unused constant in the public API - ApplicationConstants.AM_APP_ATTEMPT_ID_ENV. Contributed by Hitesh Shah.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1463033 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2fd56e33b4
commit
aa634e0814
@ -103,6 +103,9 @@ Release 2.0.5-beta - UNRELEASED
|
|||||||
YARN-450. Define value for * in the scheduling protocol (Zhijie Shen via
|
YARN-450. Define value for * in the scheduling protocol (Zhijie Shen via
|
||||||
bikas)
|
bikas)
|
||||||
|
|
||||||
|
YARN-475. Remove a unused constant in the public API -
|
||||||
|
ApplicationConstants.AM_APP_ATTEMPT_ID_ENV. (Hitesh Shah via vinodkv)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
@ -42,12 +42,6 @@ public interface ApplicationConstants {
|
|||||||
* only
|
* only
|
||||||
*/
|
*/
|
||||||
public static final String AM_CONTAINER_ID_ENV = "AM_CONTAINER_ID";
|
public static final String AM_CONTAINER_ID_ENV = "AM_CONTAINER_ID";
|
||||||
|
|
||||||
/**
|
|
||||||
* The environment variable for APPLICATION_ATTEMPT_ID. Set in AppMaster
|
|
||||||
* environment only
|
|
||||||
*/
|
|
||||||
public static final String AM_APP_ATTEMPT_ID_ENV = "AM_APP_ATTEMPT_ID";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The environment variable for the NM_HOST. Set in the AppMaster environment
|
* The environment variable for the NM_HOST. Set in the AppMaster environment
|
||||||
|
@ -57,10 +57,11 @@
|
|||||||
* unmanagedAM is an AM that is not launched and managed by the RM. The client
|
* unmanagedAM is an AM that is not launched and managed by the RM. The client
|
||||||
* creates a new application on the RM and negotiates a new attempt id. Then it
|
* creates a new application on the RM and negotiates a new attempt id. Then it
|
||||||
* waits for the RM app state to reach be YarnApplicationState.ACCEPTED after
|
* waits for the RM app state to reach be YarnApplicationState.ACCEPTED after
|
||||||
* which it spawns the AM in another process and passes it the attempt id via
|
* which it spawns the AM in another process and passes it the container id via
|
||||||
* env variable ApplicationConstants.AM_APP_ATTEMPT_ID_ENV. The AM can be in any
|
* env variable ApplicationConstants.AM_CONTAINER_ID_ENV. The AM can be in any
|
||||||
* language. The AM can register with the RM using the attempt id and proceed as
|
* language. The AM can register with the RM using the attempt id obtained
|
||||||
* normal. The client redirects app stdout and stderr to its own stdout and
|
* from the container id and proceed as normal.
|
||||||
|
* The client redirects app stdout and stderr to its own stdout and
|
||||||
* stderr and waits for the AM process to exit. Then it waits for the RM to
|
* stderr and waits for the AM process to exit. Then it waits for the RM to
|
||||||
* report app completion.
|
* report app completion.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user