Re: How to start namenode from console when CDH is...
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.
When I start a namenode using CM web UI it starts /usr/lib64/cmf/service/hdfs/hdfs.sh, but when I run the same script from console it is not able to find various env variables. Can you please help me out with this? There is not documentation regarding this, one doc I found was starting namenode when CDH is installed standalone. Thanks!
I guess I would be able to use cm api but I would rather just run the script that cm manager runs under the hood ;)