Sandy Ryza created YARN-1228:
--------------------------------

             Summary: Don't allow other file than fair-scheduler.xml to be Fair 
Scheduler allocations file
                 Key: YARN-1228
                 URL: https://issues.apache.org/jira/browse/YARN-1228
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: scheduler
    Affects Versions: 2.1.1-beta
            Reporter: Sandy Ryza


Currently the Fair Scheduler is configured in two ways
* An allocations file that has a different format than the standard Hadoop 
configuration file, which makes it easier to specify hierarchical objects like 
queues and their properties. 
* With properties like yarn.scheduler.fair.max.assign that are specified in the 
standard Hadoop configuration format.

The standard and default way of configuring it is to use fair-scheduler.xml as 
the allocations file and to put the yarn.scheduler properties in yarn-site.xml.

It is also possible to specify a different file as the allocations file, and to 
place the yarn.scheduler properties in fair-scheduler.xml, which will be 
interpreted as in the standard Hadoop configuration format.  This flexibility 
is both confusing and unnecessary.  There's no need to keep around the second 
way.


--
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