[
https://issues.apache.org/jira/browse/MAPREDUCE-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105092#comment-13105092
]
Siddharth Seth commented on MAPREDUCE-3002:
-------------------------------------------
{{AppContext}} is meant for a single Application which may have multiple jobs.
This was used in MR JobHistory to be able to share the UI - all known jobs end
up belonging to a single dummy App.
Most of the {{AppContext}} interface isn't useful for JobHistory -
{{getAppAttemptId()}}, {{getStartTime()}} etc. Functionality required by
JobHistory is getAllJobsForListingPage(params?), getJob(JobId) and at some
point it may support Apps.
The current equivalent of getAllJobsForListingPage - returns a partial
implementation of the {{Job}} interface. This could be replaced by whatever it
is we require on the listing page. getJob ofc can continue to use the {{Job}}
interface.
> Delink History Context from AppContext
> --------------------------------------
>
> Key: MAPREDUCE-3002
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3002
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: jobhistoryserver, mrv2
> Affects Versions: 0.24.0
> Reporter: Robert Joseph Evans
>
> Currently the JobHistory Server has a HistoryContext that pretends to be a
> Map Reduce ApplicationMaster's AppContext so that UI pages can be shared
> between the two. This is not ideal because the UIs have already diverged a
> lot, and we have to translate the native History Server's data into
> implementations of Job to provide the same interface.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira