[
https://issues.apache.org/jira/browse/HIVE-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan updated HIVE-3384:
-----------------------------------
Status: Open (was: Patch Available)
Phabricator auto-generated diffs in not applying cleaning on svn repo. Please
generate svn diff and upload patch directly on jira.
Btw, I resolved the conflicts manually and ran the test, all tests passed
PluginTest which failed with following stacktrace.
{code}
test:
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
${jvm/args}
[junit] Caused by: java.lang.ClassNotFoundException: ${jvm.args}
[junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[junit] at java.security.AccessController.doPrivileged(Native Method)
[junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[junit] Could not find the main class: ${jvm.args}. Program will exit.
[junit] Running org.apache.hive.pdk.PluginTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
{code}
> HIVE JDBC module won't compile under JDK1.7 as new methods added in JDBC
> specification
> --------------------------------------------------------------------------------------
>
> Key: HIVE-3384
> URL: https://issues.apache.org/jira/browse/HIVE-3384
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Reporter: Weidong Bian
> Priority: Minor
> Attachments: D6873-0.9.1.patch, D6873.1.patch, D6873.2.patch,
> D6873.3.patch, D6873.4.patch, D6873.5.patch, HIVE-3384.2.patch,
> HIVE-3384.patch, HIVE-JDK7-JDBC.patch
>
>
> jdbc module couldn't be compiled with jdk7 as it adds some abstract method in
> the JDBC specification
> some error info:
> error: HiveCallableStatement is not abstract and does not override abstract
> method <T>getObject(String,Class<T>) in CallableStatement
> .
> .
> .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira