{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/27087147","id":27087147,"diff_hunk":"@@ -229,6 +229,28 @@ See the [configuration page](configuration.html) for information on Spark config\n     the final overhead will be this value.\n   </td>\n </tr>\n+<tr>\n+  <td><code>spark.mesos.principal</code></td>\n+  <td>Framework principal to authenticate to Mesos</td>\n+  <td>\n+    Set the principal in which Spark framework will use to authenticate with Mesos.\n+  </td>\n+</tr>\n+<tr>\n+  <td><code>spark.mesos.secret</code></td>\n+  <td>Framework secret to authenticate to Mesos</td>\n+  <td>\n+    Set the secret in which Spark framework will use to authenticate with Mesos.","path":"docs/running-on-mesos.md","position":15,"original_position":15,"commit_id":"a5d3e8d7fbe640f6b0da5632adeef8102ed36119","original_commit_id":"a5d3e8d7fbe640f6b0da5632adeef8102ed36119","user":{"login":"andrewor14","id":2133137,"avatar_url":"https://avatars.githubusercontent.com/u/2133137?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewor14","html_url":"https://github.com/andrewor14","followers_url":"https://api.github.com/users/andrewor14/followers","following_url":"https://api.github.com/users/andrewor14/following{/other_user}","gists_url":"https://api.github.com/users/andrewor14/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewor14/subscriptions","organizations_url":"https://api.github.com/users/andrewor14/orgs","repos_url":"https://api.github.com/users/andrewor14/repos","events_url":"https://api.github.com/users/andrewor14/events{/privacy}","received_events_url":"https://api.github.com/users/andrewor14/received_events","type":"User","site_admin":false},"body":"\"with which\"? (same in the description for principal)","created_at":"2015-03-25T00:41:46Z","updated_at":"2015-03-25T00:41:46Z","html_url":"https://github.com/apache/spark/pull/4960#discussion_r27087147","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/4960","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/27087147"},"html":{"href":"https://github.com/apache/spark/pull/4960#discussion_r27087147"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/4960"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4960","id":30828077,"html_url":"https://github.com/apache/spark/pull/4960","diff_url":"https://github.com/apache/spark/pull/4960.diff","patch_url":"https://github.com/apache/spark/pull/4960.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/4960","number":4960,"state":"open","locked":false,"title":"[SPARK-6284][MESOS] Add mesos role, principal and secret","user":{"login":"tnachen","id":67244,"avatar_url":"https://avatars.githubusercontent.com/u/67244?v=3","gravatar_id":"","url":"https://api.github.com/users/tnachen","html_url":"https://github.com/tnachen","followers_url":"https://api.github.com/users/tnachen/followers","following_url":"https://api.github.com/users/tnachen/following{/other_user}","gists_url":"https://api.github.com/users/tnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/tnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnachen/subscriptions","organizations_url":"https://api.github.com/users/tnachen/orgs","repos_url":"https://api.github.com/users/tnachen/repos","events_url":"https://api.github.com/users/tnachen/events{/privacy}","received_events_url":"https://api.github.com/users/tnachen/received_events","type":"User","site_admin":false},"body":"Mesos supports framework authentication and role to be set per framework, which the role is used to identify the framework's role which impacts the sharing weight of resource allocation and optional authentication information to allow the framework to be connected to the master.","created_at":"2015-03-10T07:33:38Z","updated_at":"2015-03-25T00:41:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1e61a5bfdbd5f824200469aa538480f9d3b3fc9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/4960/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/4960/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/4960/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/a5d3e8d7fbe640f6b0da5632adeef8102ed36119","head":{"label":"tnachen:mesos_fw_auth","ref":"mesos_fw_auth","sha":"a5d3e8d7fbe640f6b0da5632adeef8102ed36119","user":{"login":"tnachen","id":67244,"avatar_url":"https://avatars.githubusercontent.com/u/67244?v=3","gravatar_id":"","url":"https://api.github.com/users/tnachen","html_url":"https://github.com/tnachen","followers_url":"https://api.github.com/users/tnachen/followers","following_url":"https://api.github.com/users/tnachen/following{/other_user}","gists_url":"https://api.github.com/users/tnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/tnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnachen/subscriptions","organizations_url":"https://api.github.com/users/tnachen/orgs","repos_url":"https://api.github.com/users/tnachen/repos","events_url":"https://api.github.com/users/tnachen/events{/privacy}","received_events_url":"https://api.github.com/users/tnachen/received_events","type":"User","site_admin":false},"repo":{"id":21994538,"name":"spark","full_name":"tnachen/spark","owner":{"login":"tnachen","id":67244,"avatar_url":"https://avatars.githubusercontent.com/u/67244?v=3","gravatar_id":"","url":"https://api.github.com/users/tnachen","html_url":"https://github.com/tnachen","followers_url":"https://api.github.com/users/tnachen/followers","following_url":"https://api.github.com/users/tnachen/following{/other_user}","gists_url":"https://api.github.com/users/tnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/tnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnachen/subscriptions","organizations_url":"https://api.github.com/users/tnachen/orgs","repos_url":"https://api.github.com/users/tnachen/repos","events_url":"https://api.github.com/users/tnachen/events{/privacy}","received_events_url":"https://api.github.com/users/tnachen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tnachen/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/tnachen/spark","forks_url":"https://api.github.com/repos/tnachen/spark/forks","keys_url":"https://api.github.com/repos/tnachen/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tnachen/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tnachen/spark/teams","hooks_url":"https://api.github.com/repos/tnachen/spark/hooks","issue_events_url":"https://api.github.com/repos/tnachen/spark/issues/events{/number}","events_url":"https://api.github.com/repos/tnachen/spark/events","assignees_url":"https://api.github.com/repos/tnachen/spark/assignees{/user}","branches_url":"https://api.github.com/repos/tnachen/spark/branches{/branch}","tags_url":"https://api.github.com/repos/tnachen/spark/tags","blobs_url":"https://api.github.com/repos/tnachen/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tnachen/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tnachen/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/tnachen/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tnachen/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/tnachen/spark/languages","stargazers_url":"https://api.github.com/repos/tnachen/spark/stargazers","contributors_url":"https://api.github.com/repos/tnachen/spark/contributors","subscribers_url":"https://api.github.com/repos/tnachen/spark/subscribers","subscription_url":"https://api.github.com/repos/tnachen/spark/subscription","commits_url":"https://api.github.com/repos/tnachen/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/tnachen/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/tnachen/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/tnachen/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/tnachen/spark/contents/{+path}","compare_url":"https://api.github.com/repos/tnachen/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tnachen/spark/merges","archive_url":"https://api.github.com/repos/tnachen/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tnachen/spark/downloads","issues_url":"https://api.github.com/repos/tnachen/spark/issues{/number}","pulls_url":"https://api.github.com/repos/tnachen/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/tnachen/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/tnachen/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tnachen/spark/labels{/name}","releases_url":"https://api.github.com/repos/tnachen/spark/releases{/id}","created_at":"2014-07-18T21:08:12Z","updated_at":"2015-03-12T16:55:55Z","pushed_at":"2015-03-24T23:33:05Z","git_url":"git://github.com/tnachen/spark.git","ssh_url":"git@github.com:tnachen/spark.git","clone_url":"https://github.com/tnachen/spark.git","svn_url":"https://github.com/tnachen/spark","homepage":null,"size":93430,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"b6090f902e6ec24923b4dde4aabc9076956521c1","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","created_at":"2014-02-25T08:00:08Z","updated_at":"2015-03-25T00:08:45Z","pushed_at":"2015-03-25T00:22:34Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":1433485,"stargazers_count":3353,"watchers_count":3353,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2889,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":295,"forks":2889,"open_issues":295,"watchers":3353,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/4960"},"html":{"href":"https://github.com/apache/spark/pull/4960"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/4960"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/4960/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/4960/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/4960/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/a5d3e8d7fbe640f6b0da5632adeef8102ed36119"}}}}