ambari下线机器节点流程步骤

1.下线前如果数据不均衡,需要均衡一下数据:

    hdfs dfsadmin -setBalancerBandwidth 67108864

    hdfs balancer -threshold 5

2.ambari WEB管理平台操作NodeManager decommission

3.ambari WEB管理平台操作HRegonServer decommission

4.ambari WEB管理平台操作DataNode decommission

5.ambari WEB管理平台操作停止此节点的所有组件,stop all components

6.停止ambari-agent

   ambari-agent stop

7.ambari WEB管理平台操作delete host

8.找合适时间重启NameNode和ResourceManager

9.如果此机器上有zookeeper server,delete host之后,找合适时间restart zookeeper server

10.结束

 

    有问题加QQ群:877769335

    或者用QQ扫描二维码加群:

    

 

 

 

 

 

 

 

 

 

 

 

 

2025-04-02 11:24:49,591 ERROR org.apache.spark.scheduler.cluster.YarnScheduler: Lost executor 5 on dominos-usdp-v3-pro02: Container from a bad node: container_e35_1709867558487_220002_02_000002 on host: dominos-usdp-v3-pro02. Exit status: 143. Diagnostics: [2025-04-02 11:24:49.169]Container killed on request. Exit code is 143 [2025-04-02 11:24:49.170]Container exited with a non-zero exit code 143. [2025-04-02 11:24:49.170]Killed by external signal . 2025-04-02 11:24:49,592 WARN org.apache.spark.scheduler.TaskSetManager: Lost task 0.0 in stage 2.0 (TID 5) (dominos-usdp-v3-pro02 executor 5): ExecutorLostFailure (executor 5 exited caused by one of the running tasks) Reason: Container from a bad node: container_e35_1709867558487_220002_02_000002 on host: dominos-usdp-v3-pro02. Exit status: 143. Diagnostics: [2025-04-02 11:24:49.169]Container killed on request. Exit code is 143 [2025-04-02 11:24:49.170]Container exited with a non-zero exit code 143. [2025-04-02 11:24:49.170]Killed by external signal . 2025-04-02 11:24:49,594 WARN org.apache.spark.scheduler.cluster.YarnSchedulerBackend$YarnSchedulerEndpoint: Requesting driver to remove executor 5 for reason Container from a bad node: container_e35_1709867558487_220002_02_000002 on host: dominos-usdp-v3-pro02. Exit status: 143. Diagnostics: [2025-04-02 11:24:49.169]Container killed on request. Exit code is 143 [2025-04-02 11:24:49.170]Container exited with a non-zero exit code 143. [2025-04-02 11:24:49.170]Killed by external signal . 2025-04-02 11:26:37,187 ERROR org.apache.spark.scheduler.cluster.YarnScheduler: Lost executor 6 on dominos-usdp-v3-pro03: Container from a bad node: container_e35_1709867558487_220002_02_000003 on host: dominos-usdp-v3-pro03. Exit status: 143. Diagnostics: [2025-04-02 11:26:36.792]Container killed on request. Exit code is 143 [2025-04-02 11:26:36.793]Container exited with a non-zero exit code 143.
最新发布
04-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值