You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Wenxin He (JIRA)" <ji...@apache.org> on 2017/08/30 07:08:02 UTC

[jira] [Created] (HADOOP-14818) Can not show help message of namenode/datanode/nodemanager when process started.

Wenxin He created HADOOP-14818:
----------------------------------

             Summary: Can not show help message of namenode/datanode/nodemanager when process started.
                 Key: HADOOP-14818
                 URL: https://issues.apache.org/jira/browse/HADOOP-14818
             Project: Hadoop Common
          Issue Type: Improvement
          Components: bin
    Affects Versions: 3.0.0-beta1
            Reporter: Wenxin He
            Priority: Minor


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

But now,
when datanode starts, we get an error message:
{noformat}
hadoop# bin/hdfs datanode -h
datanode is running as process 1701.  Stop it first.
{noformat}

when datanode stops, we get what we want:
{noformat}
hadoop# bin/hdfs --daemon stop datanode
hadoop# bin/hdfs datanode -h
Usage: hdfs datanode [-regular | -rollback | -rollingupgrade rollback ]
    -regular                 : Normal DataNode startup (default).
...
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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