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.

All directories in dfs.datanode.data.dir are invalid

Highlighted

All directories in dfs.datanode.data.dir are invalid

New Contributor

As a POC working on installation and config of CDH on 3 VM nodes cluster (RHEL 6.7) using latest CM.

First installation didn’t go throu and I uninstalled everything following instructions in Installation guide.

During second installation on the step First Run getting the error

(All directories in dfs.datanode.data.dir are invalid: "/hdpopt/dfs/dn/" "/opt/dfs/dn/")

Any idea on what might causing the issue would be greatly appreciated.

Alex

2 REPLIES 2
Highlighted

Re: All directories in dfs.datanode.data.dir are invalid

Cloudera Employee

Hi Apchi777,

Do the directories "/hdpopt/dfs/dn/" "/opt/dfs/dn/"

actually exist on disk?

 

Thanks,

Michael

Highlighted

Re: All directories in dfs.datanode.data.dir are invalid

New Contributor
Hey, I'm running into the same error on one of my datanodes. The directories are all there but the role is down and can't be restarted. CM 5.14.2, RHEL 6.8

Worst thing is that it happened suddenly and appears to leave no trace for any reason.
Don't have an account?
Coming from Hortonworks? Activate your account here