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 <denny.g....@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 <zadonsk...@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-unsubscr...@spark.apache.org >> For additional commands, e-mail: user-h...@spark.apache.org >> >> >