Reply
New Contributor
Posts: 2
Registered: ‎05-04-2018

Unable to start /Stop namenode or datanode services manually

[ Edited ]

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.

Champion
Posts: 735
Registered: ‎05-16-2016

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

[ Edited ]

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

 

Highlighted
New Contributor
Posts: 2
Registered: ‎05-04-2018

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

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.

 

 

 

 

Announcements