hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-6595) Hive 0.11.0 build failure
Date Tue, 11 Mar 2014 18:40:06 GMT

     [ https://issues.apache.org/jira/browse/HIVE-6595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Szehon Ho resolved HIVE-6595.
-----------------------------

      Resolution: Won't Fix
        Assignee: Szehon Ho
    Release Note: Resolving this JIRA as wont fix as its working in current trunk

> Hive 0.11.0 build failure
> -------------------------
>
>                 Key: HIVE-6595
>                 URL: https://issues.apache.org/jira/browse/HIVE-6595
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.11.0
>         Environment: CentOS 6.5, java version "1.7.0_45", Hadoop 2.2.0
>            Reporter: Amit Anand
>            Assignee: Szehon Ho
>
> I am unable to build Hive 0.11.0 from the source. I have a single node hadoop 2.2.0,
that I built from the source, running. 
> I followed steps given below:
> svn co http://svn.apache.org/repos/asf/hive/tags/release-0.11.0/ hive-0.11.0
> cd hive-0.11.0
> ant clean
> ant package
> I got messages given below 
> compile:
>      [echo] Project: jdbc
>     [javac] Compiling 28 source files to /opt/apache/source/hive-0.11.0/build/jdbc/classes
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/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>)
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java:65:
error: HiveConnection is not abstract and does not override abstract method getNetworkTimeout()
in Connection
>     [javac] public class HiveConnection implements java.sql.Connection {
>     [javac]        ^
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HiveDataSource.java:31:
error: HiveDataSource is not abstract and does not override abstract method getParentLogger()
in CommonDataSource
>     [javac] public class HiveDataSource implements DataSource {
>     [javac]        ^
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java:56:
error: HiveDatabaseMetaData is not abstract and does not override abstract method generatedKeyAlwaysReturned()
in DatabaseMetaData
>     [javac] public class HiveDatabaseMetaData implements DatabaseMetaData {
>     [javac]        ^
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java:707:
error: <anonymous org.apache.hive.jdbc.HiveDatabaseMetaData$1> is not abstract and does
not override abstract method <T>getObject(String,Class<T>) in ResultSet
>     [javac]             , null) {
>     [javac]                     ^
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in method <T>getObject(String,Class<T>)
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HiveDriver.java:35:
error: HiveDriver is not abstract and does not override abstract method getParentLogger()
in Driver
>     [javac] public class HiveDriver implements Driver {
>     [javac]        ^
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java:56:
error: HivePreparedStatement is not abstract and does not override abstract method isCloseOnCompletion()
in Statement
>     [javac] public class HivePreparedStatement implements PreparedStatement {
>     [javac]        ^
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HiveQueryResultSet.java:48:
error: HiveQueryResultSet is not abstract and does not override abstract method <T>getObject(String,Class<T>)
in ResultSet
>     [javac] public class HiveQueryResultSet extends HiveBaseResultSet {
>     [javac]        ^
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in method <T>getObject(String,Class<T>)
>     [javac] /opt/apache/source/hive-0.11.0/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java:42:
error: HiveStatement is not abstract and does not override abstract method isCloseOnCompletion()
in Statement
>     [javac] public class HiveStatement implements java.sql.Statement {
>     [javac]        ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 9 errors
> BUILD FAILED
> /opt/apache/source/hive-0.11.0/build.xml:274: The following error occurred while executing
this line:
> /opt/apache/source/hive-0.11.0/build.xml:113: The following error occurred while executing
this line:
> /opt/apache/source/hive-0.11.0/build.xml:115: The following error occurred while executing
this line:
> /opt/apache/source/hive-0.11.0/jdbc/build.xml:51: Compile failed; see the compiler error
output for details.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message