hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhinav narain <abhinavnarai...@gmail.com>
Subject errors in compiling downloaded code of hive 0.6.0. hadoop 0.20.2 versions
Date Sat, 05 Feb 2011 19:01:28 GMT
    [mkdir] Created dir: /project/narain/src/build/cli
    [mkdir] Created dir: /project/narain/src/build/cli/classes
    [mkdir] Created dir: /project/narain/src/build/cli/test
    [mkdir] Created dir: /project/narain/src/build/cli/test/src
    [mkdir] Created dir: /project/narain/src/build/cli/test/classes

compile-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

jar:

init:

install-hadoopcore:

install-hadoopcore-default:

ivy-init-dirs:

ivy-download:
      [get] Getting:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
      [get] To: /project/narain/src/build/ivy/lib/ivy-2.1.0.jar
      [get] Not modified - so not downloaded

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/::
[ivy:retrieve] :: loading settings :: file =
/project/narain/src/ivy/ivysettings.xml
[ivy:retrieve] :: resolving dependencies ::
org.apache.hadoop.hive#cli;working@revati
[ivy:retrieve]     confs: [default]
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]     found hadoop#core;0.20.0 in hadoop-source
[ivy:retrieve] :: resolution report :: resolve 41026ms :: artifacts dl 4ms
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
    ---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/core-0.20.0.pom
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/hadoop-0.20.0.tar.gz
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: org.apache.hadoop.hive#cli
[ivy:retrieve]     confs: [default]
[ivy:retrieve]     0 artifacts copied, 1 already retrieved (0kB/31ms)

install-hadoopcore-internal:

setup:

compile:
     [echo] Compiling: cli
    [javac] /project/narain/src/build-common.xml:274: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
    [javac] Compiling 4 source files to
/project/narain/src/build/cli/classes
    [javac] Note:
/project/narain/src/cli/src/java/org/apache/hadoop/hive/cli/RCFileCat.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note:
/project/narain/src/cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

jar:
     [echo] Jar: cli
      [jar] Building jar: /project/narain/src/build/cli/hive-cli-0.6.0.jar

create-dirs:
    [mkdir] Created dir: /project/narain/src/build/contrib
    [mkdir] Created dir: /project/narain/src/build/contrib/classes
    [mkdir] Created dir: /project/narain/src/build/contrib/test
    [mkdir] Created dir: /project/narain/src/build/contrib/test/src
    [mkdir] Created dir: /project/narain/src/build/contrib/test/classes

compile-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

jar:

init:

install-hadoopcore:

install-hadoopcore-default:

ivy-init-dirs:

ivy-download:
      [get] Getting:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
      [get] To: /project/narain/src/build/ivy/lib/ivy-2.1.0.jar
      [get] Not modified - so not downloaded

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/::
[ivy:retrieve] :: loading settings :: file =
/project/narain/src/ivy/ivysettings.xml
[ivy:retrieve] :: resolving dependencies ::
org.apache.hadoop.hive#contrib;working@revati
[ivy:retrieve]     confs: [default]
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]     found hadoop#core;0.20.0 in hadoop-source
[ivy:retrieve] :: resolution report :: resolve 1464ms :: artifacts dl 3ms
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
    ---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/core-0.20.0.pom
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/hadoop-0.20.0.tar.gz
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: org.apache.hadoop.hive#contrib
[ivy:retrieve]     confs: [default]
[ivy:retrieve]     0 artifacts copied, 1 already retrieved (0kB/7ms)

install-hadoopcore-internal:

setup:

compile:
     [echo] Compiling: contrib
    [javac] /project/narain/src/build-common.xml:274: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
    [javac] Compiling 38 source files to
/project/narain/src/build/contrib/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note:
/project/narain/src/contrib/src/java/org/apache/hadoop/hive/contrib/udf/example/UDFExampleStructPrint.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

jar:
     [echo] Jar: contrib
      [jar] Building jar: /project/narain/src/build/contrib/hive_contrib.jar

create-dirs:
    [mkdir] Created dir: /project/narain/src/build/service
    [mkdir] Created dir: /project/narain/src/build/service/classes
    [mkdir] Created dir: /project/narain/src/build/service/test
    [mkdir] Created dir: /project/narain/src/build/service/test/src
    [mkdir] Created dir: /project/narain/src/build/service/test/classes

