TaskSchedulerImpl: Initial job has not accepted any resources (Spark报错)
18/10/20 10:08:16 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
如图所示:
执行脚本的时候报错
报错原因:
解决方案:
kill掉正在Running的Spark程序,腾出内存空间在运行相关程序。