Support Questions

Find answers, ask questions, and share your expertise

Datanode Balancer bandwidth configuration

avatar
Expert Contributor

Hello,

Trying to configure Datanode balancer network bandwidth to 4 GB since we have a good 25 GBPS network dedicated to the cluster. However, when set via Cloudera Manager, I get an alert stating max allowed in 1 GB.

Is it something hard coded and cannot be increased beyond 1 GB via CM? OR there is a different way to do that?

 

snm1523_0-1729505903260.png

Thanks
snm1523

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Hi @snm1523 

It is a CM restriction to change the dfs.datanode.balance.bandwidthPerSec more than 1 GB but can be achieved from CLI

Example -

nohup hdfs balancer  -Ddfs.datanode.balance.bandwidthPerSec=4294967296 > /tmp/balance_log.out &

View solution in original post

2 REPLIES 2

avatar
Expert Contributor

Hi @snm1523 

It is a CM restriction to change the dfs.datanode.balance.bandwidthPerSec more than 1 GB but can be achieved from CLI

Example -

nohup hdfs balancer  -Ddfs.datanode.balance.bandwidthPerSec=4294967296 > /tmp/balance_log.out &

avatar
Expert Contributor

Thank you for the help, Shubham.

Thanks
Snm1523