You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Adam Antal (Jira)" <ji...@apache.org> on 2021/09/17 09:29:00 UTC

[jira] [Commented] (YARN-10950) Code cleanup in QueueCapacities

    [ https://issues.apache.org/jira/browse/YARN-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416574#comment-17416574 ] 

Adam Antal commented on YARN-10950:
-----------------------------------

Let me work on this, if you don't mind [~snemeth].

> 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
>
> - Make fields final: capacitiesMap, readLock, writeLock
> - Remove explicit type arguments, e.g. new HashMap<String, Capacities>();
> - 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org