hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12416) Trash messages should be handled by Logger instead of being delivered on System.out
Date Wed, 16 Sep 2015 01:31:46 GMT

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

Mingliang Liu commented on HADOOP-12416:
----------------------------------------

Thank you [~ajisakaa] for reviewing and committing this patch.

> Trash messages should be handled by Logger instead of being delivered on System.out 
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12416
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12416
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: trash
>    Affects Versions: 2.6.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Mingliang Liu
>             Fix For: 2.8.0
>
>         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