当前位置:网站首页>Spark independent cluster dynamic online and offline worker node
Spark independent cluster dynamic online and offline worker node
2022-07-06 16:37:00 【Ruo Miaoshen】
List of articles
( One ) Offline Worker node
My operation : Just turn it off ……
Anyway, the work will naturally be handed over to other nodes .
Of course, it should be like this , Log in to the node host that needs to be offline :
Execute script to shut down the machine Worker:
$> $SPARK_HOME/sbin/stop-worker.sh
Notice there's another one stop-workers.sh
, It is used to close all Worker Of , Don't get me wrong .
See clearly one more s!!!
If you are in the Master I accidentally executed this multiple S Script for (Master To all Worker It must be configured ssh Key login ),
Then it's all closed ……
Before shutdown :
After shutting down :
After a while DEAD Of Worker Will disappear ( The cluster must take some time to see if it can reconnect ).
.
( Two ) go online Worker node
Log in to the node host that needs to go online :
Execute script to start the machine Worker, And connect to Spark Master:
$> $SPARK_HOME/sbin/start-worker.sh spark://vm00:7077
Notice there's another one start-workers.sh
Script . The difference is the same as above .
Last , If it's a new one Worker, Don't forget it. $SPARK_CONF_DIR
Editor inside workers
( or slaves
).
Add new Worker The host name , It is convenient for all clusters to start together next time .
by the way , A new start Worker There are new ones ID.
Uh …… End .
边栏推荐
- useEffect,函數組件掛載和卸載時觸發
- Installation and use of VMware Tools and open VM tools: solve the problems of incomplete screen and unable to transfer files of virtual machines
- 分享一个在树莓派运行dash应用的实例。
- Codeforces Round #798 (Div. 2)A~D
- MariaDB的安装与配置
- Is the sanic asynchronous framework really so strong? Find truth in practice
- Research Report on hearing health care equipment industry - market status analysis and development prospect prediction
- 树莓派4B64位系统安装miniconda(折腾了几天终于解决)
- How to insert mathematical formulas in CSDN blog
- Summary of game theory
猜你喜欢
Flag framework configures loguru logstore
Discussion on QWidget code setting style sheet
Chapter 5 namenode and secondarynamenode
树莓派4B64位系统安装miniconda(折腾了几天终于解决)
(lightoj - 1323) billiard balls (thinking)
OneForAll安装使用
Tree of life (tree DP)
Share an example of running dash application in raspberry pie.
Pytorch extract skeleton (differentiable)
第 300 场周赛 - 力扣(LeetCode)
随机推荐
Codeforces Round #802(Div. 2)A~D
第6章 Rebalance详解
顺丰科技智慧物流校园技术挑战赛(无t4)
第一章 MapReduce概述
第五章 Yarn资源调度器
Educational Codeforces Round 130 (Rated for Div. 2)A~C
875. Leetcode, a banana lover
Is the sanic asynchronous framework really so strong? Find truth in practice
Codeforces Round #801 (Div. 2)A~C
QT有关QCobobox控件的样式设置(圆角、下拉框,向上展开、可编辑、内部布局等)
Sanic异步框架真的这么强吗?实践中找真理
(POJ - 3186) treatments for the cows (interval DP)
读取和保存zarr文件
Codeforces Round #799 (Div. 4)A~H
The "sneaky" new asteroid will pass the earth safely this week: how to watch it
Some problems encountered in installing pytorch in windows11 CONDA
Codeforces Round #799 (Div. 4)A~H
提交Spark应用的若干问题记录(sparklauncher with cluster deploy mode)
Pull branch failed, fatal: 'origin/xxx' is not a commit and a branch 'xxx' cannot be created from it
Codeforces Round #771 (Div. 2)