Benjamin Teke created YARN-11416:
------------------------------------

             Summary: FS2CS should use CapacitySchedulerConfiguration in 
FSQueueConverterBuilder 
                 Key: YARN-11416
                 URL: https://issues.apache.org/jira/browse/YARN-11416
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Benjamin Teke


org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.FSQueueConverter
 and it's builder stores the variable capacitySchedulerConfig as a simple 
Configuration object instead of CapacitySchedulerConfiguration. This is 
misleading, as capacitySchedulerConfig suggests that it is indeed a 
CapacitySchedulerConfiguration and it loses access to the convenience methods 
to check for various properties. Because of this every time a property getter 
is changed FS2CS should be checked if it reimplemented the same, otherwise 
there might be behaviour differences or even bugs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to