[
https://issues.apache.org/jira/browse/YARN-6598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008841#comment-16008841
]
Jonathan Eagles commented on YARN-6598:
---------------------------------------
Good catch [~jlowe]. We should exhaustively check the Enum.valueOf to ensure
backwards compatibility in those cases as well. I think think we have been good
about maintaining those without removing them, but since this code relies on
parsing them, we should check.
> History server getApplicationReport NPE when fetching report for pre-2.8 job
> ----------------------------------------------------------------------------
>
> Key: YARN-6598
> URL: https://issues.apache.org/jira/browse/YARN-6598
> Project: Hadoop YARN
> Issue Type: Bug
> Components: timelineserver
> Affects Versions: 2.8.0
> Reporter: Jason Lowe
> Assignee: Jason Lowe
> Priority: Blocker
> Attachments: YARN-6598.001.patch
>
>
> ApplicationHistoryManagerOnTimelineStore#convertToApplicationReport can NPE
> for a job that was run prior to the cluster upgrading to 2.8. It blindly
> assumes preemption metrics are present when CPU metrics are present, and when
> they are not it triggers the NPE.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]