Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14818

Can not show help message of namenode/datanode/nodemanager when process started.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-beta1
    • None
    • bin
    • None

    Description

      We should always get the help message whenever the process is started or not.

      But now,
      when datanode starts, we get an error message:

      hadoop# bin/hdfs datanode -h
      datanode is running as process 1701.  Stop it first.
      

      when datanode stops, we get what we want:

      hadoop# bin/hdfs --daemon stop datanode
      hadoop# bin/hdfs datanode -h
      Usage: hdfs datanode [-regular | -rollback | -rollingupgrade rollback ]
          -regular                 : Normal DataNode startup (default).
      ...
      

      Attachments

        1. HADOOP-14818.001.patch
          2 kB
          Gergely Novák

        Issue Links

          Activity

            People

              GergelyNovak Gergely Novák
              vincent he Wenxin He
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: