Yesterday I have installed HDP (all components) on 7 nodes and at that time everything was working fine. But I stopped the services last night before I stopped all the instances (Ec2). This morning I have started all the instances and started servicing in the order written in http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.2.0/bk_reference/content/reference_chap3_1.html.
I did this couple of times and never faced any issues. But this morning, I’m getting some errors during smoke test. Though the service is started but during smoke test it threw the following error:
notice: /Stage/Hdp::Snappy::Package/Hdp::Snappy::Package::Ln/Hdp::Exec[hdp::snappy::package::ln 32]/Exec[hdp::snappy::package::ln 32]/returns: executed successfully
err: /Stage/Hdp-hadoop::Hdfs::Service_check/Hdp-hadoop::Exec-hadoop[hdfs::service_check::check_safemode]/Hdp::Exec[hadoop –config /etc/hadoop/conf dfsadmin -safemode get | grep OFF]/Exec[hadoop –config /etc/hadoop/conf dfsadmin -safemode get | grep OFF]/returns: change from notrun to 0 failed: Could not find command ‘hadoop’
Any idea whats going on here? Any information will be highly appreciated.
Thanks in advance.