[ https://issues.apache.org/jira/browse/YARN-6164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860357#comment-15860357 ]
Benson Qiu commented on YARN-6164: ---------------------------------- I built the latest version of Hadoop and it appears that [maxAMLimitPercentage|https://github.com/apache/hadoop/blob/f67237cbe7bc48a1b9088e990800b37529f1db2a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/QueueCapacitiesInfo.java#L52] has been added to the Cluster Scheduler API (/ws/v1/cluster/scheduler). I still don't believe this config is exposed through YarnClient or YarnCLI though. > Expose maximum-am-resource-percent to Hadoop clients > ---------------------------------------------------- > > Key: YARN-6164 > URL: https://issues.apache.org/jira/browse/YARN-6164 > Project: Hadoop YARN > Issue Type: Improvement > Affects Versions: 2.7.2 > Reporter: Benson Qiu > > To my knowledge, there is no way to programmatically obtain > `yarn.scheduler.capacity.maximum-applications`. > I've tried looking at > [YarnClient|https://hadoop.apache.org/docs/r2.7.2/api/index.html?org/apache/hadoop/yarn/client/api/YarnClient.html], > [ResourceManager REST > APIs|https://hadoop.apache.org/docs/r2.7.0/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html], > and > [YarnCommands|https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/YarnCommands.html] > (via bin/yarn.sh) -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org