{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/22624","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/22624/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/22624/comments","events_url":"https://api.github.com/repos/apache/spark/issues/22624/events","html_url":"https://github.com/apache/spark/pull/22624","id":366557821,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMjAyMDQz","number":22624,"title":"[SPARK-23781][CORE] Add base class for token renewal functionality.","user":{"login":"vanzin","id":1694083,"node_id":"MDQ6VXNlcjE2OTQwODM=","avatar_url":"https://avatars0.githubusercontent.com/u/1694083?v=4","gravatar_id":"","url":"https://api.github.com/users/vanzin","html_url":"https://github.com/vanzin","followers_url":"https://api.github.com/users/vanzin/followers","following_url":"https://api.github.com/users/vanzin/following{/other_user}","gists_url":"https://api.github.com/users/vanzin/gists{/gist_id}","starred_url":"https://api.github.com/users/vanzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanzin/subscriptions","organizations_url":"https://api.github.com/users/vanzin/orgs","repos_url":"https://api.github.com/users/vanzin/repos","events_url":"https://api.github.com/users/vanzin/events{/privacy}","received_events_url":"https://api.github.com/users/vanzin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-10-03T22:43:30Z","updated_at":"2018-10-09T16:52:45Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/22624","html_url":"https://github.com/apache/spark/pull/22624","diff_url":"https://github.com/apache/spark/pull/22624.diff","patch_url":"https://github.com/apache/spark/pull/22624.patch"},"body":"The base class is based on YARN's token renewer, with some new\r\nfunctionality to support the current usage in Mesos. It supports\r\nboth renewal (which you get when you provide a principal and keytab\r\nto Spark) and just creating an arbitrary set of tokens, which is\r\nused by Mesos in the non-renewal case.\r\n\r\nThe internal API is a little sub-optimal because YARN needs to defer\r\nsome of the initialization of the renewer; so the code needs to handle\r\nthe case where the renewer doesn't yet have a reference to the driver\r\nendpoint, for example.\r\n\r\nYARN was tested with custom app to stress the token renewal code in\r\na real cluster. Tested with a hacked up Mesos cluster, both with\r\npre-existing tgt and with keytab."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/428267953","html_url":"https://github.com/apache/spark/pull/22624#issuecomment-428267953","issue_url":"https://api.github.com/repos/apache/spark/issues/22624","id":428267953,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODI2Nzk1Mw==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","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":"2018-10-09T16:52:45Z","updated_at":"2018-10-09T16:52:45Z","author_association":"NONE","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3826/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}