[ https://issues.apache.org/jira/browse/HIVE-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508840#comment-13508840 ]
Ashutosh Chauhan commented on HIVE-3384: ---------------------------------------- Thanks for manually generating the patch. It applies cleanly with patch command. Unfortunately, plugin test still failed. Note that this test gets executed twice in full test run, once from within builtin and another from pdk module. It passes when run through builtin module but fails when is run through pdk module with following stack: {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 [for] /home/ashutosh/hive/pdk/build.xml: The following error occurred while executing this line: [for] /home/ashutosh/hive/build.xml:325: The following error occurred while executing this line: [for] /home/ashutosh/hive/pdk/build.xml:58: The following error occurred while executing this line: [for] /home/ashutosh/hive/build/dist/scripts/pdk/build-plugin.xml:130: Test org.apache.hive.pdk.PluginTest failed (crashed) {code} >From builtin module: it passed for me as well: {code} test: [junit] Running org.apache.hive.pdk.PluginTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 12.17 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, D6873.6.patch, > HIVE-3384-2012-12-02.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