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

Xiao Chen commented on HADOOP-14369:
------------------------------------

Good catch [~elgoiri], thanks for the fix. Also thanks Andrew for the 
review+commit.

> NetworkTopology calls expensive toString() when logging
> -------------------------------------------------------
>
>                 Key: HADOOP-14369
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14369
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Inigo Goiri
>            Assignee: Inigo Goiri
>             Fix For: 2.9.0, 3.0.0-alpha3, 2.8.2
>
>         Attachments: HADOOP-14369-000.patch, HADOOP-14369-001.patch
>
>
> When {{NetworkTopology}} calls {{add()}} or {{remove()}}, it calls 
> {{toString()}} for {{LOG.debug()}} which is pretty expensive.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to