Configure SASL Encryption for Spark on YARN

Complete the following steps to enable SASL encryption manually:
  1. Verify that authentication is enabled, or configure authentication. SASL encryption uses the same authentication keys.
  2. Configure the following property in the spark-defaults.conf file on each spark node.
    spark.authenticate.enableSaslEncryption true

    The spark-defaults.conf file is in the following location: /opt/mapr/spark/spark-<version>/conf/