当前位置:网站首页>[solution] final app status- undefined, exitcode- 16
[solution] final app status- undefined, exitcode- 16
2022-07-07 06:29:00 【Ride a snail forward】
Abnormal information
ERROR yarn.ApplicationMaster: RECEIVED SIGNAL TERM
INFO yarn.ApplicationMaster: Final app status: UNDEFINED, exitCode: 16, (reason: Shutdown hook called before final status was reported.)
INFO util.ShutdownHookManager: Shutdown hook called
My scene is :java The code uses SparkLauncher
Submit spark Mission jar Package to yarn The cluster to perform , The above exception occurred . Sui google The right way to open .
terms of settlement
- stay
${HADOOP_HOME}/etc/hadoop/yarn-site.xml
Add the following configuration :
<property>
<name>yarn.nodemanager.aux-services</name>
<value>spark_shuffle,mapreduce_shuffle</value>
</property>
<property>
<name>yarn.nodemanager.aux-services.spark_shuffle.class</name>
<value>org.apache.spark.network.yarn.YarnShuffleService</value>
</property>
- see
${HADOOP_HOME}/share/yarn/lib
Is there anyspark-*-yarn-shuffle.jar
This jar package ,*
It's the version number . without , hold spark Corresponding jar Copy the package to this directory :
cd ${HADOOP_HOME}/share/yarn/lib
cp ${SPARK_HOME}/yarn/spark-2.4.8-yarn-shuffle.jar ./
- restart yarn.
cd ${HADOOP_HOME}
./sbin/stop-yarn.sh
./sbin/start-yarn.sh
边栏推荐
猜你喜欢
[SOC FPGA] peripheral PIO button lights up
Find duplicate email addresses
ICML 2022 | explore the best architecture and training method of language model
laravel 使用腾讯云 COS5全教程
693. 行程排序
Haqi projection Black Horse posture, avec seulement six mois de forte pénétration du marché des projecteurs de 1000 yuans!
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
Markdown 并排显示图片
缓存在高并发场景下的常见问题
A very good JVM interview question article (74 questions and answers)
随机推荐
UIC(组态UI工程)公版文件库新增7款行业素材
Find duplicate email addresses
Handling hardfault in RT thread
2022 Android interview essential knowledge points, a comprehensive summary
k8s运行oracle
蚂蚁庄园安全头盔 7.8蚂蚁庄园答案
CloudCompare-点对选取
「解析」FocalLoss 解决数据不平衡问题
地质学类比较有名的外文期刊有哪些?
谷歌 Chrome 浏览器发布 103.0.5060.114 补丁修复 0-day 漏洞
You don't know the complete collection of recruitment slang of Internet companies
C语言整理(待更新)
Peripheral driver library development notes 43: GPIO simulation SPI driver
rt-thread 中对 hardfault 的处理
Jmeter自带函数不够用?不如自己动手开发一个
高并发大流量秒杀方案思路
QT console output in GUI applications- Console output in a Qt GUI app?
Calculation model FPS
c语言(结构体)定义一个User结构体,含以下字段:
C interview encryption program: input plaintext by keyboard, convert it into ciphertext through encryption program and output it to the screen.