Error ExecutorLostFailure when running a task in Spark

后端 未结 4 1584
日久生厌
日久生厌 2020-12-28 22:46

when I am trying to run it on this folder it is throwing me ExecutorLostFailure everytime

Hi I am a beginner in Spark. I am trying to run a job on S

4条回答
  •  隐瞒了意图╮
    2020-12-28 23:13

    I was having this issue, and the problem for me was very high incidence of one key in a reduceByKey task. This was (I think) causing a massive list to collect on one of the executors, which would then throw OOM errors.

    The solution for me was to just filter out keys with high population before doing the reduceByKey, but I appreciate that this may or may not be possible depending on your application. I didn't need all my data anyway.

提交回复
热议问题