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.

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.

1 REPLY 1

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