Re: Cannot instantiate hive context

2014-11-03 Thread Akhil Das
Not quiet sure, but moving the Guava 11 jar to first position in the classpath may solve this issue. Thanks Best Regards On Tue, Nov 4, 2014 at 1:47 AM, Pala M Muthaia wrote: > Thanks Akhil. > > I realized that earlier, and i thought mvn -Phive should have captured and > included all these depe

Re: Cannot instantiate hive context

2014-11-03 Thread Pala M Muthaia
Thanks Akhil. I realized that earlier, and i thought mvn -Phive should have captured and included all these dependencies. In any case, i proceeded with that, included other such dependencies that were missing, and finally hit the guava version mismatch issue. (Spark with Guava 14 vs Hadoop/Hive

Re: Cannot instantiate hive context

2014-11-02 Thread Akhil Das
Adding the libthrift jar in the class path would resolve this issue. Thanks Best Regards On Sat, Nov 1, 2014 at 12:34 AM, Pala M Muthaia wrote: > Hi, > > I am trying to load hive datasets using HiveContext, in spark shell. Sp

Cannot instantiate hive context

2014-10-31 Thread Pala M Muthaia
Hi, I am trying to load hive datasets using HiveContext, in spark shell. Spark ver 1.0.1 and Hive ver 0.12. We are trying to get Spark work with hive datasets. I already have existing Spark deployment. Following is what i did on top of that: 1. Build spark using 'mvn -Pyarn,hive -Phadoop-2.4 -Dha