Details
Description
The Application master needs the application attempt id to register with the Applications Manager. To create an appAttemptId object, the appId object(needs cluster timestamp and app id) and failCount are needed.
Currently, all clients need to pass in the appId, cluster timestamp and fail count to the app master for the required objects to be constructed.
We could look at simplifying this by providing either placeholders that would have values replaced by the app master launcher or setting it into the environment ( although that requires a set of whitelisted env vars that can only be set by the yarn framework ).