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] [Updated] (YARN-6598) History server getApplicationReport NPE when fetching report for pre-2.8 job
Date Fri, 12 May 2017 21:40:04 GMT

     [ https://issues.apache.org/jira/browse/YARN-6598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Lowe updated YARN-6598:
-----------------------------
    Attachment: YARN-6598.001.patch

Patch that checks for preemption metrics entity presence and defaults to zero values if the
entities are missing.

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


Mime
View raw message