如何保护集成 Apache Spark 的连接?

How to secure a connection(s) that integrate Apache Spark?

我想问一下如何确保使用 apache spark 的集群之间的连接安全,主要是 spark-shell 和任何其他使用 spark 集群的 java 客户端?

我想避免使用 YARN 或 Mesos,因为它可能会不必要地使一切复杂化。

我知道这个信息:

https://spark.apache.org/docs/latest/api/java/org/apache/spark/SecurityManager.html

https://spark.apache.org/docs/latest/ec2-scripts.html

尽管如此,我还是想看看一些实现示例。 谢谢!

答案在配置页面而不是安全页面: http://spark.apache.org/docs/latest/configuration.html