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

Akira AJISAKA updated HADOOP-12416:
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.8.0
     Release Note: Now trash message is not printed to System.out. It is 
handled by Logger instead.
           Status: Resolved  (was: Patch Available)

Committed to this to trunk and branch-2. Thanks [~liuml07] for the contribution.

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

Reply via email to