为什么我的spark执行器在执行spark pi示例时总是在运行后带着代码1退出

cmssoen2  于 2021-05-27  发布在  Spark
关注(0)|答案(0)|浏览(268)

spark是2.4.5版本,安装在openshift 4.3群集上。控制台只需重复以下信息:

20/05/12 04:21:34 INFO StandaloneSchedulerBackend: Granted executor ID app-20200512042132-0006/3 on hostPort 10.128.4.70:40337 with 1 core(s), 1024.0 MB RAM
20/05/12 04:21:34 INFO StandaloneAppClient$ClientEndpoint: Executor updated: app-20200512042132-0006/3 is now RUNNING
20/05/12 04:21:35 INFO StandaloneAppClient$ClientEndpoint: Executor updated: app-20200512042132-0006/2 is now EXITED (Command exited with code 1)
20/05/12 04:21:35 INFO StandaloneSchedulerBackend: Executor app-20200512042132-0006/2 removed: Command exited with code 1
20/05/12 04:21:35 INFO StandaloneAppClient$ClientEndpoint: Executor added: app-20200512042132-0006/4 on worker-20200511051939-10.128.0.58-33781 (10.128.0.58:33781) with 1 core(s)
20/05/12 04:21:35 INFO BlockManagerMaster: Removal of executor 2 requested
20/05/12 04:21:35 INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Asked to remove non-existent executor 2
20/05/12 04:21:35 INFO BlockManagerMasterEndpoint: Trying to remove executor 2 from BlockManagerMaster.
20/05/12 04:21:35 INFO StandaloneSchedulerBackend: Granted executor ID app-20200512042132-0006/4 on hostPort 10.128.0.58:33781 with 1 core(s), 1024.0 MB RAM
20/05/12 04:21:35 INFO StandaloneAppClient$ClientEndpoint: Executor updated: app-20200512042132-0006/4 is now RUNNING
20/05/12 04:21:35 INFO StandaloneAppClient$ClientEndpoint: Executor updated: app-20200512042132-0006/3 is now EXITED (Command exited with code 1)
20/05/12 04:21:35 INFO StandaloneSchedulerBackend: Executor app-20200512042132-0006/3 removed: Command exited with code 1

似乎执行器在开始运行后不久就崩溃了,但我不知道是什么问题。
谢谢你的帮助。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题