Looks like a version mismatch, make sure you are having the same versions
of jars everywhere (datanucleus jars etc). There was a similar discussion
over here https://issues.apache.org/jira/browse/SPARK-4199
Thanks
Best Regards
On Thu, Sep 3, 2015 at 9:59 AM, Tim Smith wrote:
Spark 1.3.0 (CDH 5.4.4)
scala> sqlContext.sql("SHOW TABLES").collect
res18: Array[org.apache.spark.sql.Row] = Array([allactivitydata,true],
[sample_07,false], [sample_08,false])
sqlContext.sql("SELECT COUNT(*) from allactivitydata").collect
res19: Array[org.apache.spark.sql.Row] =