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

Chen He commented on YARN-1180:
-------------------------------

To [~zjshen]
{quote}
 Why is minimum-user-limit-percent only integer setting? In fact, it seems that 
it is converted to a float to compute.

maxApplicationsPerUser = 
      (int)(maxApplications * (userLimit / 100.0f) * userLimitFactor);

BTW, while others are percentages, maximum-am-resource-percent seems to be not.

{quote}

This is a JIRA for updating documentation. It will be great to file a new JIRA 
for your question. Thanks! 

> Update capacity scheduler docs to include types on the configs
> --------------------------------------------------------------
>
>                 Key: YARN-1180
>                 URL: https://issues.apache.org/jira/browse/YARN-1180
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 3.0.0, 2.1.0-beta, 0.23.9
>            Reporter: Thomas Graves
>            Assignee: Chen He
>              Labels: documentation, newbie
>         Attachments: Yarn-1180.patch
>
>
> The capacity scheduler docs 
> (http://hadoop.apache.org/docs/r2.1.0-beta/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html)
>  don't include types for all the configs. For instance the 
> minimum-user-limit-percent doesn't say its an Int.  It also the only setting 
> for the Resource Allocation configs that is an Int rather then a float.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to