{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/23686","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/23686/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/23686/comments","events_url":"https://api.github.com/repos/apache/spark/issues/23686/events","html_url":"https://github.com/apache/spark/pull/23686","id":404330564,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQ4NTM2OTk5","number":23686,"title":"[SPARK-26772][YARN] Delete ServiceCredentialProvider and make HadoopDelegationTokenProvider a developer API","user":{"login":"gaborgsomogyi","id":18561820,"node_id":"MDQ6VXNlcjE4NTYxODIw","avatar_url":"https://avatars2.githubusercontent.com/u/18561820?v=4","gravatar_id":"","url":"https://api.github.com/users/gaborgsomogyi","html_url":"https://github.com/gaborgsomogyi","followers_url":"https://api.github.com/users/gaborgsomogyi/followers","following_url":"https://api.github.com/users/gaborgsomogyi/following{/other_user}","gists_url":"https://api.github.com/users/gaborgsomogyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborgsomogyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborgsomogyi/subscriptions","organizations_url":"https://api.github.com/users/gaborgsomogyi/orgs","repos_url":"https://api.github.com/users/gaborgsomogyi/repos","events_url":"https://api.github.com/users/gaborgsomogyi/events{/privacy}","received_events_url":"https://api.github.com/users/gaborgsomogyi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2019-01-29T14:56:47Z","updated_at":"2019-02-14T17:41:46Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/23686","html_url":"https://github.com/apache/spark/pull/23686","diff_url":"https://github.com/apache/spark/pull/23686.diff","patch_url":"https://github.com/apache/spark/pull/23686.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\n`HadoopDelegationTokenProvider` has basically the same functionality just like `ServiceCredentialProvider` so the interfaces can be merged.\r\n\r\n`YARNHadoopDelegationTokenManager` now loads `ServiceCredentialProvider`s in one step. The drawback of this if one provider fails all others are not loaded. `HadoopDelegationTokenManager` loads `HadoopDelegationTokenProvider`s independently so it provides more robust behaviour.\r\n\r\nIn this PR I've I've made the following changes:\r\n* Deleted `YARNHadoopDelegationTokenManager` and `ServiceCredentialProvider`\r\n* Made `HadoopDelegationTokenProvider` a `@DeveloperApi`\r\n\r\n## How was this patch tested?\r\n\r\nExisting unit tests.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/463720754","html_url":"https://github.com/apache/spark/pull/23686#issuecomment-463720754","issue_url":"https://api.github.com/repos/apache/spark/issues/23686","id":463720754,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MzcyMDc1NA==","user":{"login":"SparkQA","id":8108735,"node_id":"MDQ6VXNlcjgxMDg3MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/8108735?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2019-02-14T17:41:46Z","updated_at":"2019-02-14T17:41:46Z","author_association":"NONE","body":"**[Test build #102359 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/102359/testReport)** for PR 23686 at commit [`73f1dd9`](https://github.com/apache/spark/commit/73f1dd9cd9a46b9de843309e700056d1375e1440)."}}
{"actor":{"display_login":"SparkQA"}}