hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szilard Nemeth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9361) Write testcase for FSLeafQueue that explicitly checks if non-zero values are not overwritten for custom resources
Date Thu, 07 Mar 2019 16:00:00 GMT
Szilard Nemeth created YARN-9361:
------------------------------------

             Summary: Write testcase for FSLeafQueue that explicitly checks if non-zero values
are not overwritten for custom resources
                 Key: YARN-9361
                 URL: https://issues.apache.org/jira/browse/YARN-9361
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Szilard Nemeth
            Assignee: Szilard Nemeth


This is a follow-up for YARN-9323, covering required changes as discussed with [~templedf]
earlier.
After YARN-9323, org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSLeafQueue#computeMaxAMResource
gets the QueueMetricsForCustomResources object from scheduler.getRootQueueMetrics().
Instead, we should use a "fill-in" method in QueueMetrics that receives a Resource and fills
in custom resource values if they are non-zero.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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