Sunil G commented on YARN-3751:

[~zjshen] and [~adhoot]


  public synchronized Resource getUsedResources() 

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

Reply via email to