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

Inigo Goiri commented on HADOOP-14369:
--------------------------------------

The FindBugs are unrelated (I've been seeing this weird behavior in other JIRAs 
too) and I don't think there is a unit test to add here.

> NetworkTopology calls expensive toString() when debugging
> ---------------------------------------------------------
>
>                 Key: HADOOP-14369
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14369
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Inigo Goiri
>            Assignee: Inigo Goiri
>         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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to