{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/6026","labels_url":"https://api.github.com/repos/apache/spark/issues/6026/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/6026/comments","events_url":"https://api.github.com/repos/apache/spark/issues/6026/events","html_url":"https://github.com/apache/spark/pull/6026","id":74638832,"number":6026,"title":"[SPARK-7503][YARN] Resources in .sparkStaging directory can't be cleaned up on error","user":{"login":"sarutak","id":4736016,"avatar_url":"https://avatars.githubusercontent.com/u/4736016?v=3","gravatar_id":"","url":"https://api.github.com/users/sarutak","html_url":"https://github.com/sarutak","followers_url":"https://api.github.com/users/sarutak/followers","following_url":"https://api.github.com/users/sarutak/following{/other_user}","gists_url":"https://api.github.com/users/sarutak/gists{/gist_id}","starred_url":"https://api.github.com/users/sarutak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarutak/subscriptions","organizations_url":"https://api.github.com/users/sarutak/orgs","repos_url":"https://api.github.com/users/sarutak/repos","events_url":"https://api.github.com/users/sarutak/events{/privacy}","received_events_url":"https://api.github.com/users/sarutak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-05-09T10:06:57Z","updated_at":"2015-05-13T02:49:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6026","html_url":"https://github.com/apache/spark/pull/6026","diff_url":"https://github.com/apache/spark/pull/6026.diff","patch_url":"https://github.com/apache/spark/pull/6026.patch"},"body":"When we run applications on YARN with cluster mode, uploaded resources on .sparkStaging directory can't be cleaned up in case of failure of uploading local resources.\r\n\r\nYou can see this issue by running following command.\r\n```\r\nbin/spark-submit --master yarn --deploy-mode cluster --class <someClassName> <non-existing-jar>\r\n```"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/101488059","html_url":"https://github.com/apache/spark/pull/6026#issuecomment-101488059","issue_url":"https://api.github.com/repos/apache/spark/issues/6026","id":101488059,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.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":"2015-05-13T02:49:38Z","updated_at":"2015-05-13T02:49:38Z","body":"Test FAILed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32570/\nTest FAILed."}}