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 "Harshakiran Reddy (JIRA)" <ji...@apache.org> on 2018/09/04 14:17:04 UTC

[jira] [Created] (HADOOP-15718) Hadoop --daemon status is not working as excepted

Harshakiran Reddy created HADOOP-15718:
------------------------------------------

             Summary: Hadoop --daemon status is not working as excepted 
                 Key: HADOOP-15718
                 URL: https://issues.apache.org/jira/browse/HADOOP-15718
             Project: Hadoop Common
          Issue Type: Bug
          Components: common
    Affects Versions: 3.1.1
            Reporter: Harshakiran Reddy


{noformat}
install/hadoop/namenode/bin> jps
76385 KMSWebServer
66977 ThriftServer
66886 RESTServer
65608 DFSZKFailoverController
65610 NameNode
64946 QuorumPeerMain
76437 Jps
66647 NodeManager
65079 JournalNode
66809 HMaster
75163 DataNode
66203 ResourceManager
67230 HRegionServer
install/hadoop/namenode/bin> ./hadoop --daemon status namenode
WARNING: Use of this script to execute namenode is deprecated.
WARNING: Attempting to execute replacement "hdfs namenode" instead.

namenode is running as process 65610.  Stop it first.
install/hadoop/namenode/bin>
{noformat}

{{Expected Output:-}}

it should give the status of service like running or stopped and exit code should be 0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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