[jira] [Updated] (YARN-10950) Code cleanup in QueueCapacities
[ https://issues.apache.org/jira/browse/YARN-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shilun Fan updated YARN-10950: -- Component/s: capacity scheduler Target Version/s: 3.4.0 Affects Version/s: 3.4.0 > Code cleanup in QueueCapacities > --- > > Key: YARN-10950 > URL: https://issues.apache.org/jira/browse/YARN-10950 > Project: Hadoop YARN > Issue Type: Sub-task > Components: capacity scheduler >Affects Versions: 3.4.0 >Reporter: Szilard Nemeth >Assignee: Adam Antal >Priority: Minor > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 40m > Remaining Estimate: 0h > > - Make fields final: capacitiesMap, readLock, writeLock > - Remove explicit type arguments, e.g. new HashMap(); > - Remove abbrevations and avoid string concatenation in > QueueCapacities.Capacities#toString > - Remove unnecessary comments, e.g. "/* Used Capacity Getter and Setter */" & > "/* Absolute Used Capacity Getter and Setter */" > - And probably many more.. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10950) Code cleanup in QueueCapacities
[ https://issues.apache.org/jira/browse/YARN-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szilard Nemeth updated YARN-10950: -- Fix Version/s: 3.4.0 > Code cleanup in QueueCapacities > --- > > Key: YARN-10950 > URL: https://issues.apache.org/jira/browse/YARN-10950 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Szilard Nemeth >Assignee: Adam Antal >Priority: Minor > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 40m > Remaining Estimate: 0h > > - Make fields final: capacitiesMap, readLock, writeLock > - Remove explicit type arguments, e.g. new HashMap(); > - Remove abbrevations and avoid string concatenation in > QueueCapacities.Capacities#toString > - Remove unnecessary comments, e.g. "/* Used Capacity Getter and Setter */" & > "/* Absolute Used Capacity Getter and Setter */" > - And probably many more.. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10950) Code cleanup in QueueCapacities
[ https://issues.apache.org/jira/browse/YARN-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated YARN-10950: -- Labels: pull-request-available (was: ) > Code cleanup in QueueCapacities > --- > > Key: YARN-10950 > URL: https://issues.apache.org/jira/browse/YARN-10950 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Szilard Nemeth >Assignee: Adam Antal >Priority: Minor > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > - Make fields final: capacitiesMap, readLock, writeLock > - Remove explicit type arguments, e.g. new HashMap(); > - Remove abbrevations and avoid string concatenation in > QueueCapacities.Capacities#toString > - Remove unnecessary comments, e.g. "/* Used Capacity Getter and Setter */" & > "/* Absolute Used Capacity Getter and Setter */" > - And probably many more.. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org