hdfs balancer [-threshold <threshold>] [-policy <policy>] [-exclude [-f <hosts-file > | <comma-separated list of hosts>]] [-include [-f <hosts-file> | <comma-separated list of -exclude -f \ <hosts-file> | \ <comma-separated list of hosts> 排除某些节点参与数据均衡操作。 -include -f \ <hosts-file> | \ <comma-separated list of hosts> 指定某些节点参与数据均衡操作。
hdfs balancer [-threshold <threshold>] [-policy <policy>] [-exclude [-f <hosts-file > | <comma-separated list of hosts>]] [-include [-f <hosts-file> | <comma-separated list of -exclude -f <hosts-file> | <comma-separated list of hosts> balancer不包括指定的数据节点,用逗号分隔 -include -f <hosts-file
<policy>] The balancing policy[-threshold <threshold>] Percentage of worker capacity[-exclude [-f <hosts-file [-include [-f <hosts-file> | <comma-separated list of hosts>]] Includes only the specified workers. [-source [-f <hosts-file> | <comma-separated list of hosts>]] Pick only the specified workers as source
但是,为了克服安装要求而不设置基于DNS的SCAN解决方案,可以使用基于hosts-file的解决方法。在这种情况下,将使用典型的主机文件条目将SCAN解析为只有1个IP地址和一个IP地址。
anchors/client2-cert.pem # update-ca-trust extract lmi 命令简介 lmi 命令格式如下 lmi [options] 主要选项: ---hosts-file
serving both static and dynamic content out of the current working directory. twistd dns -p 5553 --hosts-file