hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4965) DFSClient should log instead of printing into std err.
Date Wed, 31 Dec 2008 08:30:44 GMT

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

Suresh Srinivas commented on HADOOP-4965:
-----------------------------------------

Previously the file name was printed. Should the file name be printed in the log? Otherwise
+1 for the patch.

> DFSClient should log instead of printing into std err.
> ------------------------------------------------------
>
>                 Key: HADOOP-4965
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4965
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.0
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.0
>
>         Attachments: DFSClientLogging.patch
>
>
> {{DFSClient.LeaseChecker.close()}} uses {{System.err.println()}} and {{Exception.printStackTrace()}}
to output the exception.{{LOG.error()}} should be used instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message