[ https://issues.apache.org/jira/browse/HIVE-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505722#comment-13505722 ]
Phabricator commented on HIVE-3384: ----------------------------------- mbautin has commented on the revision "[jira] [HIVE-3384] HIVE JDBC module won't compile under JDK1.7 as new methods added in JDBC specification". INLINE COMMENTS jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java:49 Removed. jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDataSource.java:29 Removed. metastore/build.xml:106 Unfortunately, this seems to be required in order to run unit tests under JDK 7. Without this, verification errors such as P87 start happening, presumably because some of the dependencies have been compiled using an earlier version of javac and do not pass the more strict verification guidelines Java 7 uses by default. REVISION DETAIL https://reviews.facebook.net/D6873 BRANCH trunk To: cdrome, weidongbian, JIRA, ashutoshc, mbautin > 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, 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