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.

datanode have no enough space

Solved Go to solution
Highlighted

datanode have no enough space

Explorer

My datanode is currently giving me this warning below:

 

Screen Shot 2020-06-10 at 1.23.21 PM.png

 /dfs/dn is in a filesystem that reaches the threshold for free space.

 

 

I have a 2nd disk mounted on /data and I'm thinking of moving the datanode filesystem under /data to have free space, is it possible to do that with no significant effect in the cluster?

Screen Shot 2020-06-10 at 1.25.57 PM.png

 because i have this same issue also with Namenode and I think if I changed the path there also, fsimage is still retail on the original path..

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: datanode have no enough space

@Mondi Yes you can move the paths.  Just be sure to shut down hdfs, move the data, then update the paths in hdfs config.  Additionally you can also symlink the old path to the new path.   Be sure to complete this on all nodes reporting the limited disk size.

 

 

If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  

 

Thanks,


Steven @ DFHZ

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

View solution in original post

2 REPLIES 2
Highlighted

Re: datanode have no enough space

@Mondi Yes you can move the paths.  Just be sure to shut down hdfs, move the data, then update the paths in hdfs config.  Additionally you can also symlink the old path to the new path.   Be sure to complete this on all nodes reporting the limited disk size.

 

 

If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  

 

Thanks,


Steven @ DFHZ

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

View solution in original post

Highlighted

Re: datanode have no enough space

Explorer

Hi Steven, I've send you a private message. thank you!

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