compile-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

jar:

init:

core-compile:
    [javac] /project/narain/src/service/build.xml:59: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
    [javac] Compiling 8 source files to
/project/narain/src/build/service/classes
    [javac] Note:
/project/narain/src/service/src/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

compile:

jar:
     [echo] Jar: service
      [jar] Building jar:
/project/narain/src/build/service/hive-service-0.6.0.jar

create-dirs:
    [mkdir] Created dir: /project/narain/src/build/jdbc
    [mkdir] Created dir: /project/narain/src/build/jdbc/classes
    [mkdir] Created dir: /project/narain/src/build/jdbc/test
    [mkdir] Created dir: /project/narain/src/build/jdbc/test/src
    [mkdir] Created dir: /project/narain/src/build/jdbc/test/classes

compile-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

jar:

init:

core-compile:
    [javac] /project/narain/src/jdbc/build.xml:51: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
    [javac] Compiling 10 source files to
/project/narain/src/build/jdbc/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile:

jar:
     [echo] Jar: jdbc
      [jar] Building jar: /project/narain/src/build/jdbc/hive-jdbc-0.6.0.jar

create-dirs:
    [mkdir] Created dir: /project/narain/src/build/hwi
    [mkdir] Created dir: /project/narain/src/build/hwi/classes
    [mkdir] Created dir: /project/narain/src/build/hwi/test
    [mkdir] Created dir: /project/narain/src/build/hwi/test/src
    [mkdir] Created dir: /project/narain/src/build/hwi/test/classes

compile-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

jar:

init:

install-hadoopcore:

install-hadoopcore-default:

ivy-init-dirs:

ivy-download:
      [get] Getting:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
      [get] To: /project/narain/src/build/ivy/lib/ivy-2.1.0.jar
      [get] Not modified - so not downloaded

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/::
[ivy:retrieve] :: loading settings :: file =
/project/narain/src/ivy/ivysettings.xml
[ivy:retrieve] :: resolving dependencies ::
org.apache.hadoop.hive#hwi;working@revati
[ivy:retrieve]     confs: [default]
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]     found hadoop#core;0.20.0 in hadoop-source
[ivy:retrieve] :: resolution report :: resolve 44426ms :: artifacts dl 4ms
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
    ---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/core-0.20.0.pom
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/hadoop-0.20.0.tar.gz
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: org.apache.hadoop.hive#hwi
[ivy:retrieve]     confs: [default]
[ivy:retrieve]     0 artifacts copied, 1 already retrieved (0kB/11ms)

install-hadoopcore-internal:

setup:

war:
      [jar] Building jar: /project/narain/src/build/hwi/hive-hwi-0.6.0.war

compile:
     [echo] Compiling: hwi
    [javac] /project/narain/src/hwi/build.xml:71: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
    [javac] Compiling 6 source files to
/project/narain/src/build/hwi/classes

jar:
     [echo] Jar: hwi
      [jar] Building jar: /project/narain/src/build/hwi/hive-hwi-0.6.0.jar

create-dirs:
    [mkdir] Created dir: /project/narain/src/build/hbase-handler
    [mkdir] Created dir: /project/narain/src/build/hbase-handler/classes
    [mkdir] Created dir: /project/narain/src/build/hbase-handler/test
    [mkdir] Created dir: /project/narain/src/build/hbase-handler/test/src
    [mkdir] Created dir:
/project/narain/src/build/hbase-handler/test/classes

compile-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
     [echo] Compiling: anttasks
    [javac] /project/narain/src/ant/build.xml:40: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds

jar:

init:

install-hadoopcore:

install-hadoopcore-default:

ivy-init-dirs:

ivy-download:
      [get] Getting:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
      [get] To: /project/narain/src/build/ivy/lib/ivy-2.1.0.jar
      [get] Not modified - so not downloaded

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/::
[ivy:retrieve] :: loading settings :: file =
/project/narain/src/ivy/ivysettings.xml
[ivy:retrieve] :: resolving dependencies ::
org.apache.hadoop.hive#contrib;working@revati
[ivy:retrieve]     confs: [default]
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]     found hadoop#core;0.20.0 in hadoop-source
[ivy:retrieve] :: resolution report :: resolve 990ms :: artifacts dl 3ms
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |   1   |   0   |   0   |   0   ||   1   |   0   |
    ---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/core-0.20.0.pom
