Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5565

Capacity Scheduler not assigning value correctly.

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            Zian Chen Zian Chen
            gurmukhd gurmukh singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: