{"action":"opened","number":16370,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/16370","id":98879439,"html_url":"https://github.com/apache/spark/pull/16370","diff_url":"https://github.com/apache/spark/pull/16370.diff","patch_url":"https://github.com/apache/spark/pull/16370.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/16370","number":16370,"state":"open","locked":false,"title":"[SPARK-18960][SQL][SS] Avoid double reading file which is being copied.","user":{"login":"uncleGen","id":7402327,"avatar_url":"https://avatars.githubusercontent.com/u/7402327?v=3","gravatar_id":"","url":"https://api.github.com/users/uncleGen","html_url":"https://github.com/uncleGen","followers_url":"https://api.github.com/users/uncleGen/followers","following_url":"https://api.github.com/users/uncleGen/following{/other_user}","gists_url":"https://api.github.com/users/uncleGen/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleGen/subscriptions","organizations_url":"https://api.github.com/users/uncleGen/orgs","repos_url":"https://api.github.com/users/uncleGen/repos","events_url":"https://api.github.com/users/uncleGen/events{/privacy}","received_events_url":"https://api.github.com/users/uncleGen/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nIn HDFS, when we copy a file into target directory, there will a temporary `._COPY_` file for a period of time. The duration depends on file size. If we do not skip this file, we will may read the same data for two times.\r\n\r\n## How was this patch tested?\r\nupdate unit test\r\n","created_at":"2016-12-21T06:32:16Z","updated_at":"2016-12-21T06:32:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/16370/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/16370/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/16370/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/1d248c30bb6872494b82fe16a584b9b801058c58","head":{"label":"uncleGen:SPARK-18960","ref":"SPARK-18960","sha":"1d248c30bb6872494b82fe16a584b9b801058c58","user":{"login":"uncleGen","id":7402327,"avatar_url":"https://avatars.githubusercontent.com/u/7402327?v=3","gravatar_id":"","url":"https://api.github.com/users/uncleGen","html_url":"https://github.com/uncleGen","followers_url":"https://api.github.com/users/uncleGen/followers","following_url":"https://api.github.com/users/uncleGen/following{/other_user}","gists_url":"https://api.github.com/users/uncleGen/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleGen/subscriptions","organizations_url":"https://api.github.com/users/uncleGen/orgs","repos_url":"https://api.github.com/users/uncleGen/repos","events_url":"https://api.github.com/users/uncleGen/events{/privacy}","received_events_url":"https://api.github.com/users/uncleGen/received_events","type":"User","site_admin":false},"repo":{"id":23988410,"name":"spark","full_name":"uncleGen/spark","owner":{"login":"uncleGen","id":7402327,"avatar_url":"https://avatars.githubusercontent.com/u/7402327?v=3","gravatar_id":"","url":"https://api.github.com/users/uncleGen","html_url":"https://github.com/uncleGen","followers_url":"https://api.github.com/users/uncleGen/followers","following_url":"https://api.github.com/users/uncleGen/following{/other_user}","gists_url":"https://api.github.com/users/uncleGen/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleGen/subscriptions","organizations_url":"https://api.github.com/users/uncleGen/orgs","repos_url":"https://api.github.com/users/uncleGen/repos","events_url":"https://api.github.com/users/uncleGen/events{/privacy}","received_events_url":"https://api.github.com/users/uncleGen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uncleGen/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/uncleGen/spark","forks_url":"https://api.github.com/repos/uncleGen/spark/forks","keys_url":"https://api.github.com/repos/uncleGen/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uncleGen/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uncleGen/spark/teams","hooks_url":"https://api.github.com/repos/uncleGen/spark/hooks","issue_events_url":"https://api.github.com/repos/uncleGen/spark/issues/events{/number}","events_url":"https://api.github.com/repos/uncleGen/spark/events","assignees_url":"https://api.github.com/repos/uncleGen/spark/assignees{/user}","branches_url":"https://api.github.com/repos/uncleGen/spark/branches{/branch}","tags_url":"https://api.github.com/repos/uncleGen/spark/tags","blobs_url":"https://api.github.com/repos/uncleGen/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uncleGen/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uncleGen/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/uncleGen/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uncleGen/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/uncleGen/spark/languages","stargazers_url":"https://api.github.com/repos/uncleGen/spark/stargazers","contributors_url":"https://api.github.com/repos/uncleGen/spark/contributors","subscribers_url":"https://api.github.com/repos/uncleGen/spark/subscribers","subscription_url":"https://api.github.com/repos/uncleGen/spark/subscription","commits_url":"https://api.github.com/repos/uncleGen/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/uncleGen/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/uncleGen/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/uncleGen/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/uncleGen/spark/contents/{+path}","compare_url":"https://api.github.com/repos/uncleGen/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uncleGen/spark/merges","archive_url":"https://api.github.com/repos/uncleGen/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uncleGen/spark/downloads","issues_url":"https://api.github.com/repos/uncleGen/spark/issues{/number}","pulls_url":"https://api.github.com/repos/uncleGen/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/uncleGen/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/uncleGen/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uncleGen/spark/labels{/name}","releases_url":"https://api.github.com/repos/uncleGen/spark/releases{/id}","deployments_url":"https://api.github.com/repos/uncleGen/spark/deployments","created_at":"2014-09-13T07:16:52Z","updated_at":"2015-03-24T04:21:04Z","pushed_at":"2016-12-21T06:30:20Z","git_url":"git://github.com/uncleGen/spark.git","ssh_url":"git@github.com:uncleGen/spark.git","clone_url":"https://github.com/uncleGen/spark.git","svn_url":"https://github.com/uncleGen/spark","homepage":null,"size":247671,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"b2dd8ec6b2c05c996e2d7c0bf8db0073c1ee0b94","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","deployments_url":"https://api.github.com/repos/apache/spark/deployments","created_at":"2014-02-25T08:00:08Z","updated_at":"2016-12-21T04:43:00Z","pushed_at":"2016-12-21T06:11:48Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":258796,"stargazers_count":11151,"watchers_count":11151,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10461,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":456,"forks":10461,"open_issues":456,"watchers":11151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/16370"},"html":{"href":"https://github.com/apache/spark/pull/16370"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/16370"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/16370/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/16370/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/16370/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/1d248c30bb6872494b82fe16a584b9b801058c58"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"uncleGen"}}