This article explains the cause of the java.io.EOFException observed when using the Vertica JDBC driver with Spark. The error typically indicates that the TCP connection to Vertica was closed unexpectedly while Spark was reading a result set.
Environment
- Vertica JDBC Driver
- Apache Spark
- Vertica Database
- Cloud or virtualized infrastructure
Situation
A Spark job using the Vertica JDBC driver failed with the following error:
java.io.EOFException
This occurred while Spark was reading results from Vertica.