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

Zhijie Shen commented on YARN-1884:
-----------------------------------

[~xgong], sorry for raising the issue late, but I forgot a compatibility issue. 
It's possible that the timeline server is upgraded to the new version, but the 
stored data is old, such that nodeHttpAddress info is not available. In this 
case, CLI will show "null", which is not user-friendly info. Can we do 
something similar to
{code}
      if (usageReport != null) {
        //completed app report in the timeline server doesn't have usage report
        appReportStr.print(usageReport.getMemorySeconds() + " MB-seconds, ");
        appReportStr.println(usageReport.getVcoreSeconds() + " vcore-seconds");
      } else {
        appReportStr.println("N/A");
      }
{code}

> ContainerReport should have nodeHttpAddress
> -------------------------------------------
>
>                 Key: YARN-1884
>                 URL: https://issues.apache.org/jira/browse/YARN-1884
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Xuan Gong
>         Attachments: YARN-1884.1.patch, YARN-1884.2.patch, YARN-1884.3.patch
>
>
> In web UI, we're going to show the node, which used to be to link to the NM 
> web page. However, on AHS web UI, and RM web UI after YARN-1809, the node 
> field has to be set to nodeID where the container is allocated. We need to 
> add nodeHttpAddress to the containerReport to link users to NM web page



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

Reply via email to