The whole stacktrack/exception would be helpful.  Hive is an optional
dependency of Spark SQL, but you will need to include it if you are
planning to use the thrift server to connect to Tableau.  You can enable it
by add -Phive when you build Spark.

You might also try asking on the cassandra mailing list as there could be
something wrong with your configuration there.

On Wed, Nov 19, 2014 at 8:40 AM, jererc <jer...@gmail.com> wrote:

> Hello!
>
> I'm working on a POC with Spark SQL, where I’m trying to get data from
> Cassandra into Tableau using Spark SQL.
>
> Here is the stack:
> - cassandra (v2.1)
> - spark SQL (pre build v1.1 hadoop v2.4)
> - cassandra / spark sql connector
> (https://github.com/datastax/spark-cassandra-connector)
> - hive
> - mysql
> - hive / mysql connector
> - hive / cassandra handler
> (https://github.com/tuplejump/cash/tree/master/cassandra-handler)
> - tableau
> - tableau / spark sql connector
>
> I get an exception in spark-sql (bin/spark-sql) when trying to query the
> cassandra table (java.lang.InstantiationError:
> org.apache.hadoop.mapreduce.JobContext), it looks like a missing hadoop
> dependency; showing tables or describing them work fine.
>
> Do you know how to solve this without of hadoop?
> Is Hive a dependency in Spark SQL?
>
> Best,
> Jerome
>
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/tableau-spark-sql-cassandra-tp19282.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>
>

Reply via email to