New Contributor
Posts: 1
Registered: ‎09-30-2014

Hive Shell Error

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