You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by vasiliy <za...@gmail.com> on 2014/09/11 08:55:36 UTC

Spark SQL Thrift JDBC server deployment for production

Hi, i have a question about spark sql Thrift JDBC server. 

Is there a best practice for spark SQL deployement ? If i understand right
script 

./sbin/start-thriftserver.sh 

starts Thrift JDBC server in local mode. Is there an script options for
running this server on yarn-cluster mode ?



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-Thrift-JDBC-server-deployment-for-production-tp13947.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


Re: Spark SQL Thrift JDBC server deployment for production

Posted by vasiliy <za...@gmail.com>.
it works, thanks



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-Thrift-JDBC-server-deployment-for-production-tp13947p14345.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


Re: Spark SQL Thrift JDBC server deployment for production

Posted by Michael Armbrust <mi...@databricks.com>.
Something like the following should let you launch the thrift server on
yarn.


HADOOP_CONF_DIR=/etc/hadoop/conf HIVE_SERVER2_THRIFT_PORT=12345 MASTER=yarn-
client ./sbin/start-thriftserver.sh


On Thu, Sep 11, 2014 at 8:30 PM, Denny Lee <de...@gmail.com> wrote:

> Could you provide some context about running this in yarn-cluster mode?
> The Thrift server that's included within Spark 1.1 is based on Hive 0.12.
> Hive has been able to work against YARN since Hive 0.10.  So when you start
> the thrift server, provided you copied the hive-site.xml over to the Spark
> conf folder, it should be able to connect to the same Hive metastore and
> then execute Hive against your YARN cluster.
>
> On Wed, Sep 10, 2014 at 11:55 PM, vasiliy <za...@gmail.com> wrote:
>
>> Hi, i have a question about spark sql Thrift JDBC server.
>>
>> Is there a best practice for spark SQL deployement ? If i understand right
>> script
>>
>> ./sbin/start-thriftserver.sh
>>
>> starts Thrift JDBC server in local mode. Is there an script options for
>> running this server on yarn-cluster mode ?
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-Thrift-JDBC-server-deployment-for-production-tp13947.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
>>
>>
>

Re: Spark SQL Thrift JDBC server deployment for production

Posted by Denny Lee <de...@gmail.com>.
Could you provide some context about running this in yarn-cluster mode?
The Thrift server that's included within Spark 1.1 is based on Hive 0.12.
Hive has been able to work against YARN since Hive 0.10.  So when you start
the thrift server, provided you copied the hive-site.xml over to the Spark
conf folder, it should be able to connect to the same Hive metastore and
then execute Hive against your YARN cluster.

On Wed, Sep 10, 2014 at 11:55 PM, vasiliy <za...@gmail.com> wrote:

> Hi, i have a question about spark sql Thrift JDBC server.
>
> Is there a best practice for spark SQL deployement ? If i understand right
> script
>
> ./sbin/start-thriftserver.sh
>
> starts Thrift JDBC server in local mode. Is there an script options for
> running this server on yarn-cluster mode ?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-Thrift-JDBC-server-deployment-for-production-tp13947.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
>
>