Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/6676#issuecomment-110578274
BTW, using an env variable is mostly a trivial change. You just change the
non-YARN path in `SecurityManager::generateSecretKey`; basically, on the driver
side, generate a secret, and call
`sparkConf.setExecutorEnv("_SPARK_AUTH_SECRET")`. On the executor side, you
just do `sys.env.get("_SPARK_AUTH_SECRET")`.
Nothing else in the rest of the code should need to change.
---
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]