hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gurmukh singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5565) Capacity Scheduler not assigning value correctly.
Date Thu, 25 Aug 2016 23:58:21 GMT
gurmukh singh created YARN-5565:
-----------------------------------

             Summary: Capacity Scheduler not assigning value correctly.
                 Key: YARN-5565
                 URL: https://issues.apache.org/jira/browse/YARN-5565
             Project: Hadoop YARN
          Issue Type: Bug
          Components: capacity scheduler
    Affects Versions: 2.7.2
         Environment: Centos 6.7
            Reporter: gurmukh singh


Hi

I was testing and found out that value assigned in the scheduler configuration is not consistent
with what ResourceManager is assigning.

If i set the configuration as below and understand that it is java float, but the rounding
is not correct.

capacity-sheduler.xml
<property>
  <name>yarn.scheduler.capacity.q1.capacity</name>
  <value>7.142857142857143</value>
</property>

In Java:  System.err.println((7.142857142857143f)) ===> 7.142587 

But, instead Resource Manager is assigning is 7.1428566

Tested this on hadoop 2.7.2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message