This is due to a change in 1.6, by default the Thrift server runs in
multi-session mode. You would want to set the following to true on your
spark config.
spark-default.conf set spark.sql.hive.thriftServer.singleSession
Good write up here:
Thanks.
That is just a typo. I'm using on 'spark://10.0.2.15:7077' (standalone).
Same url used in --master in spark-submit
2016-07-21 16:08 GMT+02:00 Mich Talebzadeh :
> Hi Marco
>
> In your code
>
> val conf = new SparkConf()
>
Hi Marco
In your code
val conf = new SparkConf()
.setMaster("spark://10.0.2.15:7077")
.setMaster("local")
.set("spark.cassandra.connection.host", "10.0.2.15")
.setAppName("spark-sql-dataexample");
As I understand the first .setMaster("spark://:7077 indicates
that you are
Hi all, I have a spark application that was working in 1.5.2, but now has a
problem in 1.6.2.
Here is an example:
val conf = new SparkConf()
.setMaster("spark://10.0.2.15:7077")
.setMaster("local")
.set("spark.cassandra.connection.host", "10.0.2.15")