hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6598) History server getApplicationReport NPE when fetching report for pre-2.8 job
Date Fri, 12 May 2017 20:18:04 GMT

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

Jason Lowe commented on YARN-6598:
----------------------------------

This was broken by YARN-4218 when the preemption metrics went in.  The metrics were assumed
to be there without checking if they're missing, and they will be missing for any job that
was run prior to the upgrade to 2.8.

> 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
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message