hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Inigo Goiri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14369) NetworkTopology calls expensive toString() when debugging
Date Tue, 02 May 2017 16:50:04 GMT

    [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message