Simplify parameter passing to Application Master from Client. SImplify approach 
to pass info such  appId, ClusterTimestamp and failcount required by App Master.
----------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MAPREDUCE-3055
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3055
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.23.0
            Reporter: Hitesh Shah
            Priority: Minor
             Fix For: 0.23.0


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 ). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to