{"action":"closed","number":131,"pull_request":{"url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/131","id":27804688,"html_url":"https://github.com/amplab-extras/SparkR-pkg/pull/131","diff_url":"https://github.com/amplab-extras/SparkR-pkg/pull/131.diff","patch_url":"https://github.com/amplab-extras/SparkR-pkg/pull/131.patch","issue_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/issues/131","number":131,"state":"closed","locked":false,"title":"[SPARKR-177] New R to Java bridge","user":{"login":"shivaram","id":143893,"avatar_url":"https://avatars.githubusercontent.com/u/143893?v=3","gravatar_id":"","url":"https://api.github.com/users/shivaram","html_url":"https://github.com/shivaram","followers_url":"https://api.github.com/users/shivaram/followers","following_url":"https://api.github.com/users/shivaram/following{/other_user}","gists_url":"https://api.github.com/users/shivaram/gists{/gist_id}","starred_url":"https://api.github.com/users/shivaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivaram/subscriptions","organizations_url":"https://api.github.com/users/shivaram/orgs","repos_url":"https://api.github.com/users/shivaram/repos","events_url":"https://api.github.com/users/shivaram/events{/privacy}","received_events_url":"https://api.github.com/users/shivaram/received_events","type":"User","site_admin":false},"body":"This PR introduces a new R to Java bridge to be used on the driver side. The newly introduced SparkRBackend is a netty-based server that opens a socket for communicating with R. We use Java reflection to support creating objects and invoking methods on these objects. More details can be found in https://docs.google.com/document/d/1hscJX3VAp3GW2h24GvUIP1UXfcq8gmxTqml1dcDuL6I/edit\r\n\r\nThis is joint work with @sun-rui \r\n\r\n@concretevitamin @sun-rui -- It will be great if you can review this change for code structure, understandability and make sure I haven't missed anything that needs to be updated.","created_at":"2015-01-21T23:19:41Z","updated_at":"2015-01-26T06:00:59Z","closed_at":"2015-01-26T06:00:59Z","merged_at":"2015-01-26T06:00:59Z","merge_commit_sha":"016847828de5a87bc1b55d59b38dcd852e5f560d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/131/commits","review_comments_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/131/comments","review_comment_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/comments/{number}","comments_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/issues/131/comments","statuses_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/statuses/1fa722e43391ab3f5763006d903e42301f43a4c1","head":{"label":"shivaram:rJavaExpt","ref":"rJavaExpt","sha":"1fa722e43391ab3f5763006d903e42301f43a4c1","user":{"login":"shivaram","id":143893,"avatar_url":"https://avatars.githubusercontent.com/u/143893?v=3","gravatar_id":"","url":"https://api.github.com/users/shivaram","html_url":"https://github.com/shivaram","followers_url":"https://api.github.com/users/shivaram/followers","following_url":"https://api.github.com/users/shivaram/following{/other_user}","gists_url":"https://api.github.com/users/shivaram/gists{/gist_id}","starred_url":"https://api.github.com/users/shivaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivaram/subscriptions","organizations_url":"https://api.github.com/users/shivaram/orgs","repos_url":"https://api.github.com/users/shivaram/repos","events_url":"https://api.github.com/users/shivaram/events{/privacy}","received_events_url":"https://api.github.com/users/shivaram/received_events","type":"User","site_admin":false},"repo":{"id":16079623,"name":"SparkR-pkg","full_name":"shivaram/SparkR-pkg","owner":{"login":"shivaram","id":143893,"avatar_url":"https://avatars.githubusercontent.com/u/143893?v=3","gravatar_id":"","url":"https://api.github.com/users/shivaram","html_url":"https://github.com/shivaram","followers_url":"https://api.github.com/users/shivaram/followers","following_url":"https://api.github.com/users/shivaram/following{/other_user}","gists_url":"https://api.github.com/users/shivaram/gists{/gist_id}","starred_url":"https://api.github.com/users/shivaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivaram/subscriptions","organizations_url":"https://api.github.com/users/shivaram/orgs","repos_url":"https://api.github.com/users/shivaram/repos","events_url":"https://api.github.com/users/shivaram/events{/privacy}","received_events_url":"https://api.github.com/users/shivaram/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shivaram/SparkR-pkg","description":"R frontend for Spark","fork":true,"url":"https://api.github.com/repos/shivaram/SparkR-pkg","forks_url":"https://api.github.com/repos/shivaram/SparkR-pkg/forks","keys_url":"https://api.github.com/repos/shivaram/SparkR-pkg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shivaram/SparkR-pkg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shivaram/SparkR-pkg/teams","hooks_url":"https://api.github.com/repos/shivaram/SparkR-pkg/hooks","issue_events_url":"https://api.github.com/repos/shivaram/SparkR-pkg/issues/events{/number}","events_url":"https://api.github.com/repos/shivaram/SparkR-pkg/events","assignees_url":"https://api.github.com/repos/shivaram/SparkR-pkg/assignees{/user}","branches_url":"https://api.github.com/repos/shivaram/SparkR-pkg/branches{/branch}","tags_url":"https://api.github.com/repos/shivaram/SparkR-pkg/tags","blobs_url":"https://api.github.com/repos/shivaram/SparkR-pkg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shivaram/SparkR-pkg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shivaram/SparkR-pkg/git/refs{/sha}","trees_url":"https://api.github.com/repos/shivaram/SparkR-pkg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shivaram/SparkR-pkg/statuses/{sha}","languages_url":"https://api.github.com/repos/shivaram/SparkR-pkg/languages","stargazers_url":"https://api.github.com/repos/shivaram/SparkR-pkg/stargazers","contributors_url":"https://api.github.com/repos/shivaram/SparkR-pkg/contributors","subscribers_url":"https://api.github.com/repos/shivaram/SparkR-pkg/subscribers","subscription_url":"https://api.github.com/repos/shivaram/SparkR-pkg/subscription","commits_url":"https://api.github.com/repos/shivaram/SparkR-pkg/commits{/sha}","git_commits_url":"https://api.github.com/repos/shivaram/SparkR-pkg/git/commits{/sha}","comments_url":"https://api.github.com/repos/shivaram/SparkR-pkg/comments{/number}","issue_comment_url":"https://api.github.com/repos/shivaram/SparkR-pkg/issues/comments/{number}","contents_url":"https://api.github.com/repos/shivaram/SparkR-pkg/contents/{+path}","compare_url":"https://api.github.com/repos/shivaram/SparkR-pkg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shivaram/SparkR-pkg/merges","archive_url":"https://api.github.com/repos/shivaram/SparkR-pkg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shivaram/SparkR-pkg/downloads","issues_url":"https://api.github.com/repos/shivaram/SparkR-pkg/issues{/number}","pulls_url":"https://api.github.com/repos/shivaram/SparkR-pkg/pulls{/number}","milestones_url":"https://api.github.com/repos/shivaram/SparkR-pkg/milestones{/number}","notifications_url":"https://api.github.com/repos/shivaram/SparkR-pkg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shivaram/SparkR-pkg/labels{/name}","releases_url":"https://api.github.com/repos/shivaram/SparkR-pkg/releases{/id}","created_at":"2014-01-20T18:46:29Z","updated_at":"2015-01-02T20:32:53Z","pushed_at":"2015-01-26T05:37:15Z","git_url":"git://github.com/shivaram/SparkR-pkg.git","ssh_url":"git@github.com:shivaram/SparkR-pkg.git","clone_url":"https://github.com/shivaram/SparkR-pkg.git","svn_url":"https://github.com/shivaram/SparkR-pkg","homepage":"http://amplab-extras.github.io/SparkR-pkg","size":3698,"stargazers_count":1,"watchers_count":1,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"amplab-extras:master","ref":"master","sha":"bcd4258888473c5dac5c2a6e8f1d61e3ba847857","user":{"login":"amplab-extras","id":6403540,"avatar_url":"https://avatars.githubusercontent.com/u/6403540?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab-extras","html_url":"https://github.com/amplab-extras","followers_url":"https://api.github.com/users/amplab-extras/followers","following_url":"https://api.github.com/users/amplab-extras/following{/other_user}","gists_url":"https://api.github.com/users/amplab-extras/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab-extras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab-extras/subscriptions","organizations_url":"https://api.github.com/users/amplab-extras/orgs","repos_url":"https://api.github.com/users/amplab-extras/repos","events_url":"https://api.github.com/users/amplab-extras/events{/privacy}","received_events_url":"https://api.github.com/users/amplab-extras/received_events","type":"Organization","site_admin":false},"repo":{"id":15365789,"name":"SparkR-pkg","full_name":"amplab-extras/SparkR-pkg","owner":{"login":"amplab-extras","id":6403540,"avatar_url":"https://avatars.githubusercontent.com/u/6403540?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab-extras","html_url":"https://github.com/amplab-extras","followers_url":"https://api.github.com/users/amplab-extras/followers","following_url":"https://api.github.com/users/amplab-extras/following{/other_user}","gists_url":"https://api.github.com/users/amplab-extras/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab-extras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab-extras/subscriptions","organizations_url":"https://api.github.com/users/amplab-extras/orgs","repos_url":"https://api.github.com/users/amplab-extras/repos","events_url":"https://api.github.com/users/amplab-extras/events{/privacy}","received_events_url":"https://api.github.com/users/amplab-extras/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplab-extras/SparkR-pkg","description":"R frontend for Spark","fork":false,"url":"https://api.github.com/repos/amplab-extras/SparkR-pkg","forks_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/forks","keys_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/teams","hooks_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/hooks","issue_events_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/issues/events{/number}","events_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/events","assignees_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/assignees{/user}","branches_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/branches{/branch}","tags_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/tags","blobs_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/statuses/{sha}","languages_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/languages","stargazers_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/stargazers","contributors_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/contributors","subscribers_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/subscribers","subscription_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/subscription","commits_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/issues/comments/{number}","contents_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/contents/{+path}","compare_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/merges","archive_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/downloads","issues_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/issues{/number}","pulls_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls{/number}","milestones_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/milestones{/number}","notifications_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/labels{/name}","releases_url":"https://api.github.com/repos/amplab-extras/SparkR-pkg/releases{/id}","created_at":"2013-12-21T21:16:54Z","updated_at":"2015-01-25T03:38:20Z","pushed_at":"2015-01-26T06:00:59Z","git_url":"git://github.com/amplab-extras/SparkR-pkg.git","ssh_url":"git@github.com:amplab-extras/SparkR-pkg.git","clone_url":"https://github.com/amplab-extras/SparkR-pkg.git","svn_url":"https://github.com/amplab-extras/SparkR-pkg","homepage":"http://amplab-extras.github.io/SparkR-pkg","size":4391,"stargazers_count":374,"watchers_count":374,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":124,"mirror_url":null,"open_issues_count":20,"forks":124,"open_issues":20,"watchers":374,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/131"},"html":{"href":"https://github.com/amplab-extras/SparkR-pkg/pull/131"},"issue":{"href":"https://api.github.com/repos/amplab-extras/SparkR-pkg/issues/131"},"comments":{"href":"https://api.github.com/repos/amplab-extras/SparkR-pkg/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/amplab-extras/SparkR-pkg/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/amplab-extras/SparkR-pkg/statuses/1fa722e43391ab3f5763006d903e42301f43a4c1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shivaram","id":143893,"avatar_url":"https://avatars.githubusercontent.com/u/143893?v=3","gravatar_id":"","url":"https://api.github.com/users/shivaram","html_url":"https://github.com/shivaram","followers_url":"https://api.github.com/users/shivaram/followers","following_url":"https://api.github.com/users/shivaram/following{/other_user}","gists_url":"https://api.github.com/users/shivaram/gists{/gist_id}","starred_url":"https://api.github.com/users/shivaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivaram/subscriptions","organizations_url":"https://api.github.com/users/shivaram/orgs","repos_url":"https://api.github.com/users/shivaram/repos","events_url":"https://api.github.com/users/shivaram/events{/privacy}","received_events_url":"https://api.github.com/users/shivaram/received_events","type":"User","site_admin":false},"comments":18,"review_comments":169,"commits":32,"additions":1243,"deletions":333,"changed_files":23}}