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.

CDH 5.9.0 Pseudo distributed single node - Namenode not formatted

Solved Go to solution

CDH 5.9.0 Pseudo distributed single node - Namenode not formatted

Expert Contributor

I installed CDH 5.9.0 in Azure Virtual Machine. Every time I restart  the VM, Name Node failed to restart due to Name Node not formatted issue. It seems that the cluster can't remember what has bee done after each VM restart. I had to format the Name Node all over again. I check data.dir and name.dir,  and they are all defined.

 

There is a similar issue found, but I installed CDH manually via CM, not using any template.

http://stackoverflow.com/questions/36140311/cloudera-start-services-namenode-not-formatted/36391569

1 ACCEPTED SOLUTION

Accepted Solutions

Re: CDH 5.9.0 Pseudo distributed single node - Namenode not formatted

Expert Contributor

More:

In Azure, /mnt on /dev/sdb1 is not persistent.
$ cat /mnt/resource/DATALOSS_WARNING_README.txt
WARNING: THIS IS A TEMPORARY DISK.

Any data stored on this drive is SUBJECT TO LOSS and THERE IS NO WAY TO RECOVER IT.

Please do not use this disk for storing any personal or application data.

For additional details to please refer to the MSDN documentation at :
http://msdn.microsoft.com/en-us/library/windowsazure/jj672979.aspx
1 REPLY 1

Re: CDH 5.9.0 Pseudo distributed single node - Namenode not formatted

Expert Contributor

More:

In Azure, /mnt on /dev/sdb1 is not persistent.
$ cat /mnt/resource/DATALOSS_WARNING_README.txt
WARNING: THIS IS A TEMPORARY DISK.

Any data stored on this drive is SUBJECT TO LOSS and THERE IS NO WAY TO RECOVER IT.

Please do not use this disk for storing any personal or application data.

For additional details to please refer to the MSDN documentation at :
http://msdn.microsoft.com/en-us/library/windowsazure/jj672979.aspx