Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

Hive Shell Error

Hive Shell Error

New Contributor

I am using Cloudera CDH5 and the HUE browser for HIVE queries works great. But when I try the command line version of the same in CDH, i get the below error. I got to understand that the HADOOP_CLASSPATH variable needs to be set and i tried the same after that too. But i got the same error.



[cloudera@quickstart bin]$ hive
Error: Could not find or load main class org.apache.hadoop.util.PlatformName
Error: Could not find or load main class org.apache.hadoop.util.RunJar
[cloudera@quickstart bin]$ env | grep HA
[cloudera@quickstart bin]$



Any ideas as what is wrong?

Thanks, Manish