You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/01/29 13:46:35 UTC

[jira] [Commented] (SPARK-5481) JdbcRDD requires JDBC 4 APIs, limiting compatible JDBC Drivers

    [ https://issues.apache.org/jira/browse/SPARK-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296784#comment-14296784 ] 

Sean Owen commented on SPARK-5481:
----------------------------------

Spark requires Java 6, and Java 6 includes JDBC 4. Does this accomplish much then?

> JdbcRDD requires JDBC 4 APIs, limiting compatible JDBC Drivers
> --------------------------------------------------------------
>
>                 Key: SPARK-5481
>                 URL: https://issues.apache.org/jira/browse/SPARK-5481
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: vijay
>
> JdbcRDD makes unnecessary use of JDBC 4 APIs.  To maintain broad jdbc driver support, Spark should support JDBC 3.
> The issue is calling isClosed() prior to closing JDBC object.  isClosed() is part of JDBC 4.  It is perfectly safe to close something that is already closed - this may throw an exception (which is caught) but has no negative side affects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org