hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12406) dfsadmin command prints "Exception encountered" even if there is no exception, when debug is enabled
Date Mon, 11 Sep 2017 21:51:00 GMT

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

Chen Liang commented on HDFS-12406:
-----------------------------------

Thanks [~nandakumar131] for the contribution and [~hkoneru] for the review! +1 on the patch
and the test failures are unrelated. I've committed to trunk.

> dfsadmin command prints "Exception encountered" even if there is no exception, when debug
is enabled 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12406
>                 URL: https://issues.apache.org/jira/browse/HDFS-12406
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>            Reporter: Nandakumar
>            Assignee: Nandakumar
>            Priority: Minor
>         Attachments: HDFS-12406.000.patch
>
>
> In DFSAdmin we are printing {{"Exception encountered"}} at debug level for all the calls
even if there is no exception.
> {code:title=DFSAdmin#run}
>     if (LOG.isDebugEnabled()) {
>       LOG.debug("Exception encountered:", debugException);
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message