Github user sryza commented on the pull request: https://github.com/apache/spark/pull/29#issuecomment-36275981 I'm not familiar with what the secrets are used for as opposed to the tokens. Do you know the reason they're not needed in the MR1 code? Either way, having YarnSparkHadoopUtils override runAsUser with something that calls addCredentials doesn't sound too difficult.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---