GitHub PullRequestEvent at 2014-11-11 01:46:17
Repository: spark
Actor: asfgit
Payload: {"action":"closed","number":2811,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/2811","id":22764851,"html_url":"https://github.com/apache/spark/pull/2811","diff_url":"https://github.com/apache/spark/pull/2811.diff","patch_url":"https://github.com/apache/spark/pull/2811.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/2811","number":2811,"state":"closed","locked":false,"title":"[SPARK-3954][Streaming] Optimization to FileInputDStream","user":{"login":"surq","id":7835606,"avatar_url":"https://avatars.githubusercontent.com/u/7835606?v=3","gravatar_id":"","url":"https://api.github.com/users/surq","html_url":"https://github.com/surq","followers_url":"https://api.github.com/users/surq/followers","following_url":"https://api.github.com/users/surq/following{/other_user}","gists_url":"https://api.github.com/users/surq/gists{/gist_id}","starred_url":"https://api.github.com/users/surq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surq/subscriptions","organizations_url":"https://api.github.com/users/surq/orgs","repos_url":"https://api.github.com/users/surq/repos","events_url":"https://api.github.com/users/surq/events{/privacy}","received_events_url":"https://api.github.com/users/surq/received_events","type":"User","site_admin":false},"body":"about convert files to RDDS there are 3 loops with files sequence in spark source.\r\nloops files sequence:\r\n1.files.map(...)\r\n2.files.zip(fileRDDs)\r\n3.files-size.foreach\r\nIt's will very time consuming when lots of files.So I do the following correction:\r\n3 loops with files sequence => only one loop\r\n","created_at":"2014-10-15T07:20:37Z","updated_at":"2014-11-11T01:46:17Z","closed_at":"2014-11-11T01:46:17Z","merged_at":null,"merge_commit_sha":"755f087e8faae9f8aadcc8375c32edd85b608144","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/2811/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/2811/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments/{number}","comments_url":"https://api.github.com/repos/apache/spark/issues/2811/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/321bbe84ee3126db50f15f15a509ad647431b95a","head":{"label":"surq:SPARK-3954","ref":"SPARK-3954","sha":"321bbe84ee3126db50f15f15a509ad647431b95a","user":{"login":"surq","id":7835606,"avatar_url":"https://avatars.githubusercontent.com/u/7835606?v=3","gravatar_id":"","url":"https://api.github.com/users/surq","html_url":"https://github.com/surq","followers_url":"https://api.github.com/users/surq/followers","following_url":"https://api.github.com/users/surq/following{/other_user}","gists_url":"https://api.github.com/users/surq/gists{/gist_id}","starred_url":"https://api.github.com/users/surq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surq/subscriptions","organizations_url":"https://api.github.com/users/surq/orgs","repos_url":"https://api.github.com/users/surq/repos","events_url":"https://api.github.com/users/surq/events{/privacy}","received_events_url":"https://api.github.com/users/surq/received_events","type":"User","site_admin":false},"repo":{"id":25241656,"name":"spark","full_name":"surq/spark","owner":{"login":"surq","id":7835606,"avatar_url":"https://avatars.githubusercontent.com/u/7835606?v=3","gravatar_id":"","url":"https://api.github.com/users/surq","html_url":"https://github.com/surq","followers_url":"https://api.github.com/users/surq/followers","following_url":"https://api.github.com/users/surq/following{/other_user}","gists_url":"https://api.github.com/users/surq/gists{/gist_id}","starred_url":"https://api.github.com/users/surq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surq/subscriptions","organizations_url":"https://api.github.com/users/surq/orgs","repos_url":"https://api.github.com/users/surq/repos","events_url":"https://api.github.com/users/surq/events{/privacy}","received_events_url":"https://api.github.com/users/surq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/surq/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/surq/spark","forks_url":"https://api.github.com/repos/surq/spark/forks","keys_url":"https://api.github.com/repos/surq/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/surq/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/surq/spark/teams","hooks_url":"https://api.github.com/repos/surq/spark/hooks","issue_events_url":"https://api.github.com/repos/surq/spark/issues/events{/number}","events_url":"https://api.github.com/repos/surq/spark/events","assignees_url":"https://api.github.com/repos/surq/spark/assignees{/user}","branches_url":"https://api.github.com/repos/surq/spark/branches{/branch}","tags_url":"https://api.github.com/repos/surq/spark/tags","blobs_url":"https://api.github.com/repos/surq/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/surq/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/surq/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/surq/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/surq/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/surq/spark/languages","stargazers_url":"https://api.github.com/repos/surq/spark/stargazers","contributors_url":"https://api.github.com/repos/surq/spark/contributors","subscribers_url":"https://api.github.com/repos/surq/spark/subscribers","subscription_url":"https://api.github.com/repos/surq/spark/subscription","commits_url":"https://api.github.com/repos/surq/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/surq/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/surq/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/surq/spark/issues/comments/{number}","contents_url":"https://api.github.com/repos/surq/spark/contents/{+path}","compare_url":"https://api.github.com/repos/surq/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/surq/spark/merges","archive_url":"https://api.github.com/repos/surq/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/surq/spark/downloads","issues_url":"https://api.github.com/repos/surq/spark/issues{/number}","pulls_url":"https://api.github.com/repos/surq/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/surq/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/surq/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/surq/spark/labels{/name}","releases_url":"https://api.github.com/repos/surq/spark/releases{/id}","created_at":"2014-10-15T06:25:38Z","updated_at":"2014-10-17T02:28:27Z","pushed_at":"2014-11-10T02:30:23Z","git_url":"git://github.com/surq/spark.git","ssh_url":"git@github.com:surq/spark.git","clone_url":"https://github.com/surq/spark.git","svn_url":"https://github.com/surq/spark","homepage":null,"size":82322,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"1ae51f6dc7e79a88dfe54a2c488b540fdbf51212","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}","created_at":"2014-02-25T08:00:08Z","updated_at":"2014-11-11T01:34:11Z","pushed_at":"2014-11-11T01:45:33Z","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":3989037,"stargazers_count":2001,"watchers_count":2001,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1776,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":276,"forks":1776,"open_issues":276,"watchers":2001,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/2811"},"html":{"href":"https://github.com/apache/spark/pull/2811"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/2811"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/2811/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/2811/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/2811/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/321bbe84ee3126db50f15f15a509ad647431b95a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":19,"review_comments":2,"commits":5,"additions":4,"deletions":3,"changed_files":1}}