Help Center/ MapReduce Service/ FAQs/ Job Management/ What Should I Do If Error Message "java.io.IOException: Connection reset by peer" Is Displayed During the Execution of a Spark Job?
Updated on 2025-10-23 GMT+08:00

What Should I Do If Error Message "java.io.IOException: Connection reset by peer" Is Displayed During the Execution of a Spark Job?

Question:

The execution of a Spark job cannot finish and error message "java.io.IOException: Connection reset by peer" is displayed.

Answer:

Add the executor.memoryOverhead parameter to the job submission parameters.