Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this solution

avatar
Rising Star

It works! 

 

As we see in the outpulog, we see the HADOOP_CLASSPATH variable. Or we don't have any path for libs in hive directory...

 

I try once to add in HADOOP_CLASSPATH the his folder but it doesn't works.

 

The solution is to add the the folder and /* to take all jar...

 

So I add this one in .bash_profile:

export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/lib/hive/lib/*

 

Then

source ~/.bash_profile

And now it works. Date were imported in Hive! 

 

Now we can continue our labs with Cloudera 5! 

 

Thanks!

 

 

View solution in original post

Who agreed with this solution