Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 85106 invoked from network); 30 Oct 2010 02:31:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Oct 2010 02:31:00 -0000 Received: (qmail 84162 invoked by uid 500); 30 Oct 2010 02:31:00 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 84114 invoked by uid 500); 30 Oct 2010 02:31:00 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 84106 invoked by uid 500); 30 Oct 2010 02:31:00 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 84103 invoked by uid 99); 30 Oct 2010 02:31:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 02:31:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 02:30:59 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9U2UdmP003062 for ; Sat, 30 Oct 2010 02:30:39 GMT Message-ID: <21669264.153671288405839083.JavaMail.jira@thor> Date: Fri, 29 Oct 2010 22:30:39 -0400 (EDT) From: "AJ Pahl (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0 In-Reply-To: <6002418.11001283520996260.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.