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

Reply via email to