当前位置:网站首页>Cdh5 delete data node
Cdh5 delete data node
2022-04-21 13:51:00 【post_ yuan】
This article describes how to CDH Hadoop Dynamically delete data nodes in the cluster . Before dynamically deleting data nodes, we already have a set of CDH Cluster environment . The following steps are to delete a data node ,
notes : Delete nodes online. Try to delete nodes one by one , After deleting a node, perform the necessary checks . If you delete more nodes at a time , Problems that may result in the loss of data blocks .
1. Select the node to delete
Select menu bar " host ", Check the node to be deleted

2. Stop all roles on the host
After checking the node , from " Selected actions " In the drop-down box , choice " Stop the role on the host "
After completion, you can see that all characters on the node are in the stopped state

3. To revoke authority
After checking the node , from " Selected actions " In the drop-down box , choice "Begin Maintenance(Suppress Alerts/Decommission)"
After completion, you can see that the status changes to " Authorization has been revoked "



4. Remove... From the cluster
After checking the node , from " Selected actions " In the drop-down box , choice " Remove... From the cluster "
complete Then you can see this node in the cluster , but CM You can still see this node in



5. from CM Delete in
After checking the node , from " Selected actions " In the drop-down box , choice "Remove From Cloudera Manager"
When it's done CM The page no longer sees this node


6. Redeploy the client


7. Verify if the block is missing
After deleting a node , What we are most concerned about is whether the data is lost , Can pass hadoop fsck / Command check , If the output is as follows, it means that no data block is lost .
....................................................................Status: HEALTHY
Total size: 10356256081639 B (Total open files size: 996754639 B)
Total dirs: 280130
Total files: 453468
Total symlinks: 0 (Files currently being written: 548)
Total blocks (validated): 458431 (avg. block size 22590653 B) (Total open file blocks (not validated): 431)
Minimally replicated blocks: 458431 (100.0 %)
Over-replicated blocks: 0 (0.0 %)
Under-replicated blocks: 0 (0.0 %)
Mis-replicated blocks: 0 (0.0 %)
Default replication factor: 3
Average block replication: 3.0
Corrupt blocks: 0
Missing replicas: 0 (0.0 %)
Number of data-nodes: 18
Number of racks: 1
FSCK ended at Wed Jun 10 14:12:04 CST 2020 in 5169 milliseconds
版权声明
本文为[post_ yuan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211346015496.html
边栏推荐
猜你喜欢

New technology is coming again, embrace agp7 0, are you ready to say goodbye to transform?

Oracle 11g 企业版安装教程

Vagrant detailed tutorial

<2021SC@SDUSC>山东大学软件工程应用与实践JPress代码分析(十二)

Deep analysis and optimization of JVM memory model

EsgynDB CQD-traf_lock_ddl

CDH5删除数据节点

Unittest unit test (V)

深度学习与图像识别:原理与实践 笔记Day_15

《商用密码应用与安全性评估》第四章 密码应用安全性评估实施要点-小结
随机推荐
商用密码应用安全性评估量化评估规则(2021版)
String string dynamic change (10 points): in the following procedures, the function of fun is to find the character with the largest ASCII code value in the string STR, move all the characters before
软件工程-基础篇刷题
JVM内存模型深度剖析与优化
山东大学项目实训树莓派提升计划二期(八)数组和ArrayList
Vagrant detailed tutorial
Explication détaillée du mécanisme d'allocation de mémoire JVM
Deep analysis of JVM bytecode file structure
JMM model of concurrent programming and three characteristics of concurrency
2021-10-21软件测试理论
Sqlyog import SQL file
<2021SC@SDUSC>山东大学软件工程应用与实践JPress代码分析(六)
Unittest单元测试(一)
机器学习笔记 - Moore-Penrose 伪逆
并发编程之CAS和Atomic原子操作类
基于数值微分和误差反向传播的比较
<2021SC@SDUSC>山东大学软件工程应用与实践JPress代码分析(十一)
深度学习与图像识别:原理与实践 笔记Day_14
认识系统服务
深度学习与图像识别:原理与实践 笔记Day_13