{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/18617","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/18617/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/18617/comments","events_url":"https://api.github.com/repos/apache/spark/issues/18617/events","html_url":"https://github.com/apache/spark/pull/18617","id":242579737,"number":18617,"title":"[SPARK-21376][YARN] Fix yarn client token expire issue when cleaning the staging files in long running scenario","user":{"login":"jerryshao","id":850797,"avatar_url":"https://avatars1.githubusercontent.com/u/850797?v=3","gravatar_id":"","url":"https://api.github.com/users/jerryshao","html_url":"https://github.com/jerryshao","followers_url":"https://api.github.com/users/jerryshao/followers","following_url":"https://api.github.com/users/jerryshao/following{/other_user}","gists_url":"https://api.github.com/users/jerryshao/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryshao/subscriptions","organizations_url":"https://api.github.com/users/jerryshao/orgs","repos_url":"https://api.github.com/users/jerryshao/repos","events_url":"https://api.github.com/users/jerryshao/events{/privacy}","received_events_url":"https://api.github.com/users/jerryshao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-13T04:05:52Z","updated_at":"2017-07-13T04:24:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/18617","html_url":"https://github.com/apache/spark/pull/18617","diff_url":"https://github.com/apache/spark/pull/18617.diff","patch_url":"https://github.com/apache/spark/pull/18617.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis issue happens in long running application with yarn cluster mode, because yarn#client doesn't sync token with AM, so it will always keep the initial token, this token may be expired in the long running scenario, so when yarn#client tries to clean up staging directory after application finished, it will use this expired token and meet token expire issue.\r\n\r\n## How was this patch tested?\r\n\r\nManual verification is secure cluster."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/314966987","html_url":"https://github.com/apache/spark/pull/18617#issuecomment-314966987","issue_url":"https://api.github.com/repos/apache/spark/issues/18617","id":314966987,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars0.githubusercontent.com/u/4031291?v=3","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-07-13T04:24:15Z","updated_at":"2017-07-13T04:24:15Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79577/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}