accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3572) TableDiskUsage contains log without a conditional
Date Tue, 10 Feb 2015 18:35:11 GMT

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

John Vines commented on ACCUMULO-3572:
--------------------------------------

Or it should just be switched to slf4j loggers which won't do the string appends if the logger
is disabled.

> TableDiskUsage contains log without a conditional
> -------------------------------------------------
>
>                 Key: ACCUMULO-3572
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3572
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.6.1
>         Environment: Large system
>            Reporter: marco polo
>            Assignee: Eric Newton
>            Priority: Minor
>
> When performing a du command that is distributed to the tservers, whereby  each table
file is printed in a log statement. As we are using log4j, this causes the tserver client
thread to spend a significant portion of its time in the log appender.
> We should surround the log statement with a conditional or remove the log statement to
prevent the unnecessary cycles. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message