[ivy:retrieve]     Host repository.apache.org not found. url=
https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/hadoop-0.20.0.tar.gz
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: org.apache.hadoop.hive#contrib
[ivy:retrieve]     confs: [default]
[ivy:retrieve]     0 artifacts copied, 1 already retrieved (0kB/14ms)

install-hadoopcore-internal:

setup:

compile:
     [echo] Compiling: hbase-handler
    [javac] /project/narain/src/build-common.xml:274: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
    [javac] Compiling 15 source files to
/project/narain/src/build/hbase-handler/classes
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIContextListener.java:3:
package javax.servlet does not exist
    [javac] import javax.servlet.ServletContext;
    [javac]                     ^
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIContextListener.java:4:
package javax.servlet does not exist
    [javac] import javax.servlet.ServletContextEvent;
    [javac]                     ^
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIContextListener.java:14:
package javax.servlet does not exist
    [javac] public class HWIContextListener implements
javax.servlet.ServletContextListener {
    [javac]                                                         ^
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIContextListener.java:27:
cannot find symbol
    [javac] symbol  : class ServletContextEvent
    [javac] location: class org.apache.hadoop.hive.hwi.HWIContextListener
    [javac]   public void contextInitialized(ServletContextEvent sce) {
    [javac]                                  ^
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIContextListener.java:46:
cannot find symbol
    [javac] symbol  : class ServletContextEvent
    [javac] location: class org.apache.hadoop.hive.hwi.HWIContextListener
    [javac]   public void contextDestroyed(ServletContextEvent sce) {
    [javac]                                ^
    [javac]
org/apache/hadoop/hbase/io/RowResult.class(org/apache/hadoop/hbase/io:RowResult.class):
warning: Cannot find annotation method 'base64()' in type
'agilejson.TOJSON': class file for agilejson.TOJSON not found
    [javac]
org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
warning: Cannot find annotation method 'fieldName()' in type
'agilejson.TOJSON'
    [javac]
org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
warning: Cannot find annotation method 'base64()' in type 'agilejson.TOJSON'
    [javac]
org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
warning: Cannot find annotation method 'prefixLength()' in type
'agilejson.TOJSON'
    [javac]
org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
warning: Cannot find annotation method 'prefixLength()' in type
'agilejson.TOJSON'
    [javac]
org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
warning: Cannot find annotation method 'prefixLength()' in type
'agilejson.TOJSON'
    [javac]
org/apache/hadoop/hbase/HTableDescriptor.class(org/apache/hadoop/hbase:HTableDescriptor.class):
warning: Cannot find annotation method 'fieldName()' in type
'agilejson.TOJSON'
    [javac]
org/apache/hadoop/hbase/io/Cell.class(org/apache/hadoop/hbase/io:Cell.class):
warning: Cannot find annotation method 'base64()' in type 'agilejson.TOJSON'
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIContextListener.java:28:
cannot find symbol
    [javac] symbol  : class ServletContext
    [javac] location: class org.apache.hadoop.hive.hwi.HWIContextListener
    [javac]     ServletContext sc = sce.getServletContext();
    [javac]     ^
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIContextListener.java:47:
cannot find symbol
    [javac] symbol  : class ServletContext
    [javac] location: class org.apache.hadoop.hive.hwi.HWIContextListener
    [javac]     ServletContext sc = sce.getServletContext();
    [javac]     ^
    [javac]
/project/narain/src/hbase-handler/src/java/org/apache/hadoop/hive/hwi/HWIServer.java:88:
package org.mortbay.util does not exist
    [javac]         } catch (org.mortbay.util.MultiException ex) {
    [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] 8 errors
    [javac] 8 warnings

BUILD FAILED
/project/narain/src/build.xml:169: The following error occurred while
executing this line:
/project/narain/src/build.xml:108: The following error occurred while
executing this line:
/project/narain/src/build-common.xml:274: Compile failed; see the compiler
error output for details.

Total time: 13 minutes 58 seconds


On compiling the code available with hive 0.6.0 and hadoop version 0.20.2
I get the above errors in the code.
The code shoukld now have any errors as I have not modified ...but looks as
this is not the working code .
How to correct those errors?

Abhianv narain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message