1.集群配置
修改conf/hdfs-site.xml文件
<property>
<name>dfs.hosts.exclude</name>
<value>/data/soft/hadoop/conf/excludes</value>
<description>Names a file that contains a list of hosts that are
not permitted to connect to the namenode. The full pathname of the
file must be specified. If the value is empty, no hosts are
excluded.<
Hadoop集群节点下架步骤

本文详细介绍了如何配置Hadoop集群以下架指定节点,包括修改hdfs-site.xml中的dfs.hosts.exclude属性,列出要下架的主机,使用dfsadmin刷新配置,执行节点解构(Decommission)过程,以及下架完成后对excludes文件的更新和对TaskTracker的手动处理。
最低0.47元/天 解锁文章
2553

被折叠的 条评论
为什么被折叠?



