You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/01/13 02:08:59 UTC

[jira] Updated: (HADOOP-4965) DFSClient should log instead of printing into std err.

     [ https://issues.apache.org/jira/browse/HADOOP-4965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-4965:
----------------------------------------

    Attachment: DFSClientLogging.patch

This patch 
- prints the file name;
- stringifyException
- also closes FileSystem in TestFileAppend3

> 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, 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.