How can a YARN container get its own Application ID?

I tried getting the ApplicationConstants.AM_APP_ATTEMPT_ID_ENV similar to how the Distributed Shell example does for the AppMaster, but that variable doesn't seem to exist in the environment for the container. Does the App Master have to set it?

Thanks,
Brian

Reply via email to