aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2016-11-28 21:10:57 -0800
committerShixiong Zhu <shixiong@databricks.com>2016-11-28 21:10:57 -0800
commit8b325b17ecdf013b7a6edcb7ee3773546bd914df (patch)
treee2826f751402537582646f88fe3b905783fa2f7e /docs/configuration.md
parent1633ff3b6c97e33191859f34c868782cbb0972fd (diff)
downloadspark-8b325b17ecdf013b7a6edcb7ee3773546bd914df.tar.gz
spark-8b325b17ecdf013b7a6edcb7ee3773546bd914df.tar.bz2
spark-8b325b17ecdf013b7a6edcb7ee3773546bd914df.zip
[SPARK-18547][CORE] Propagate I/O encryption key when executors register.
This change modifies the method used to propagate encryption keys used during shuffle. Instead of relying on YARN's UserGroupInformation credential propagation, this change explicitly distributes the key using the messages exchanged between driver and executor during registration. When RPC encryption is enabled, this means key propagation is also secure. This allows shuffle encryption to work in non-YARN mode, which means that it's easier to write unit tests for areas of the code that are affected by the feature. The key is stored in the SecurityManager; because there are many instances of that class used in the code, the key is only guaranteed to exist in the instance managed by the SparkEnv. This path was chosen to avoid storing the key in the SparkConf, which would risk having the key being written to disk as part of the configuration (as, for example, is done when starting YARN applications). Tested by new and existing unit tests (which were moved from the YARN module to core), and by running apps with shuffle encryption enabled. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #15981 from vanzin/SPARK-18547.
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index aa201c6b6a..d8800e93da 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -590,7 +590,8 @@ Apart from these, the following properties are also available, and may be useful
<td><code>spark.io.encryption.enabled</code></td>
<td>false</td>
<td>
- Enable IO encryption. Only supported in YARN mode.
+ Enable IO encryption. Currently supported by all modes except Mesos. It's recommended that RPC encryption
+ be enabled when using this feature.
</td>
</tr>
<tr>