|
|
iwannaplay games 2012-07-19, 09:52
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
+
iwannaplay games 2012-07-19, 09:52
-
Re: Unable to start hive
Bejoy KS 2012-07-19, 09:58
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 <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2012 15:22:39 To: <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] 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
+
Bejoy KS 2012-07-19, 09:58
-
Re: Unable to start hive
iwannaplay games 2012-07-19, 10:11
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > Date: Thu, 19 Jul 2012 15:22:39 > To: <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > 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 >
+
iwannaplay games 2012-07-19, 10:11
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext