[
https://issues.apache.org/jira/browse/HADOOP-15718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ayush Saxena resolved HADOOP-15718.
-----------------------------------
Resolution: Not A Problem
> Hadoop --daemon status doesn't work with deprecated subcommands
> ---------------------------------------------------------------
>
> 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
> Priority: Minor
>
> {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: [email protected]
For additional commands, e-mail: [email protected]