Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cannot start an HA namenode with name dirs that need recovery. Dir: Storage Directory /data0/dfs/nn

Solved Go to solution

Re: Cannot start an HA namenode with name dirs that need recovery. Dir: Storage Directory /data0/dfs

Rising Star

Based on this thread, it seems like the following command may be an option.  I will wait for further guidance, though.

 

./hdfs haadmin -transitionToActive <nodename>

 

 

Re: Cannot start an HA namenode with name dirs that need recovery. Dir: Storage Directory /data0/dfs

Rising Star

I continued the resolution of this issue in another thread specific to the error: 

 

ls: Operation category READ is not supported in state standby

 

The solution is marked on that thread, however, a quick summary was that I needed to add the Failover Controller role to a node in my cluster, enable Automatic Failover, and then restart the cluster for it all to kick in.

Don't have an account?
Coming from Hortonworks? Activate your account here