Description
in JDBCRDD, it has
if (!conn.getAutoCommit && !conn.isClosed) {
try
. . . . . .
In my test, the connection is already closed so conn.getAutoCommit throw Exception. We should check !conn.isClosed before checking !conn.getAutoCommit to avoid the Exception.