Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 84569 invoked from network); 21 Oct 2008 19:10:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 19:10:36 -0000 Received: (qmail 51945 invoked by uid 500); 21 Oct 2008 19:10:37 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 51909 invoked by uid 500); 21 Oct 2008 19:10:37 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 51898 invoked by uid 99); 21 Oct 2008 19:10:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 12:10:37 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 19:09:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 422E8234C234 for ; Tue, 21 Oct 2008 12:09:44 -0700 (PDT) Message-ID: <351427480.1224616184270.JavaMail.jira@brutus> Date: Tue, 21 Oct 2008 12:09:44 -0700 (PDT) From: "Ashish Thusoo (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4473) I Can't run bin/hive In-Reply-To: <2060278549.1224584444151.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641531#action_12641531 ] Ashish Thusoo commented on HADOOP-4473: --------------------------------------- Should have worked. Have you set HADOOP_HOME and HIVE_HOME environment variables. Also a dump of your environment would be great including classpaths. > I Can't run bin/hive > --------------------- > > Key: HADOOP-4473 > URL: https://issues.apache.org/jira/browse/HADOOP-4473 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/hive > Affects Versions: 0.17.1 > Environment: Redhat hadoop-0.17.1 > Reporter: YihueyChyi > > When I run bin/hive > Then I get the message > java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/session/SessionState > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at org.apache.hadoop.util.RunJar.main(RunJar.java:148) > at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220) > Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.ql.session.SessionState > 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:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > ... 7 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.