Zhijie Shen commented on YARN-3700:

[~xgong], thanks for the patch. Some comments bellow:

1. Actually not webapp will be affected by this config. REST API and 
application history protocol will be too. Can we rename it to 
"yarn.timeline-service.generic-application-history.max-applications" ?
1450      /** Defines how many applications can be loaded into timeline service 
web ui.*/
1451      public static final String TIMELINE_SERVICE_WEBAPP_MAX_APPS =
1452          TIMELINE_SERVICE_PREFIX + "webapp.max-applications";

2. In TestApplicationHistoryClientService, would you please validate if the 
applications are retrieved in descending order according to submission time (if 
I remember it correctly).

3. I'm thing if it is good support override the default config by passing the 
query param in url, such as "?max-applications=100". Thoughts?

> ATS Web Performance issue at load time when large number of jobs
> ----------------------------------------------------------------
>                 Key: YARN-3700
>                 URL: https://issues.apache.org/jira/browse/YARN-3700
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager, webapp, yarn
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-3700.1.patch
> Currently, we will load all the apps when we try to load the yarn 
> timelineservice web page. If we have large number of jobs, it will be very 
> slow.

This message was sent by Atlassian JIRA

Reply via email to