Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/8880#discussion_r47001872
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -447,6 +449,11 @@ class SparkContext(config: SparkConf) extends Logging
with ExecutorAllocationCli
_conf.set("spark.externalBlockStore.folderName",
externalBlockStoreFolderName)
if (master == "yarn-client") System.setProperty("SPARK_YARN_MODE",
"true")
+ if (CryptoConf.isShuffleEncrypted(_conf)) {
+ if (!SparkHadoopUtil.get.isYarnMode()) {
+ logError("Shuffle encryption is only supported in Yarn mode!")
--- End diff --
So, you probably want something stronger than just a log. Either:
- Fix the configuration so that encryption is disabled (and say that in the
log message).
- Throw an exception.
---
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]