You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ajay Kumar (JIRA)" <ji...@apache.org> on 2017/08/30 17:40:01 UTC

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

     [ https://issues.apache.org/jira/browse/HADOOP-14818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajay Kumar reassigned HADOOP-14818:
-----------------------------------

    Assignee: Ajay Kumar

> 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
>            Assignee: Ajay Kumar
>            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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org