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

Akhil PB commented on YARN-8964:
--------------------------------

[~sunilg] [~rohithsharma] 
v2 patch incorporates cluster-id changes and ATSv2 log URL changes.
One thing I noted that {{yarn.log.server.web-service.url}} returns 
{{http://<ats-host>:<port>/ws/v1/applicationhistory}} for old clusters. But 
this might return {{http://<ats-host>:<port>/ws/v1/applicationlogs}} for new 
clusters which has ATSv2 log servlet changes. Please note the difference in 
namespaces between ATSv1.5 and ATSv2. Because of this namespace difference, I 
think dynamically fetching and setting the log-url in URL makes difficult.
Please share your thoughts.

> UI2 should use clusters/{cluster name} for all ATSv2 REST APIs
> --------------------------------------------------------------
>
>                 Key: YARN-8964
>                 URL: https://issues.apache.org/jira/browse/YARN-8964
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Rohith Sharma K S
>            Assignee: Akhil PB
>            Priority: Major
>         Attachments: YARN-8964.001.patch, YARN-8964.002.patch
>
>
> UI2 makes a REST call to TimelineReader without cluster name. It is advised 
> to make a REST call with clusters/{cluster name} so that remote 
> TimelineReader daemon could serve for different clusters.
> *Example*:
> *Current*: /ws/v2/timeline/flows/
> *Change*: /ws/v2/timeline/*clusters/\{cluster name\}*/flows/
> *yarn.resourcemanager.cluster-id *is configured with cluster. So, this config 
> could be used to get cluster-id
> cc:/ [~sunilg] [~akhilpb]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to