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

How to increase DataNode filesystem size

How to increase DataNode filesystem size

New Contributor

We have a small cluster for testing. I used lvm for the filesystems on the datanodes. I increased the size of the lv on the datanodes but the NameNode has not picked up the change.

I tried hdfs dfsadmin -refreshNodes

I also decommissioned the node and then recommissioned it.

The NameNode still does not see the additional space.


Re: How to increase DataNode filesystem size

Can you try restarting HDFS service and then check the same? I have not tried it though, but other option would be to try below:

First check datanode info :

hdfs dfsadmin -getDatanodeInfo <datanode_host:ipc_port> Then refresh Namenode for that datanode. hdfs dfsadmin -refreshNamenodes datanodehost:port
Don't have an account?
Coming from Hortonworks? Activate your account here