Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to start /Stop namenode or datanode services manually

Unable to start /Stop namenode or datanode services manually

New Contributor

Cloudera is new venture for me.

I installed cludera manager using tar file.

i had follwed below link:

https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cm_ig_install_path_c.html

 

I used parcles to configure other services.

Everything is running fine and able ot start and stop servcies using Cloudera maanger.

 

But when i am tyring to start/stop servies manually facing below error.

 

 

[root@verticatest-02 init.d]# sudo /u1/cloudera/client_parcels/CDH-5.13.2-1.cdh5.13.2.p0.3/etc/rc.d/init.d/hadoop-hdfs-datanode stop
/bin/bash: /usr/lib/hadoop/sbin/hadoop-daemon.sh: No such file or directory
Failed to stop Hadoop datanode. Return value: 1. [FAILED]
[root@verticatest-02 init.d]#

 

My step detail:

 

Cloudera manager tar ball path:/u1/cloudera/cm-5.14.3/

Clouder manager hosts parcles directory path:/u1/cloudera/parcels/CDH-5.13.2-1.cdh5.13.2.p0.3

Other host where data node services running Parcles path:/u1/cloudera/client_parcels/CDH-5.13.2-1.cdh5.13.2.p0.3

 

Please suggest planing same configuration for prod as well.

2 REPLIES 2

Re: Unable to start /Stop namenode or datanode services manually

Champion

is that single node or multi node cluster  that you had installed ? 

 

 sudo tarball_root/etc/init.d/cloudera-scm-server start 
 sudo tarball_root/etc/init.d/cloudera-scm-agent start 

After getting into the Cloudera manager Web Ui You can start the roles on the HDFS instance like namenode datanode 

 

if you deploying the cluster for POC or pratice . 

Path A installation is quick and easy . 

https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_ig_install_path_a.html

 

Re: Unable to start /Stop namenode or datanode services manually

New Contributor

Thanks for reply.

4-Node cluster.

On node-1 Cloudera manager and name node roles are ruuning.

 

I am able to start and stop "Cloudera manger server" and "Cloudera manger AGENT services manully."

 

I am unable to start /Stop "Name node" and "Data Node" servcies manually  

 

[root@verticatest-02 init.d]# sudo /u1/cloudera/client_parcels/CDH-5.13.2-1.cdh5.13.2.p0.3/etc/rc.d/init.d/hadoop-hdfs-datanode stop
/bin/bash: /usr/lib/hadoop/sbin/hadoop-daemon.sh: No such file or directory
Failed to stop Hadoop datanode. Return value: 1. [FAILED]
[root@verticatest-02 init.d]#

 

 

Also able to start/stop above saild using Cludera GUI

 

 

I have installed Cloudera maanger using tar file and other services using Parcels.