hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2892) Improvements to AM apis
Date Tue, 30 Aug 2011 10:53:38 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093642#comment-13093642
] 

Vinod Kumar Vavilapalli commented on MAPREDUCE-2892:
----------------------------------------------------

bq. FinishApplicationMasterRequest doesn't need to send out 'tracking url'.
The tracking url for an App can change when it finishes. For e.g., in mapreduce, the tracking-url
for a job is the AM web UI while the AM is up, and will change to the history server URL on
AM finish.

bq. FinishApplicationMasterRequest shouldn't use 'string' as final state - it's got to be
an enum and we need to use that enum appropriately in the RM's state-machines.
This final state is framework specific (mapreduce specific for e.g.) and has no bearing on
the final state of the ApplicationMaster in the RM. This state is *only used* to be displayed
on the UI as the final state of the job specific to the framework and for nothing else. Sharad
an I discussed this and concluded that this can best be a binary blob or a string, an ENUM
isn't possible and doesn't make sense for enumerating all possible final states of all possible
frameworks.

We can just document both these fields with the above descriptions.

> Improvements to AM apis
> -----------------------
>
>                 Key: MAPREDUCE-2892
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2892
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: mr-am, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Arun C Murthy
>            Priority: Blocker
>             Fix For: 0.23.0
>
>
> Some api changes before we declare yarn apis as stable:
> # FinishApplicationMasterRequest doesn't need to send out 'tracking url'.
> # FinishApplicationMasterRequest shouldn't use 'string' as final state - it's got to
be an enum and we need to use that enum appropriately in the RM's state-machines.

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

        

Mime
View raw message