hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joydeep Sen Sarma (JIRA)" <>
Subject [jira] Commented: (HIVE-487) Hive does not compile with Hadoop 0.20.0
Date Fri, 03 Jul 2009 08:07:47 GMT


Joydeep Sen Sarma commented on HIVE-487:

so i tried a custom classloader to force the new jetty jars to be used preferentially for
loading classes.

alas - it does not work. it seems that some classes from the hadoop jetty jars are already
loaded by the time control is transferred to hive/hwi. trying to load remaining classes from
the new jetty jar causes a 'sealing violation exception'. (this is with hadoop-19)

only reasonable alternative i can think of now is to run the hwiserver by spawning a new jvm
(with a modified classpath that omits hadoop's jetty jars)

> Hive does not compile with Hadoop 0.20.0
> ----------------------------------------
>                 Key: HIVE-487
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Aaron Kimball
>            Assignee: Justin Lynn
>             Fix For: 0.4.0
>         Attachments: HIVE-487-2.patch, hive-487.3.patch, hive-487.4.patch, HIVE-487.patch,
> Attempting to compile Hive with Hadoop 0.20.0 fails:
> aaron@jargon:~/src/ext/svn/hive-0.3.0$ ant -Dhadoop.version=0.20.0 package
> (several lines elided)
> compile:
>      [echo] Compiling: hive
>     [javac] Compiling 261 source files to /home/aaron/src/ext/svn/hive-0.3.0/build/ql/classes
>     [javac] /home/aaron/src/ext/svn/hive-0.3.0/build/ql/java/org/apache/hadoop/hive/ql/exec/
cannot find symbol
>     [javac] symbol  : method getCommandLineConfig()
>     [javac] location: class org.apache.hadoop.mapred.JobClient
>     [javac]       Configuration commandConf = JobClient.getCommandLineConfig();
>     [javac]                                            ^
>     [javac] /home/aaron/src/ext/svn/hive-0.3.0/build/ql/java/org/apache/hadoop/hive/ql/io/
cannot find symbol
>     [javac] symbol  : method validateInput(org.apache.hadoop.mapred.JobConf)
>     [javac] location: interface org.apache.hadoop.mapred.InputFormat
>     [javac]       inputFormat.validateInput(newjob);
>     [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] 2 errors
> /home/aaron/src/ext/svn/hive-0.3.0/build.xml:145: The following error occurred while
executing this line:
> /home/aaron/src/ext/svn/hive-0.3.0/ql/build.xml:135: Compile failed; see the compiler
error output for details.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message