美文网首页
HDFS Balance笔记

HDFS Balance笔记

作者: 旺达丨 | 来源:发表于2018-07-18 15:44 被阅读0次

    操作步骤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之前

    相关文章

      网友评论

          本文标题:HDFS Balance笔记

          本文链接:https://www.haomeiwen.com/subject/cqgopftx.html