We may come across the below issue when we start HDFS service in cloudera:
$ for x in `cd /etc/init.d ; ls hadoop-hdfs-*` ; do sudo service $x start ; done
error unrecognized service
I was able to overcome this issue by running below commands:
$ sudo service hadoop-hdfs-namenode start
$ sudo service hadoop-hdfs-datenode start
$ sudo service hadoop-hdfs-secondarynamenode start
No comments:
Post a Comment