Details
Description
Within the compute() method of the JdbcRDD there is constructor logic that includes obtaining a JDBC connection, creating a PreparedStatement, and generating a ResultSet. This logic is not apparently protected within a try/catch block. In case of error/exception it would appear then to leak connections/statmenets/resultSets