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

Zhijie Shen commented on YARN-1180:
-----------------------------------

Why is minimum-user-limit-percent only integer setting? In fact, it seems that 
it is converted to a float to compute.
{code}
maxApplicationsPerUser = 
      (int)(maxApplications * (userLimit / 100.0f) * userLimitFactor);
{code}

BTW, while others are percentages, maximum-am-resource-percent seems to be not.
                
> 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
>              Labels: documentation, newbie
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to