1.spark运行任务
报错 Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources 提示没有足够内存 查看日志发现啊内存问题
Exception in thread "main" java.lang.IllegalArgum…
目录
背景
分析
解决 背景
在Hadoop-YARN中运行MapReduce的demo程序,任务提交后,任务状态一直都是“ACCEPTED: waiting for AM container to be allocated, launched and register with RM.”。
运行MapReduce程序如下:
bin/hadoop jar share/hadoop/mapreduce/hadoop…