HDFS Balance笔记

操作步骤m-节点

  • 查看网卡速度 : 1000Mb/s
[root@m-onedata ~]# ethtool bond0
Settings for bond0:
    Supported ports: [ ]
    Supported link modes:   Not reported
    Supported pause frame use: No
    Supports auto-negotiation: No
    Advertised link modes:  Not reported
    Advertised pause frame use: No
    Advertised auto-negotiation: No
    Speed: 1000Mb/s
    Duplex: Full
    Port: Other
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: off
    Link detected: yes
  • 设置 balance带宽 : 10Mb/s
su hdfs -c 'hdfs dfsadmin -setBalancerBandwidth 10485760'
  • 执行balance操作:
nohup su hdfs -c 'hdfs balancer' > /tmp/balancerstderr.log 2> /tmp/balancerstdout.log &
balance之前
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容