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

Zhijie Shen commented on YARN-3700:
-----------------------------------

Almost good to me, two nits:

1. getAllApplications -> getApplications?

2. Can we use -1 or 0 instead of Long.MAX_VALUE to indicate appsNum not 
provided?
{code}
appsNum == Long.MAX_VALUE ? this.maxLoadedApplications : appsNum
{code}

> 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, YARN-3700.2.1.patch, 
> YARN-3700.2.2.patch, YARN-3700.2.patch, YARN-3700.3.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
(v6.3.4#6332)

Reply via email to