I think you also need hive/conf in the classpath.

On Wed, Feb 17, 2010 at 2:23 AM, Vidyasagar Venkata Nallapati <
[email protected]> wrote:

>  Hi ,
>
>
>
> When starting the hive I am getting an error even after I am including in
> class path, attached is the hadoop-env I am using.
>
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hadoop/hive/conf/HiveConf
>
>         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.hadoop.hive.conf.HiveConf
>
>         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:307)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>
>         ... 3 more
>
>
>
> Regards
>
> Vidyasagar N V
>
> ------------------------------
> DISCLAIMER: The information in this message is confidential and may be
> legally privileged. It is intended solely for the addressee. Access to this
> message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it, is prohibited and may be
> unlawful. Please immediately contact the sender if you have received this
> message in error. Further, this e-mail may contain viruses and all
> reasonable precaution to minimize the risk arising there from is taken by
> OnMobile. OnMobile is not liable for any damage sustained by you as a result
> of any virus in this e-mail. All applicable virus checks should be carried
> out by you before opening this e-mail or any attachment thereto.
> Thank you - OnMobile Global Limited.
>

Reply via email to