Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Unable to start hive


+
iwannaplay games 2012-07-19, 09:52
Copy link to this message
-
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
+
iwannaplay games 2012-07-19, 10:11