hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7805) NameNode recovery prompt should be printed on console
Date Fri, 20 Feb 2015 17:44:14 GMT

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

Colin Patrick McCabe commented on HDFS-7805:
--------------------------------------------

This should also be a System.out.println:

{code}
        LOG.info("automatically choosing " + firstChoice);
{code}

+1 once that's resolved.  Thanks, surendra.

> NameNode recovery prompt should be printed on console
> -----------------------------------------------------
>
>                 Key: HDFS-7805
>                 URL: https://issues.apache.org/jira/browse/HDFS-7805
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.6.0
>            Reporter: surendra singh lilhore
>            Assignee: surendra singh lilhore
>         Attachments: HDFS-7805.patch
>
>
> In my cluster root logger is not console, so when I run namenode recovery tool MetaRecoveryContext.java
prompt message is logged in log file.
> Actually is should be display on console.
> Currently it is like this
> {code}
> LOG.info(prompt);
> {code}
> It should be 
> {code}
> System.err.print(prompt);
> {code}
> NameNode recovery prompt should be printed on console



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message