Starting Spark SQL Thrift Server with Kerberos
Starting Spark SQL Thrift Server with Kerberos and BYOS.
Spark SQL Thrift Server is a long running service and must be configured to start with a keytab file if Kerberos is enabled. The user principal must be added to DSE, and Spark SQL Thrift Server restarted with the generated BYOS configuration file and byos-version.jar.
Prerequisites
These instructions are for the Spark SQL Thrift Server included in HortonWorks 2.4.
The Hadoop Spark SQL Thrift Server principal is
hive/_HOST@REALM
.
Procedure
What's next
Generated SQL schema files can be
passed to beeline with the -f
option to generate
a mapping for DSE tables so both Hadoop and DataStax Enterprise tables will be
available through the service for queries.