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

Siddharth Ahuja reassigned YARN-10856:
--------------------------------------

    Assignee:     (was: Siddharth Ahuja)

> Prevent ATS v2 health check REST API call if the ATS service itself is 
> disabled.
> --------------------------------------------------------------------------------
>
>                 Key: YARN-10856
>                 URL: https://issues.apache.org/jira/browse/YARN-10856
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn-ui-v2
>    Affects Versions: 3.3.1
>            Reporter: Siddharth Ahuja
>            Priority: Major
>
> Currently, even if {{yarn.timeline-service.enabled}} is disabled, the UI2 
> code still goes ahead and performs timeline health check REST API calls, see 
> [1], [2] and [3].
> This is un-necessary and can cause slowness issues with RM UI2 page loading 
> if a firewall is dropping packets on the ATS v2 port (as it is not meant to 
> be available e.g. 8188/8190) in the background and the timeout is not yet hit.
> This ATSv2 health check REST API call is redundant and should be prevented if 
> the service itself is disabled.
> [1] 
> https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/adapters/timeline-health.js
> [2] 
> https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/application.js#L34
> [3] 
> https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-app/logs.js#L40



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to