hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 05:56:46 GMT

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

Hudson commented on HADOOP-12416:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #377 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/377/])
HADOOP-12416. Trash messages should be handled by Logger instead of being delivered on System.out.
Contributed by Mingliang Liu. (aajisaka: rev 77aaf4cf7dd344eb094d9c079e5fb993c6696ebf)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java


> 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