Configuring the Spark Thrift Server
Spark Thrift server is a service that allows JDBC and ODBC clients to run Spark SQL queries. The Spark Thrift server is a variant of HiveServer2.
This subsection describes optional Spark Thrift Server features and configuration steps:
Enabling user impersonation, so that SQL queries run under the identity of the user who originated the query. (By default, queries run under the account associated with the Spark Thrift server.)
Customizing the Spark Thrift server port.
For information about configuring the Thrift server on a Kerberos-enabled cluster, see Configuring the Spark Thrift Server in "Configuring Spark for a Kerberos-Enabled Cluster."