{"action":"created","comment":{"url":"https://api.github.com/repos/ray-project/ray/pulls/comments/204986101","pull_request_review_id":140166054,"id":204986101,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDk4NjEwMQ==","diff_hunk":"@@ -0,0 +1,110 @@\n+import click\n+from flask import Flask, request, send_file\n+import io\n+import pickle\n+import pyarrow\n+from pyarrow import plasma as plasma\n+import sys\n+\n+app = Flask(__name__)","path":"python/ray/gateway.py","position":9,"original_position":9,"commit_id":"86b08fdea7189c3d5e34a7884562df189c2d6250","original_commit_id":"86b08fdea7189c3d5e34a7884562df189c2d6250","user":{"login":"robertnishihara","id":249517,"node_id":"MDQ6VXNlcjI0OTUxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/249517?v=4","gravatar_id":"","url":"https://api.github.com/users/robertnishihara","html_url":"https://github.com/robertnishihara","followers_url":"https://api.github.com/users/robertnishihara/followers","following_url":"https://api.github.com/users/robertnishihara/following{/other_user}","gists_url":"https://api.github.com/users/robertnishihara/gists{/gist_id}","starred_url":"https://api.github.com/users/robertnishihara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertnishihara/subscriptions","organizations_url":"https://api.github.com/users/robertnishihara/orgs","repos_url":"https://api.github.com/users/robertnishihara/repos","events_url":"https://api.github.com/users/robertnishihara/events{/privacy}","received_events_url":"https://api.github.com/users/robertnishihara/received_events","type":"User","site_admin":false},"body":"Ok sounds good.","created_at":"2018-07-25T05:38:46Z","updated_at":"2018-07-25T05:38:46Z","html_url":"https://github.com/ray-project/ray/pull/2282#discussion_r204986101","pull_request_url":"https://api.github.com/repos/ray-project/ray/pulls/2282","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ray-project/ray/pulls/comments/204986101"},"html":{"href":"https://github.com/ray-project/ray/pull/2282#discussion_r204986101"},"pull_request":{"href":"https://api.github.com/repos/ray-project/ray/pulls/2282"}},"in_reply_to_id":196975721},"pull_request":{"url":"https://api.github.com/repos/ray-project/ray/pulls/2282","id":196272587,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MjcyNTg3","html_url":"https://github.com/ray-project/ray/pull/2282","diff_url":"https://github.com/ray-project/ray/pull/2282.diff","patch_url":"https://github.com/ray-project/ray/pull/2282.patch","issue_url":"https://api.github.com/repos/ray-project/ray/issues/2282","number":2282,"state":"open","locked":false,"title":"[WIP] Support for external thin clients","user":{"login":"danielsuo","id":2692566,"node_id":"MDQ6VXNlcjI2OTI1NjY=","avatar_url":"https://avatars1.githubusercontent.com/u/2692566?v=4","gravatar_id":"","url":"https://api.github.com/users/danielsuo","html_url":"https://github.com/danielsuo","followers_url":"https://api.github.com/users/danielsuo/followers","following_url":"https://api.github.com/users/danielsuo/following{/other_user}","gists_url":"https://api.github.com/users/danielsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsuo/subscriptions","organizations_url":"https://api.github.com/users/danielsuo/orgs","repos_url":"https://api.github.com/users/danielsuo/repos","events_url":"https://api.github.com/users/danielsuo/events{/privacy}","received_events_url":"https://api.github.com/users/danielsuo/received_events","type":"User","site_admin":false},"body":"## What do these changes do?\r\n\r\nEnable a thin client (i.e., no processes besides the user's [Python] process) to connect to and use a Ray cluster that may be behind a firewall.\r\n\r\nA **BIG** caveat: this is currently prototype code and I believe one test is failing. May the internet forever be kind to us for posting this.\r\n\r\nGetting started:\r\n- Create a conda environment with the ```environment.yml``` file in the project directory\r\n- Run the tests ```python test/client_test.py```\r\n\r\nSome links\r\n- [Overview document](https://docs.google.com/document/d/1iVCrHBQeF4Xq5HqFOVSDTWLDtnnjpi0LaQEttkAI7fI/edit)\r\n- [Task list](https://docs.google.com/document/d/1IF1OdgS8w8WgXVSg2zUAOV7IFgq24SUu2Nf3HsGHkdc/edit)\r\n- [Some slides](https://docs.google.com/presentation/d/1HPTpLLnNT1O5EWepUBVM556mKUWqB0C53iY2tk5FiHg/edit#slide=id.g3d118c42b2_0_262)  for the visually inclined\r\n\r\n## Related issue number\r\n\r\nN/A\r\n","created_at":"2018-06-20T21:07:39Z","updated_at":"2018-07-25T05:38:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ray-project/ray/pulls/2282/commits","review_comments_url":"https://api.github.com/repos/ray-project/ray/pulls/2282/comments","review_comment_url":"https://api.github.com/repos/ray-project/ray/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ray-project/ray/issues/2282/comments","statuses_url":"https://api.github.com/repos/ray-project/ray/statuses/86b08fdea7189c3d5e34a7884562df189c2d6250","head":{"label":"brainiak:client","ref":"client","sha":"86b08fdea7189c3d5e34a7884562df189c2d6250","user":{"login":"brainiak","id":23051892,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDUxODky","avatar_url":"https://avatars0.githubusercontent.com/u/23051892?v=4","gravatar_id":"","url":"https://api.github.com/users/brainiak","html_url":"https://github.com/brainiak","followers_url":"https://api.github.com/users/brainiak/followers","following_url":"https://api.github.com/users/brainiak/following{/other_user}","gists_url":"https://api.github.com/users/brainiak/gists{/gist_id}","starred_url":"https://api.github.com/users/brainiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainiak/subscriptions","organizations_url":"https://api.github.com/users/brainiak/orgs","repos_url":"https://api.github.com/users/brainiak/repos","events_url":"https://api.github.com/users/brainiak/events{/privacy}","received_events_url":"https://api.github.com/users/brainiak/received_events","type":"Organization","site_admin":false},"repo":{"id":109032256,"node_id":"MDEwOlJlcG9zaXRvcnkxMDkwMzIyNTY=","name":"ray","full_name":"brainiak/ray","owner":{"login":"brainiak","id":23051892,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDUxODky","avatar_url":"https://avatars0.githubusercontent.com/u/23051892?v=4","gravatar_id":"","url":"https://api.github.com/users/brainiak","html_url":"https://github.com/brainiak","followers_url":"https://api.github.com/users/brainiak/followers","following_url":"https://api.github.com/users/brainiak/following{/other_user}","gists_url":"https://api.github.com/users/brainiak/gists{/gist_id}","starred_url":"https://api.github.com/users/brainiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainiak/subscriptions","organizations_url":"https://api.github.com/users/brainiak/orgs","repos_url":"https://api.github.com/users/brainiak/repos","events_url":"https://api.github.com/users/brainiak/events{/privacy}","received_events_url":"https://api.github.com/users/brainiak/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brainiak/ray","description":"Fork used for development of Ray-based BrainIAK features","fork":true,"url":"https://api.github.com/repos/brainiak/ray","forks_url":"https://api.github.com/repos/brainiak/ray/forks","keys_url":"https://api.github.com/repos/brainiak/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainiak/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainiak/ray/teams","hooks_url":"https://api.github.com/repos/brainiak/ray/hooks","issue_events_url":"https://api.github.com/repos/brainiak/ray/issues/events{/number}","events_url":"https://api.github.com/repos/brainiak/ray/events","assignees_url":"https://api.github.com/repos/brainiak/ray/assignees{/user}","branches_url":"https://api.github.com/repos/brainiak/ray/branches{/branch}","tags_url":"https://api.github.com/repos/brainiak/ray/tags","blobs_url":"https://api.github.com/repos/brainiak/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainiak/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainiak/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainiak/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainiak/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/brainiak/ray/languages","stargazers_url":"https://api.github.com/repos/brainiak/ray/stargazers","contributors_url":"https://api.github.com/repos/brainiak/ray/contributors","subscribers_url":"https://api.github.com/repos/brainiak/ray/subscribers","subscription_url":"https://api.github.com/repos/brainiak/ray/subscription","commits_url":"https://api.github.com/repos/brainiak/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainiak/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainiak/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainiak/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainiak/ray/contents/{+path}","compare_url":"https://api.github.com/repos/brainiak/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainiak/ray/merges","archive_url":"https://api.github.com/repos/brainiak/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainiak/ray/downloads","issues_url":"https://api.github.com/repos/brainiak/ray/issues{/number}","pulls_url":"https://api.github.com/repos/brainiak/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/brainiak/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/brainiak/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainiak/ray/labels{/name}","releases_url":"https://api.github.com/repos/brainiak/ray/releases{/id}","deployments_url":"https://api.github.com/repos/brainiak/ray/deployments","created_at":"2017-10-31T17:47:48Z","updated_at":"2018-06-06T18:59:00Z","pushed_at":"2018-06-14T15:56:58Z","git_url":"git://github.com/brainiak/ray.git","ssh_url":"git@github.com:brainiak/ray.git","clone_url":"https://github.com/brainiak/ray.git","svn_url":"https://github.com/brainiak/ray","homepage":"","size":10971,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"brainiak"}},"base":{"label":"ray-project:master","ref":"master","sha":"4acb77a5c3072978bd57d3c2d60a49e63361f6ee","user":{"login":"ray-project","id":22125274,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMTI1Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/22125274?v=4","gravatar_id":"","url":"https://api.github.com/users/ray-project","html_url":"https://github.com/ray-project","followers_url":"https://api.github.com/users/ray-project/followers","following_url":"https://api.github.com/users/ray-project/following{/other_user}","gists_url":"https://api.github.com/users/ray-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-project/subscriptions","organizations_url":"https://api.github.com/users/ray-project/orgs","repos_url":"https://api.github.com/users/ray-project/repos","events_url":"https://api.github.com/users/ray-project/events{/privacy}","received_events_url":"https://api.github.com/users/ray-project/received_events","type":"Organization","site_admin":false},"repo":{"id":71932349,"node_id":"MDEwOlJlcG9zaXRvcnk3MTkzMjM0OQ==","name":"ray","full_name":"ray-project/ray","owner":{"login":"ray-project","id":22125274,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMTI1Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/22125274?v=4","gravatar_id":"","url":"https://api.github.com/users/ray-project","html_url":"https://github.com/ray-project","followers_url":"https://api.github.com/users/ray-project/followers","following_url":"https://api.github.com/users/ray-project/following{/other_user}","gists_url":"https://api.github.com/users/ray-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-project/subscriptions","organizations_url":"https://api.github.com/users/ray-project/orgs","repos_url":"https://api.github.com/users/ray-project/repos","events_url":"https://api.github.com/users/ray-project/events{/privacy}","received_events_url":"https://api.github.com/users/ray-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ray-project/ray","description":"A high-performance distributed execution engine","fork":false,"url":"https://api.github.com/repos/ray-project/ray","forks_url":"https://api.github.com/repos/ray-project/ray/forks","keys_url":"https://api.github.com/repos/ray-project/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ray-project/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ray-project/ray/teams","hooks_url":"https://api.github.com/repos/ray-project/ray/hooks","issue_events_url":"https://api.github.com/repos/ray-project/ray/issues/events{/number}","events_url":"https://api.github.com/repos/ray-project/ray/events","assignees_url":"https://api.github.com/repos/ray-project/ray/assignees{/user}","branches_url":"https://api.github.com/repos/ray-project/ray/branches{/branch}","tags_url":"https://api.github.com/repos/ray-project/ray/tags","blobs_url":"https://api.github.com/repos/ray-project/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ray-project/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ray-project/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/ray-project/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ray-project/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/ray-project/ray/languages","stargazers_url":"https://api.github.com/repos/ray-project/ray/stargazers","contributors_url":"https://api.github.com/repos/ray-project/ray/contributors","subscribers_url":"https://api.github.com/repos/ray-project/ray/subscribers","subscription_url":"https://api.github.com/repos/ray-project/ray/subscription","commits_url":"https://api.github.com/repos/ray-project/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/ray-project/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/ray-project/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/ray-project/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/ray-project/ray/contents/{+path}","compare_url":"https://api.github.com/repos/ray-project/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ray-project/ray/merges","archive_url":"https://api.github.com/repos/ray-project/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ray-project/ray/downloads","issues_url":"https://api.github.com/repos/ray-project/ray/issues{/number}","pulls_url":"https://api.github.com/repos/ray-project/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/ray-project/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/ray-project/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ray-project/ray/labels{/name}","releases_url":"https://api.github.com/repos/ray-project/ray/releases{/id}","deployments_url":"https://api.github.com/repos/ray-project/ray/deployments","created_at":"2016-10-25T19:38:30Z","updated_at":"2018-07-25T03:51:30Z","pushed_at":"2018-07-25T05:21:35Z","git_url":"git://github.com/ray-project/ray.git","ssh_url":"git@github.com:ray-project/ray.git","clone_url":"https://github.com/ray-project/ray.git","svn_url":"https://github.com/ray-project/ray","homepage":"","size":13176,"stargazers_count":3761,"watchers_count":3761,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":502,"mirror_url":null,"archived":false,"open_issues_count":356,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":502,"open_issues":356,"watchers":3761,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ray-project/ray/pulls/2282"},"html":{"href":"https://github.com/ray-project/ray/pull/2282"},"issue":{"href":"https://api.github.com/repos/ray-project/ray/issues/2282"},"comments":{"href":"https://api.github.com/repos/ray-project/ray/issues/2282/comments"},"review_comments":{"href":"https://api.github.com/repos/ray-project/ray/pulls/2282/comments"},"review_comment":{"href":"https://api.github.com/repos/ray-project/ray/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ray-project/ray/pulls/2282/commits"},"statuses":{"href":"https://api.github.com/repos/ray-project/ray/statuses/86b08fdea7189c3d5e34a7884562df189c2d6250"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"robertnishihara"}}