Category : HDFS
Sometime we do not want to start all hdfs services at once or we just want to start NN,DN or SNN only via command then this article will help you to do this in a very simple manner.
1. Kill the current operation if already going on from ambari for namenode startup
2. set hadoop.root.logger=DEBUG,console
3. Try executing the below command
/usr/hdp/current/hadoop–client/sbin/hadoop–daemon.sh —config /usr/hdp/current/hadoop–client/conf start namenode‘