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

Sunil G commented on YARN-3751:
-------------------------------

[~zjshen] and [~adhoot]

{code}
ApplicationResourceUsageReportPBImpl.java

  public synchronized Resource getUsedResources() 
{code}

This can return null also. Hence its better to have a check there in AppInfo.
Sharing a patch for same. 

> TestAHSWebServices fails after YARN-3467
> ----------------------------------------
>
>                 Key: YARN-3751
>                 URL: https://issues.apache.org/jira/browse/YARN-3751
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>
> YARN-3467 changed AppInfo and assumed that used resource is not null. It's 
> not true as this information is not published to timeline server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to