hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YihueyChyi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4473) I Can't run bin/hive
Date Wed, 29 Oct 2008 07:12:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643428#action_12643428
] 

YihueyChyi commented on HADOOP-4473:
------------------------------------

Hi Zheng,
It show

CLASSPATH=/hadoop-0.17.2.1/contrib/hive/dist/bin/../conf:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/antlr-runtime-3.0.1.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/asm-3.1.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/commons-collections-3.2.1.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/commons-jexl-1.1.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/commons-lang-2.4.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/derby.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/hive_cli.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/hive_common.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/hive_exec.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/hive_metastore.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/jdo2-api-2.1.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/jline-0.9.94.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/jpox-core-1.2.2.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/jpox-enhancer-1.2.2.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/jpox-rdbms-1.2.2.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/libfb303.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/libthrift.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/stringtemplate-3.1b1.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/TestSerDe.jar:/hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/velocity-1.5.jar:
AUX_LIB_PATH=
HADOOP_OPTS=
/hadoop-0.17.2.1/bin/hadoop jar /hadoop-0.17.2.1/contrib/hive/dist/bin/../lib/hive_cli.jar
org.apache.hadoop.hive.cli.CliDriver -hiveconf hadoop.bin.path=/hadoop-0.17.2.1/bin/hadoop
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


> 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.2
>         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.


Mime
View raw message