hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9037) Trash messages should be handled by Logger instead of being delivered on System.out
Date Mon, 14 Sep 2015 05:29:46 GMT

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

Akira AJISAKA commented on HDFS-9037:
-------------------------------------

I'll commit this to trunk and branch-2 in Sep. 16 if there are no additional comments.

> Trash messages should be handled by Logger instead of being delivered on System.out 
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-9037
>                 URL: https://issues.apache.org/jira/browse/HDFS-9037
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: logging
>    Affects Versions: 2.6.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Mingliang Liu
>         Attachments: HDFS-9037.000.patch
>
>
> Specifically,
> {code}
>   if (success) {
>       System.out.println("Moved: '" + p + "' to trash at: " +
>           trash.getCurrentTrashDir() );
>     }
> {code}
> should be:
> {code}
>   if (success) {
>       LOG.info("Moved: '" + p + "' to trash at: " + trash.getCurrentTrashDir());
>     }
> {code}



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

Mime
View raw message