Spark Streaming: long queued/active batches

不羁岁月 提交于 2019-12-05 15:49:37

It turns out that the master node is the bottleneck.

Master node is short of memory, and then maybe scheduler cannot process fast enough.

Solution: change master node to be a more powerful EC2 instance

in spark-submit set --diver-memory and --executor-memory to appropriate values base on your events count such that 10000M

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!