You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Benson Qiu (JIRA)" <ji...@apache.org> on 2017/02/15 08:16:41 UTC

[jira] [Updated] (YARN-6164) Expose maximum-am-resource-percent in YarnClient

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

Benson Qiu updated YARN-6164:
-----------------------------
    Description: 
`yarn.scheduler.capacity.maximum-am-resource-percent` is exposed through the [Cluster Scheduler API|http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Scheduler_API], but not through [YarnClient|https://hadoop.apache.org/docs/current/api/org/apache/hadoop/yarn/client/api/YarnClient.html].

Since YarnClient and RM REST APIs depend on different ports (8032 vs 8088 by default), it would be nice to expose `maximum-am-resource-percent` in YarnClient as well. 

  was:
To my knowledge, there is no way to programmatically obtain `yarn.scheduler.capacity.maximum-am-resource-percent`.

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) 

        Summary: Expose maximum-am-resource-percent in YarnClient  (was: Expose maximum-am-resource-percent to Hadoop clients)

> Expose maximum-am-resource-percent in YarnClient
> ------------------------------------------------
>
>                 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
>         Attachments: YARN-6164.001.patch, YARN-6164.002.patch, YARN-6164.003.patch
>
>
> `yarn.scheduler.capacity.maximum-am-resource-percent` is exposed through the [Cluster Scheduler API|http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Scheduler_API], but not through [YarnClient|https://hadoop.apache.org/docs/current/api/org/apache/hadoop/yarn/client/api/YarnClient.html].
> Since YarnClient and RM REST APIs depend on different ports (8032 vs 8088 by default), it would be nice to expose `maximum-am-resource-percent` in YarnClient as well. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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