You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brian Bloniarz (JIRA)" <ji...@apache.org> on 2012/06/25 20:19:42 UTC
[jira] [Created] (HIVE-3197) Hive compile errors under Java 7 (JDBC
4.1)
Brian Bloniarz created HIVE-3197:
------------------------------------
Summary: Hive compile errors under Java 7 (JDBC 4.1)
Key: HIVE-3197
URL: https://issues.apache.org/jira/browse/HIVE-3197
Project: Hive
Issue Type: Bug
Environment: Ubuntu 12.04
Reporter: Brian Bloniarz
Hi, I've been trying to compile Hive trunk from source and getting failures:
{code}
[javac] hive-svn/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveCallableStatement.java:48: error: HiveCallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement
[javac] public class HiveCallableStatement implements java.sql.CallableStatement {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>getObject(String,Class<T>)
{code}
I think this is because JDBC 4.1 is part of Java 7, and is not source-compatible with older JDBC versions. Any chance you guys could add JDBC 4.1 support?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HIVE-3197) Hive compile errors under Java 7
(JDBC 4.1)
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan resolved HIVE-3197.
------------------------------------
Resolution: Fixed
Release Note: Dupe of HIVE-3384
> Hive compile errors under Java 7 (JDBC 4.1)
> -------------------------------------------
>
> Key: HIVE-3197
> URL: https://issues.apache.org/jira/browse/HIVE-3197
> Project: Hive
> Issue Type: Bug
> Environment: Ubuntu 12.04
> Reporter: Brian Bloniarz
>
> Hi, I've been trying to compile Hive trunk from source and getting failures:
> {code}
> [javac] hive-svn/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveCallableStatement.java:48: error: HiveCallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement
> [javac] public class HiveCallableStatement implements java.sql.CallableStatement {
> [javac] ^
> [javac] where T is a type-variable:
> [javac] T extends Object declared in method <T>getObject(String,Class<T>)
> {code}
> I think this is because JDBC 4.1 is part of Java 7, and is not source-compatible with older JDBC versions. Any chance you guys could add JDBC 4.1 support?
--
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