Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/16521#discussion_r97390391
--- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
@@ -607,6 +607,10 @@ class SparkConf(loadDefaults: Boolean) extends
Cloneable with Logging with Seria
"\"client\".")
}
}
+
+ val encryptionEnabled = get(NETWORK_ENCRYPTION_ENABLED) ||
get(SASL_ENCRYPTION_ENABLED)
+ require(!encryptionEnabled || get(NETWORK_AUTH_ENABLED),
+ s"${NETWORK_AUTH_ENABLED.key} must be enabled when enabling
encryption.")
--- End diff --
Disable what case?
You need to be able to configure them separately, and if for some weird
reason you want RPC encryption but don't want shuffle encryption when talking
to an old shuffle service, these settings allow that.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]