Spark错误异常-资源占用,任务挂起

运行在standalone模式下,提交的app应用一直在被挂起无法运行

15/04/08 02:06:09 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory
15/04/08 02:06:24 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory
15/04/08 02:06:39 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory
15/04/08 02:06:54 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory
Spark错误异常-资源占用,任务挂起_第1张图片

所有的资源Cores和Memory都已经被用完, 其他的APP只能等待释放才可继续执行

Spark错误异常-资源占用,任务挂起_第2张图片

在standalone模式下可配置默认每个应用使用资源数,防止default配置一个应用直接占满所有的资源池

你可能感兴趣的:(spark)