Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7805

NameNode recovery prompt should be printed on console

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      Description

      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

      LOG.info(prompt);
      

      It should be

      System.err.print(prompt);
      

      NameNode recovery prompt should be printed on console

        Attachments

        1. HDFS-7805_1.patch
          2 kB
          Surendra Singh Lilhore
        2. HDFS-7805.patch
          2 kB
          Surendra Singh Lilhore

          Activity

            People

            • Assignee:
              surendrasingh Surendra Singh Lilhore
              Reporter:
              surendrasingh Surendra Singh Lilhore
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: