Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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.