hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iwannaplay games <funnlearnfork...@gmail.com>
Subject Re: Unable to start hive
Date Thu, 19 Jul 2012 10:11:24 GMT
Hi,

Everything is set.

[hduser@master bin]$ echo $HADOOP_HOME
/usr/local/hadoop
[hduser@master bin]$ echo $PATH
usr/local/sqoop/bin:/usr/local/hive/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/hduser/bin:/usr/java/jdk1.6.0_33/bin:/usr/local/hadoop/bin

created two directories
$ bin/hadoop fs -mkdir /tmp
$ bin/hadoop fs -mkdir /user/hive/warehouse
$ bin/hadoop fs -chmod g+w /tmp
$ bin/hadoop fs -chmod g+w /user/hive/warehouse

Do i need to make any changes in files in HIVE_HOME/conf.I have some
templates over there.I need to rename them?
Is there any other change that we make?

Thanks & Regards
Prabhjot


On 7/19/12, Bejoy KS <bejoy_ks@yahoo.com> wrote:
> Hi Prabhjot
>
> Have you set $HADOOP_HOME? If not try setting that, if already set please
> verify whether it is the correct one.
>
> Normally I do set $HADOOP_HOME and $PATH and have never faced any issues.
>
>
> Regards
> Bejoy KS
>
> Sent from handheld, please excuse typos.
>
> -----Original Message-----
> From: iwannaplay games <funnlearnforkids@gmail.com>
> Date: Thu, 19 Jul 2012 15:22:39
> To: <user@hive.apache.org>
> Reply-To: user@hive.apache.org
> Subject: Unable to start hive
>
> Hi,
>
> I installed apache hive and set the paths.Still i am getting this error.
>
> [hduser@master bin]$ hive
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/thrift/TException
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:149)
> Caused by: java.lang.ClassNotFoundException: org.apache.thrift.TException
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>         ... 3 more
> What is wrong can you please help me out
>
> Thanks in advance
>
> Regards
> Prabhjot
>

Mime
View raw message