Support Questions

Find answers, ask questions, and share your expertise

Enabling THRIFT SERVER for SPARK

avatar
Rising Star

Hi Team

How do i enable and start THRIFT SERVE for SPARK. Do i need to edit any configuration file. ?

What is the impact if i enable THRIFT SERVER ?

1 ACCEPTED SOLUTION

avatar
Master Guru

@suresh krish please take a look at our docs here to enable spark thrift server.

View solution in original post

3 REPLIES 3

avatar
Super Guru

There is no configuration required just run the spark thrift server as a spark user using following command

./sbin/start-thriftserver.sh --master yarn-client --executor-memory 512m --hiveconf hive.server2.thrift.port=100015

avatar
Master Guru

@suresh krish please take a look at our docs here to enable spark thrift server.

avatar

If you are using Ambari you can start the Spark ThriftServer by following the steps in the Spark documentation. Typically Ambari will setup the right configs under /etc/spark/conf. When you enable Spark ThriftServer it starts another service running as hive user.