[
https://issues.apache.org/jira/browse/MAPREDUCE-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145833#comment-13145833
]
[email protected] commented on MAPREDUCE-3342:
----------------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2756/
-----------------------------------------------------------
Review request for Tom Graves, Robert Evans, Ravi Prakash, Mark Holderbaugh,
and Anupam Seth.
Summary
-------
The job history server doesn't show the queue the jobwas run in. It is inserted
into the job history file.
It seems like this should be part of the Job interface.
JobImpl current gets it from the job config to insert into the history.
------------------
Some more background. jobhistory/job jobs display a single CompletedJob
instance which is populated by parsing the jobhistory file contents.
jobhistory/app jobs display all jobs in the history via PartialJob instances
which are populated by parsing the jobhistory file names only, not by looking
at the contents.
By changing the jobhistory file naming scheme, I have disabled rigid parsing of
job history file names and try to get as much information from them as we can.
This addresses bug MAPREDUCE-3342.
http://issues.apache.org/jira/browse/MAPREDUCE-3342
Diffs
-----
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java
07f8ecc
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/job/Job.java
fdba78d
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/job/impl/JobImpl.java
ea8bbdf
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/MockJobs.java
7a6e1f0
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/TestRuntimeEstimators.java
5669070
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/FileNameIndexUtils.java
f22d51c
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobIndexInfo.java
9f83b70
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/v2/jobhistory/TestFileNameIndexUtils.java
9de3dcd
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/CompletedJob.java
71680d5
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java
fc808e5
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/webapp/HsJobBlock.java
c6e3b64
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/webapp/HsJobsBlock.java
6ef7bf0
Diff: https://reviews.apache.org/r/2756/diff
Testing
-------
In addition to unit tests. I have manually tested coexistence of old and new
job history files, both display the queue name on the jobhistory/job page
correctly. On the jobhistory/app page old job history file queue names will be
displayed as null and new history file queue names will be displayed correctly.
Thanks,
Jonathan
> job history doesn't show job queue
> ----------------------------------
>
> Key: MAPREDUCE-3342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3342
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Thomas Graves
> Assignee: Jonathan Eagles
> Priority: Critical
> Attachments: MAPREDUCE-3342.patch
>
>
> The job history server doesn't show the queue the jobwas run in. It is
> inserted into the job history file.
> It seems like this should be part of the Job interface.
> JobImpl current gets it from the job config to insert into the history.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira