Skip to main content
bandarusridhar1
Gold ⭐️
Aug 19, 2016 1:59 AM UTC

How to increase HDFS Balancer network bandwidth for faster movement

  • Oct 5, 2026 9:37 AM UTC
  • 0 replies
  • 12469 views
  • Translate All

hdfs dfsadmin -setBalancerBandwidth 100000000

on all the DN and the client we ran the command below

hdfs balancer -Dfs.defaultFS=hdfs://<NN_HOSTNAME>:8020 -Ddfs.balancer.movedWinWidth=5400000 -Ddfs.balancer.moverThreads=1000 -Ddfs.balancer.dispatcherThreads=200 -Ddfs.datanode.balance.max.concurrent.moves=5 -Ddfs.balance.bandwidthPerSec=100000000 -Ddfs.balancer.max-size-to-move=10737418240 -threshold 5

This will faster balance your HDFS data between datanodes and do this when the cluster is not heavily used. Hope this helps you.