提交spark任务Requesting 1 new executor because tasks are backlogged (new desired total will be 1)
来源:互联网 发布:手机壳品牌知乎 编辑:程序博客网 时间:2024/06/08 19:12
这两天在集群上提交任务时一直提交不成功,一直爆出下面的问题,如果不主动停掉就会一直刷 check your cluster UI to ensure that workers are registered and have sufficient resources,开始以为是资源不足的问题,在网上找了好多方法测试都不行,后来发现虽然一直再刷等资源的问题(下面的报错日志,以我的蹩脚英语理解为等资源,并且spark的管理页面显示有任务提交上来,一直处于waiting),检查yarn的管理页面发现,yarn上根本就没有接受到spark提交的任务请求,问题就出在这
问题原因是:提交任务的方式错了,我刚开始提交任务的命令是./spark-submit --class Wordcount--master spark://10.0.10.29:7077 --num-executors 100 --executor-cores 2 --conf spark.default.parallelism=1000 --conf spark.storage.memoryFraction=0.5 /home/zkp/sparktest.jar sparktest/b.txt
解决办法:把提交命令改成./spark-submit --class Wordcount --master yarn-cluster--num-executors 100 --executor-cores 2 --conf spark.default.parallelism=1000 --conf spark.storage.memoryFraction=0.5 /home/zkp/sparktest.jar sparktest/b.txt就好了
Requesting 1 new executor because tasks are backlogged (new desired total will be 1)
17/11/03 14:35:35 WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources17/11/03 14:35:50 WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
17/11/03 14:36:05 WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
记录下来,希望能帮到想我一样的新手
- 提交spark任务Requesting 1 new executor because tasks are backlogged (new desired total will be 1)
- 异常 The page you are requesting cannot be served because of the extension configuration
- Tomorrow will be a new beginning
- HTTP Error 404.2 - Not Found "The page you are requesting cannot be served because of the ISAPI and
- The new table will be used at the next reboot
- spark源码分析之Executor启动与任务提交篇
- docker service tasks “new” states
- python reshape()函数ValueError: total size of new array must be unchanged
- Faster R-CNN, ValueError, total size of new array must be unchanged
- new Child();new Child(1);
- a new world will start
- Spark - ERROR Executor: java.lang.OutOfMemoryError: unable to create new native thread
- Executor线程池提交任务
- A new node couldn't be inserted because one with the same name exists. (VERR_CFGM_NODE_EXISTS)
- (五)Affinities and new tasks
- (五)Affinities and new tasks
- Greece’s new austerity measures may prove to be enough—if they are fully implemented
- 【Spark Core】TaskScheduler源码与任务提交原理浅析1
- TOP100summit:【分享实录-华为】微服务场景下的性能提升最佳实践
- jquery中常见的面试题
- 51nod 1833 环 (dp)
- mongodb系列教程(一)-安装及配置服务
- el表达式
- 提交spark任务Requesting 1 new executor because tasks are backlogged (new desired total will be 1)
- JavaScript——变量提升
- Markdown 表格编辑
- Hook技术activity启动过程中拦截(无需在androidmanifest文件注册即可使用)
- Springboot整合reidis详解
- 项目总结(2)
- 深度学习的应用以及初识Tensorflow
- java学习-开篇
- erlang 学习ets表-1