{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/19437","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/19437/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/19437/comments","events_url":"https://api.github.com/repos/apache/spark/issues/19437/events","html_url":"https://github.com/apache/spark/pull/19437","id":263104621,"number":19437,"title":"[SPARK-22131][MESOS] Mesos driver secrets","user":{"login":"susanxhuynh","id":22622418,"avatar_url":"https://avatars1.githubusercontent.com/u/22622418?v=4","gravatar_id":"","url":"https://api.github.com/users/susanxhuynh","html_url":"https://github.com/susanxhuynh","followers_url":"https://api.github.com/users/susanxhuynh/followers","following_url":"https://api.github.com/users/susanxhuynh/following{/other_user}","gists_url":"https://api.github.com/users/susanxhuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/susanxhuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susanxhuynh/subscriptions","organizations_url":"https://api.github.com/users/susanxhuynh/orgs","repos_url":"https://api.github.com/users/susanxhuynh/repos","events_url":"https://api.github.com/users/susanxhuynh/events{/privacy}","received_events_url":"https://api.github.com/users/susanxhuynh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-10-05T12:20:51Z","updated_at":"2017-10-26T16:00:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/19437","html_url":"https://github.com/apache/spark/pull/19437","diff_url":"https://github.com/apache/spark/pull/19437.diff","patch_url":"https://github.com/apache/spark/pull/19437.patch"},"body":"## Background\r\n\r\nIn #18837 , @ArtRand added Mesos secrets support to the dispatcher. **This PR is to add the same secrets support to the drivers.** This means if the secret configs are set, the driver will launch executors that have access to either env or file-based secrets.\r\n\r\nOne use case for this is to support TLS in the driver <=> executor communication.\r\n\r\n## What changes were proposed in this pull request?\r\n\r\nMost of the changes are a refactor of the dispatcher secrets support (#18837) - moving it to a common place that can be used by both the dispatcher and drivers. The same goes for the unit tests.\r\n\r\n## How was this patch tested?\r\n\r\nThere are four config combinations: [env or file-based] x [value or reference secret]. For each combination:\r\n- Added a unit test.\r\n- Tested in DC/OS.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/339714538","html_url":"https://github.com/apache/spark/pull/19437#issuecomment-339714538","issue_url":"https://api.github.com/repos/apache/spark/issues/19437","id":339714538,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T16:00:38Z","updated_at":"2017-10-26T16:00:38Z","author_association":"NONE","body":"Merged build finished. Test PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}