{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9851","labels_url":"https://api.github.com/repos/apache/spark/issues/9851/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9851/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9851/events","html_url":"https://github.com/apache/spark/pull/9851","id":117937733,"number":9851,"title":"[SPARK-11869] [ML] Clean up TempDirectory properly in ML tests","user":{"login":"jkbradley","id":5084283,"avatar_url":"https://avatars.githubusercontent.com/u/5084283?v=3","gravatar_id":"","url":"https://api.github.com/users/jkbradley","html_url":"https://github.com/jkbradley","followers_url":"https://api.github.com/users/jkbradley/followers","following_url":"https://api.github.com/users/jkbradley/following{/other_user}","gists_url":"https://api.github.com/users/jkbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/jkbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkbradley/subscriptions","organizations_url":"https://api.github.com/users/jkbradley/orgs","repos_url":"https://api.github.com/users/jkbradley/repos","events_url":"https://api.github.com/users/jkbradley/events{/privacy}","received_events_url":"https://api.github.com/users/jkbradley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-20T00:09:01Z","updated_at":"2015-11-20T00:15:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9851","html_url":"https://github.com/apache/spark/pull/9851","diff_url":"https://github.com/apache/spark/pull/9851.diff","patch_url":"https://github.com/apache/spark/pull/9851.patch"},"body":"Need to remove parent directory (```className```) rather than just tempDir (```className/random_name```)\r\n\r\nI tested this with IDFSuite, which has 2 read/write tests, and it fixes the problem.\r\n\r\nCC: @mengxr  Can you confirm this is fine?  I believe it is since the same ```random_name``` is used for all tests in a suite; we basically have an extra unneeded level of nesting."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/158240673","html_url":"https://github.com/apache/spark/pull/9851#issuecomment-158240673","issue_url":"https://api.github.com/repos/apache/spark/issues/9851","id":158240673,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","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":"2015-11-20T00:15:06Z","updated_at":"2015-11-20T00:15:06Z","body":"**[Test build #46374 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46374/consoleFull)** for PR 9851 at commit [`3dec507`](https://github.com/apache/spark/commit/3dec507913ede08c1e1d127feea654f713ce1b17)."}}