Configuring the Spark Thrift Server on a Kerberos-Enabled Cluster
If you are installing the Spark Thrift Server on a Kerberos-secured cluster, the following instructions apply:
The Spark Thrift Server must run in the same host as
HiveServer2
, so that it can access thehiveserver2
keytab.Edit permissions in
/var/run/spark
and/var/log/spark
to specify read/write permissions to the Hive service account.Use the Hive service account to start the
thriftserver
process.
Note | |
---|---|
We recommend that you run the Spark Thrift Server as user |
Important | |
---|---|
When the Spark Thrift Server runs queries as user |
For Spark jobs that are not submitted through the Thrift Server, the user submitting the job
must have access to the Hive metastore in secure mode (via kinit
).