In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Decommissioning and service of nodes
1. Configure the core-site.xml and yarn-site.xml of the new node, pointing to the name node
Core-site.xml
Fs.defaultFS
Hdfs://s201/
Yarn-site.xml
Yarn.resourcemanager.hostname
S201
2. Configure hdfs-site.xml and yarn-site.xml to specify service / retirement files, which generally point to the same file.
Hdfs-site.xml
Dfs.hosts
/ soft/hadoop/etc/hadoop/include
Dfs.hosts.exclude
/ soft/hadoop/etc/hadoop/exclude
Yarn-site.xml
Yarn.resourcemanager.nodes.include-path
/ soft/hadoop/etc/hadoop/include
Yarn.resourcemanager.nodes.exclude-path
/ soft/hadoop/etc/hadoop/exclude
Create an include/exclude file and edit the list of service / decommissioned hosts
4. Refresh node information
Hdfs dfsadmin-refreshNodes
Yarn rmadmin-refreshNodes
5. Start the new node / close the old node
6. You can update the slaves file manually.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.