[ https://issues.apache.org/jira/browse/YARN-9020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tianjuan updated YARN-9020: --------------------------- Description: bug at setAbsoluteCapacity private void deriveCapacityFromAbsoluteConfigurations(String label, Resource clusterResource, ResourceCalculator rc, CSQueue childQueue) { // 3. Update absolute capacity as a float based on parent's minResource and // cluster resource. childQueue.getQueueCapacities().setAbsoluteCapacity(label, (float) childQueue.getQueueCapacities().{color:#d04437}getCapacity(){color} / getQueueCapacities().getAbsoluteCapacity(label)); {color:#d04437}should be{color} childQueue.getQueueCapacities().setAbsoluteCapacity(label, (float) childQueue.getQueueCapacities().{color:#f6c342}getCapacity(label){color} / getQueueCapacities().getAbsoluteCapacity(label)); was: bug at setAbsoluteCapacity private void deriveCapacityFromAbsoluteConfigurations(String label, Resource clusterResource, ResourceCalculator rc, CSQueue childQueue) { // 3. Update absolute capacity as a float based on parent's minResource and // cluster resource. childQueue.getQueueCapacities().setAbsoluteCapacity(label, (float) childQueue.getQueueCapacities().getCapacity() / getQueueCapacities().getAbsoluteCapacity(label)); should be childQueue.getQueueCapacities().setAbsoluteCapacity(label, (float) childQueue.getQueueCapacities().{color:#f6c342}getCapacity(label){color} / getQueueCapacities().getAbsoluteCapacity(label)); > bug when setAbsoluteCapacity(String label, float value) > ------------------------------------------------------- > > Key: YARN-9020 > URL: https://issues.apache.org/jira/browse/YARN-9020 > Project: Hadoop YARN > Issue Type: Bug > Reporter: tianjuan > Priority: Major > > bug at setAbsoluteCapacity > private void deriveCapacityFromAbsoluteConfigurations(String label, > Resource clusterResource, ResourceCalculator rc, CSQueue childQueue) { > // 3. Update absolute capacity as a float based on parent's minResource and > // cluster resource. > childQueue.getQueueCapacities().setAbsoluteCapacity(label, > (float) childQueue.getQueueCapacities().{color:#d04437}getCapacity(){color} > / getQueueCapacities().getAbsoluteCapacity(label)); > > {color:#d04437}should be{color} > childQueue.getQueueCapacities().setAbsoluteCapacity(label, > (float) > childQueue.getQueueCapacities().{color:#f6c342}getCapacity(label){color} > / getQueueCapacities().getAbsoluteCapacity(label)); -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org