I have a requirement to install Thrift server for spark to connect Tableau VIA ODBC/JDBC . Can someone help me the steps to install Thrift server
You can use...
./sbin/start-thriftserver.sh --master yarn-client --executor-memory 512m --hiveconf hive.server2.thrift.port=100015
For more information go to below link
Thanks for the update. But the above command is to start the thrift server or to just start ? I need to install . And my another question is. do i need to run the above command each and everytime when i use spark SQL ? please suggest
No, you dont need to use to run command everytime when you use spark sql.
Thriftserver is also used for Hive, with a default port of 10000. In order to ensure there are no problems, I change the port to 100015.
You may want to consider using Ambari to install and manage the Spark Thrift Server. Here's a link that explains how (for HDP 2.3): https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_spark-guide/content/install-sts-after-sp...
If you install standalone Spark it comes with ThriftServer.
If you install HDP 2.5 you get Spark and Thrift and all included with Ambari management.
See here: http://spark.apache.org/docs/latest/sql-programming-guide.html just run the shell script
download the version you want (probably Spark 1.6.2 or 2.0.1) and unzip