Help Center/ MapReduce Service/ FAQs/ Job Development/ 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 2023-10-19 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?

Symptom

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

Solution

Add the executor.memory Overhead parameter to the parameters for submitting a job.