Re: Help with Couchbase connector error

2015-11-29 Thread Eyal Sharon
Thanks guys , that was very helpful On Thu, Nov 26, 2015 at 10:29 PM, Shixiong Zhu wrote: > Het Eyal, I just checked the couchbase spark connector jar. The target > version of some of classes are Java 8 (52.0). You can create a ticket in >

Re: Help with Couchbase connector error

2015-11-26 Thread Shixiong Zhu
Het Eyal, I just checked the couchbase spark connector jar. The target version of some of classes are Java 8 (52.0). You can create a ticket in https://issues.couchbase.com/projects/SPARKC Best Regards, Shixiong Zhu 2015-11-26 9:03 GMT-08:00 Ted Yu : > StoreMode is from

Help with Couchbase connector error

2015-11-26 Thread Eyal Sharon
Hi, I am trying to set a connection to Couchbase. I am at the very beginning, and I got stuck on this exception Exception in thread "main" java.lang.UnsupportedClassVersionError: com/couchbase/spark/StoreMode : Unsupported major.minor version 52.0 Here is the simple code fragment val sc =

Re: Help with Couchbase connector error

2015-11-26 Thread Ted Yu
This implies version mismatch between the JDK used to build your jar and the one at runtime. When building, target JDK 1.7 There're plenty of posts on the web for dealing with such error. Cheers On Thu, Nov 26, 2015 at 7:31 AM, Eyal Sharon wrote: > Hi, > > I am trying to

Re: Help with Couchbase connector error

2015-11-26 Thread Eyal Sharon
Hi , Great , that gave some directions. But can you elaborate more? or share some post I am currently running JDK 7 , and my Couchbase too Thanks ! On Thu, Nov 26, 2015 at 6:02 PM, Ted Yu wrote: > This implies version mismatch between the JDK used to build your jar and >

Re: Help with Couchbase connector error

2015-11-26 Thread Ted Yu
StoreMode is from Couchbase connector. Where did you obtain the connector ? See also http://stackoverflow.com/questions/1096148/how-to-check-the-jdk-version-used-to-compile-a-class-file On Thu, Nov 26, 2015 at 8:55 AM, Eyal Sharon wrote: > Hi , > Great , that gave some