Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Service and decommissioning of hadoop- data nodes

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report