{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15866","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15866/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15866/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15866/events","html_url":"https://github.com/apache/spark/pull/15866","id":188930699,"number":15866,"title":"[SPARK-18422][CORE] Fix wholeTextFiles test to pass on Windows in JavaAPISuite","user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-12T19:44:17Z","updated_at":"2016-11-12T19:52:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15866","html_url":"https://github.com/apache/spark/pull/15866","diff_url":"https://github.com/apache/spark/pull/15866.diff","patch_url":"https://github.com/apache/spark/pull/15866.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis PR fixes the test `wholeTextFiles` in `JavaAPISuite.java`. This is failed due to the different path format on Windows.\r\n\r\nFor example, the path in `container` was\r\n\r\n```\r\nC:\\projects\\spark\\target\\tmp\\1478967560189-0/part-00000\r\n```\r\n\r\nwhereas `new URI(res._1()).getPath()` was as below:\r\n\r\n/C:/projects/spark/target/tmp/1478967560189-0/part-00000\r\n\r\n\r\n\r\n## How was this patch tested?\r\n\r\nTests in `JavaAPISuite.java`.\r\n\r\nTested via AppVeyor.\r\n\r\n**Before**\r\nBuild: https://ci.appveyor.com/project/spark-test/spark/build/63-JavaAPISuite-1\r\nDiff: https://github.com/apache/spark/compare/master...spark-test:JavaAPISuite-1\r\n\r\n**After**\r\nBuild: https://ci.appveyor.com/project/spark-test/spark\r\nDiff : https://github.com/apache/spark/compare/master...spark-test:JavaAPISuite"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/260144128","html_url":"https://github.com/apache/spark/pull/15866#issuecomment-260144128","issue_url":"https://api.github.com/repos/apache/spark/issues/15866","id":260144128,"user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T19:52:27Z","updated_at":"2016-11-12T19:52:27Z","body":"@srowen It seems `org.apache.spark.JavaAPISuite.writeWithNewAPIHadoopFile` is also being failed but the root cause seems different. That is being failed with the exception as below:\r\n\r\n```\r\njava.io.IOException: Could not rename file:\r\n...\r\n```\r\n\r\nAnd, other failures specified in the parent JIRA of this seems caused by the problems in `ReceiverTracker` we discussed in https://github.com/apache/spark/pull/15618\r\n\r\nWill try to make another PR soon for this."}}
{"actor":{"display_login":"HyukjinKwon"}}