Enabling SSL for the Spark SQL Thrift Server
Communication with the Spark SQL Thrift Server can be encrypted using SSL.
Communication between the driver and with Spark SQL Thrift Server can be encrypted using SSL.
The following instructions give an example of how to set up SSL with a self-signed keystore and truststore.
There are two
instances of the hive-site.xml file.
For use with Spark, the default location of the hive-site.xml file is:
Installer-Services and Package installations | /etc/dse/spark/hive-site.xml |
Installer-No Services and Tarball installations | install_location/resources/spark/conf/hive-site.xml |
For use with Hive, the default location of the hive-site.xml file is:
Installer-Services and Package installations | /etc/dse/hive/hive-site.xml |
Installer-No Services and Tarball installations | install_location/resources/hive/conf/hive-site.xml |