Uh oh!
There was an error while loading. Please reload this page.
[SPARK-5239][CORE]JdbcRDD throws "java.lang.AbstractMethodError: oracle.jdbc.driver.xxxxxx.isClosed()Z" - #4033
[SPARK-5239][CORE]JdbcRDD throws "java.lang.AbstractMethodError: oracle.jdbc.driver.xxxxxx.isClosed()Z"#4033luogankun wants to merge 1 commit into
Conversation
…le.jdbc.driver.xxxxxx.isClosed()Z'
AmplabJenkins
commented
Jan 14, 2015
Can one of the admins verify this patch? |
srowen
commented
Jan 14, 2015
See comment in JIRA; this should not be hacked around because the JDBC driver is unsuitable. |
srowen
commented
Feb 6, 2015
I take it back (see https://issues.apache.org/jira/browse/SPARK-5481) Yes, there's evidence of JDBC 3 drivers in the wild, still, and because I confirmed that Similar changes should be made in |
srowen
commented
Feb 8, 2015
@luogankun do you want to augment this PR to include |
srowen
commented
Feb 8, 2015
ok to test |
SparkQA
commented
Feb 8, 2015
Test build #27040 has started for PR 4033 at commit
|
SparkQA
commented
Feb 8, 2015
Test build #27040 has finished for PR 4033 at commit
|
AmplabJenkins
commented
Feb 8, 2015
Test PASSed. |
luogankun
commented
Feb 9, 2015
Close the PR. |
srowen
commented
Feb 9, 2015
@luogankun are you going to make a new PR? or are you asking me to do so? you can just reopen and add to this PR. |
luogankun
commented
Feb 9, 2015
@srowen To do other things, forgot to resubmit a new PR after close the PR. Thanks for your help. |
srowen
commented
Feb 9, 2015
NP I will assign to you @luogankun in any event for the credit. Right now the new PR fails Hive tests, twice, which is suspicious, though I can't see how it would affect behavior. I'm waiting to see if it's just flakiness or a real problem. |
luogankun
commented
Feb 9, 2015
The stacktrace message of all failure testcase are: |
…le.jdbc.driver.xxxxxx.isClosed()Z" This is a completion of #4033 which was withdrawn for some reason. Author: Sean Owen <sowen@cloudera.com> Closes#4470 from srowen/SPARK-5239.2 and squashes the following commits: 2398bde [Sean Owen] Avoid use of JDBC4-only isClosed() (cherry picked from commit 2d1e916) Signed-off-by: Sean Owen <sowen@cloudera.com>
…le.jdbc.driver.xxxxxx.isClosed()Z" This is a completion of #4033 which was withdrawn for some reason. Author: Sean Owen <sowen@cloudera.com> Closes#4470 from srowen/SPARK-5239.2 and squashes the following commits: 2398bde [Sean Owen] Avoid use of JDBC4-only isClosed()
rs.isClosed()will throws:Similarly,
stmt.isClosed()will throwsAbove exception is throwing because "isClosed()" is not implemented in the "OracleResultSetImpl" class which implements the ResultSet Interface in Ojdbc14.jar, I think use below condition to check whether resultset is null or not is enough