hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1180) Update capacity scheduler docs to include types on the configs
Date Thu, 19 Dec 2013 17:26:08 GMT

    [ 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]
 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.


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

> 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

View raw message