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 "Giovanni Matteo Fumarola (JIRA)" <ji...@apache.org> on 2018/10/15 23:09:00 UTC
[jira] [Commented] (YARN-8878) Remove StringBuffer from
ManagedParentQueue.java
[ https://issues.apache.org/jira/browse/YARN-8878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650946#comment-16650946 ]
Giovanni Matteo Fumarola commented on YARN-8878:
------------------------------------------------
+1 on [^YARN-8878.1.patch]. Waiting on Yetus results.
> Remove StringBuffer from ManagedParentQueue.java
> ------------------------------------------------
>
> Key: YARN-8878
> URL: https://issues.apache.org/jira/browse/YARN-8878
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: resourcemanager
> Affects Versions: 3.2.0
> Reporter: BELUGA BEHR
> Assignee: BELUGA BEHR
> Priority: Trivial
> Attachments: YARN-8878.1.patch
>
>
> Remove all {{StringBuffer}} references from the class {{ManagedParentQueue}}. {{StringBuffer}} are synchronized and should be instead replaced with the non-synchronized {{StringBuilder}}. However, in this case, just use {{SLF4J}} parameter logging.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org