hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AJ Pahl (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0
Date Sat, 30 Oct 2010 02:30:39 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926518#action_12926518
] 

AJ Pahl commented on HIVE-1612:
-------------------------------

As per Daisuke's instructions I was able to complile trunk-1000628 against Hadoop 0.21.0.
Unfortunately,  execution isn't exactly like Singo's but is still contains a few exceptions:

-bash-3.2$ ./hive
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:185)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 3 more

Also starting hiveserver...

Starting Hive Thrift Server
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/thrift/protocol/TProtocolFactory
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:185)
Caused by: java.lang.ClassNotFoundException: org.apache.thrift.protocol.TProtocolFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 3 more

I've had success with compiling previous releases of 0.6.0 and 0.7.0 (prior to 0.21.0) so
I'm 
pretty sure my environment is correct for testing this. (ie: Classpath etc)

Daisuke, keep up the good work. I think this JIRA will be renamed DAISUKE-1612 if you can
get it worked out. :)


> Cannot build hive for hadoop 0.21.0
> -----------------------------------
>
>                 Key: HIVE-1612
>                 URL: https://issues.apache.org/jira/browse/HIVE-1612
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: AJ Pahl
>         Attachments: HIVE-1612.patch
>
>
> Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release.

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


Mime
View raw message