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

Akira AJISAKA commented on HADOOP-12416:
----------------------------------------

Moved to Hadoop common as the change is in hadoop-common module.

> 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
>         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)

Reply via email to