当前位置:网站首页>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 .
边栏推荐
- <li>圆点样式 list-style-type
- Codeforces Round #797 (Div. 3)无F
- 浏览器打印边距,默认/无边距,占满1页A4
- (POJ - 3579) median (two points)
- 解决Intel12代酷睿CPU单线程只给小核运行的问题
- Codeforces Round #800 (Div. 2)AC
- QT有关QCobobox控件的样式设置(圆角、下拉框,向上展开、可编辑、内部布局等)
- QNetworkAccessManager实现ftp功能总结
- 300th weekly match - leetcode
- Problem - 922D、Robot Vacuum Cleaner - Codeforces
猜你喜欢
Browser print margin, default / borderless, full 1 page A4
Spark独立集群Worker和Executor的概念
Read and save zarr files
去掉input聚焦时的边框
QT simulates mouse events and realizes clicking, double clicking, moving and dragging
第5章 NameNode和SecondaryNameNode
QT实现窗口渐变消失QPropertyAnimation+进度条
Kubernetes集群部署
Pytorch extract skeleton (differentiable)
Codeforces round 797 (Div. 3) no f
随机推荐
第6章 Rebalance详解
useEffect,函数组件挂载和卸载时触发
第6章 DataNode
简单尝试DeepFaceLab(DeepFake)的新AMP模型
顺丰科技智慧物流校园技术挑战赛(无t4)
<li>圆点样式 list-style-type
Research Report on market supply and demand and strategy of China's tetraacetylethylenediamine (TAED) industry
Codeforces - 1526C1&&C2 - Potions
Chapter 7__ consumer_ offsets topic
力扣leetcode第 280 场周赛
QNetworkAccessManager实现ftp功能总结
AcWing:第58场周赛
解决Intel12代酷睿CPU单线程调度问题(二)
Click QT button to switch qlineedit focus (including code)
Tree of life (tree DP)
SF smart logistics Campus Technology Challenge (no T4)
< li> dot style list style type
Remove the border when input is focused
Kubernetes集群部署
两个礼拜速成软考中级软件设计师经验