hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ethan Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11232) System.err should be System.out
Date Mon, 12 Dec 2016 02:48:58 GMT

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

Ethan Li commented on HDFS-11232:

I noticed that System.out/err and LOG.info/err are both used for printing messages. I guess
it's because LOG is used for system administrators, and System.out/err is used for users,

What I submitted is very trivial. I'm not even sure if it's necessary to submit this kind
of trivial thing. I am a newbie... hope to learn from you. Welcome to make comments.. Thanks
very much!

> System.err should be System.out
> -------------------------------
>                 Key: HDFS-11232
>                 URL: https://issues.apache.org/jira/browse/HDFS-11232
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Ethan Li
>            Priority: Trivial
>             Fix For: 3.0.0-alpha2
>         Attachments: HDFS-11232.001.patch
> In /Users/Ethan/Worksplace/IntelliJWorkspace/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java,
System.err.println("Generating new cluster id:"); is used. I think it should be System.out.println(...)
since this is not an error message

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message