Re: HiveThriftServer2.startWithContext no more showing tables in 1.6.2

2016-07-21 Thread Todd Nist
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: https://community.hortonworks.com/questions/29090/i-cant

Re: HiveThriftServer2.startWithContext no more showing tables in 1.6.2

2016-07-21 Thread Marco Colombo
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() > .setMaster("spark://10.0.2.15:7077") > .setMaster("lo

Re: HiveThriftServer2.startWithContext no more showing tables in 1.6.2

2016-07-21 Thread Mich Talebzadeh
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

Re: hivethriftserver2 problems on upgrade to 1.6.0

2016-01-27 Thread Deenar Toraskar
James The problem you are facing is due to a feature introduced in Spark 1.6 - multi-session mode, if you want to see temporary tables across session, *set spark.sql.hive.thriftServer.singleSession=true* - From Spark 1.6, by default the Thrift server runs in multi-session mode. Which means

Re: HiveThriftServer2.startWithContext error with registerTempTable

2015-07-16 Thread Srikanth
*From:* Srikanth [mailto:srikanth...@gmail.com] > *Sent:* Thursday, July 16, 2015 9:36 AM > *To:* user > *Subject:* Re: HiveThriftServer2.startWithContext error with > registerTempTable > > > > Hello, > > > > Re-sending this to see if I'm second time lucky! >

RE: HiveThriftServer2.startWithContext error with registerTempTable

2015-07-15 Thread Cheng, Hao
Have you ever try query the “select * from temp_table” from the spark shell? Or can you try the option --jars while starting the spark shell? From: Srikanth [mailto:srikanth...@gmail.com] Sent: Thursday, July 16, 2015 9:36 AM To: user Subject: Re: HiveThriftServer2.startWithContext error with

Re: HiveThriftServer2.startWithContext error with registerTempTable

2015-07-15 Thread Srikanth
Hello, Re-sending this to see if I'm second time lucky! I've not managed to move past this error. Srikanth On Mon, Jul 13, 2015 at 9:14 PM, Srikanth wrote: > Hello, > > I want to expose result of Spark computation to external tools. I plan to > do this with Thrift server JDBC interface by regi

RE: HiveThriftServer2

2015-04-11 Thread Mohammed Guller
Thanks, Cheng. BTW, there is another thread on the same topic. It looks like the thrift-server will be published for 1.3.1. Mohammed From: Cheng Lian [mailto:lian.cs@gmail.com] Sent: Saturday, April 11, 2015 5:37 AM To: Mohammed Guller; user@spark.apache.org Subject: Re: HiveThriftServer2

Re: HiveThriftServer2

2015-04-11 Thread Cheng Lian
Unfortunately the spark-hive-thriftserver hasn't been published yet, you may either publish it locally or use it as an unmanaged SBT dependency. On 4/8/15 8:58 AM, Mohammed Guller wrote: Hi – I want to create an instance of HiveThriftServer2 in my Scala application, so I imported the follow