java.net.SocketException: Socket is closed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via wpthm.com by Unknown author, 2 years ago
via Oracle Community by 807596, 1 year ago
via Apache Bugzilla by wojtek.oledzki, 1 year ago
via Stack Overflow by Sin Jeong-hun
, 1 year ago
shutdown failed: ENOTCONN (Transport endpoint is not connected) at at java.net.PlainSocketImpl.shutdownOutput(PlainSocketImpl.java:373)
via Stack Overflow by giorgioca
, 1 year ago
java.net.SocketException: Socket is closed
at java.net.Socket.shutdownOutput(Socket.java:1551)
at org.apache.spark.api.python.PythonRunner$WriterThread$$anonfun$run$3$$anonfun$apply$4.apply$mcV$sp(PythonRDD.scala:344)
at org.apache.spark.api.python.PythonRunner$WriterThread$$anonfun$run$3$$anonfun$apply$4.apply(PythonRDD.scala:344)
at org.apache.spark.api.python.PythonRunner$WriterThread$$anonfun$run$3$$anonfun$apply$4.apply(PythonRDD.scala:344)
at org.apache.spark.util.Utils$.tryLog(Utils.scala:1870)
at org.apache.spark.api.python.PythonRunner$WriterThread$$anonfun$run$3.apply(PythonRDD.scala:344)
at org.apache.spark.util.Utils$.logUncaughtExceptions(Utils.scala:1857)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.