spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Armbrust <mich...@databricks.com>
Subject Re: tableau spark sql cassandra
Date Wed, 19 Nov 2014 18:57:23 GMT
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 <jererc@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-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message