{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/jubatus/jubaql-server/pulls/5","id":45899129,"html_url":"https://github.com/jubatus/jubaql-server/pull/5","diff_url":"https://github.com/jubatus/jubaql-server/pull/5.diff","patch_url":"https://github.com/jubatus/jubaql-server/pull/5.patch","issue_url":"https://api.github.com/repos/jubatus/jubaql-server/issues/5","number":5,"state":"open","locked":false,"title":"Implement SAVE / LOAD query","user":{"login":"kmaehashi","id":939877,"avatar_url":"https://avatars.githubusercontent.com/u/939877?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaehashi","html_url":"https://github.com/kmaehashi","followers_url":"https://api.github.com/users/kmaehashi/followers","following_url":"https://api.github.com/users/kmaehashi/following{/other_user}","gists_url":"https://api.github.com/users/kmaehashi/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaehashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaehashi/subscriptions","organizations_url":"https://api.github.com/users/kmaehashi/orgs","repos_url":"https://api.github.com/users/kmaehashi/repos","events_url":"https://api.github.com/users/kmaehashi/events{/privacy}","received_events_url":"https://api.github.com/users/kmaehashi/received_events","type":"User","site_admin":false},"body":"This PR implements SAVE / LOAD query to JubaQL system.\r\n\r\nThe syntax is as follows:\r\n\r\n```\r\nSAVE MODEL model_name USING path WITH ID = id\r\nLOAD MODEL model_name USING path WITH ID = id\r\n```\r\n\r\nFor example, in standalone mode,\r\n\r\n```\r\nSAVE MODEL test USING \"file:///home/data/models\" WITH ID = test001\r\nLOAD MODEL test USING \"file:///home/data/models\" WITH ID = test001\r\n```\r\n\r\nwill save a model file to / load a model file from `/home/data/models/test001/0.jubatus`.\r\nYou need to use hdfs:/// instead of file:/// for production mode.\r\n\r\nNotes:\r\n* This patch depends on https://github.com/jubatus/jubatus-on-yarn/pull/8.\r\n* Documentation needs to be added once this patch got merged.","created_at":"2015-09-24T13:50:43Z","updated_at":"2015-09-24T13:50:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jubatus/jubaql-server/pulls/5/commits","review_comments_url":"https://api.github.com/repos/jubatus/jubaql-server/pulls/5/comments","review_comment_url":"https://api.github.com/repos/jubatus/jubaql-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jubatus/jubaql-server/issues/5/comments","statuses_url":"https://api.github.com/repos/jubatus/jubaql-server/statuses/80efd83a2d6eca0b30b38c0bc7d69e57b815190e","head":{"label":"jubatus:add-save-load","ref":"add-save-load","sha":"80efd83a2d6eca0b30b38c0bc7d69e57b815190e","user":{"login":"jubatus","id":740604,"avatar_url":"https://avatars.githubusercontent.com/u/740604?v=3","gravatar_id":"","url":"https://api.github.com/users/jubatus","html_url":"https://github.com/jubatus","followers_url":"https://api.github.com/users/jubatus/followers","following_url":"https://api.github.com/users/jubatus/following{/other_user}","gists_url":"https://api.github.com/users/jubatus/gists{/gist_id}","starred_url":"https://api.github.com/users/jubatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubatus/subscriptions","organizations_url":"https://api.github.com/users/jubatus/orgs","repos_url":"https://api.github.com/users/jubatus/repos","events_url":"https://api.github.com/users/jubatus/events{/privacy}","received_events_url":"https://api.github.com/users/jubatus/received_events","type":"Organization","site_admin":false},"repo":{"id":31059715,"name":"jubaql-server","full_name":"jubatus/jubaql-server","owner":{"login":"jubatus","id":740604,"avatar_url":"https://avatars.githubusercontent.com/u/740604?v=3","gravatar_id":"","url":"https://api.github.com/users/jubatus","html_url":"https://github.com/jubatus","followers_url":"https://api.github.com/users/jubatus/followers","following_url":"https://api.github.com/users/jubatus/following{/other_user}","gists_url":"https://api.github.com/users/jubatus/gists{/gist_id}","starred_url":"https://api.github.com/users/jubatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubatus/subscriptions","organizations_url":"https://api.github.com/users/jubatus/orgs","repos_url":"https://api.github.com/users/jubatus/repos","events_url":"https://api.github.com/users/jubatus/events{/privacy}","received_events_url":"https://api.github.com/users/jubatus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jubatus/jubaql-server","description":"Server components of the JubaQL ecosystem","fork":false,"url":"https://api.github.com/repos/jubatus/jubaql-server","forks_url":"https://api.github.com/repos/jubatus/jubaql-server/forks","keys_url":"https://api.github.com/repos/jubatus/jubaql-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jubatus/jubaql-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jubatus/jubaql-server/teams","hooks_url":"https://api.github.com/repos/jubatus/jubaql-server/hooks","issue_events_url":"https://api.github.com/repos/jubatus/jubaql-server/issues/events{/number}","events_url":"https://api.github.com/repos/jubatus/jubaql-server/events","assignees_url":"https://api.github.com/repos/jubatus/jubaql-server/assignees{/user}","branches_url":"https://api.github.com/repos/jubatus/jubaql-server/branches{/branch}","tags_url":"https://api.github.com/repos/jubatus/jubaql-server/tags","blobs_url":"https://api.github.com/repos/jubatus/jubaql-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jubatus/jubaql-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jubatus/jubaql-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/jubatus/jubaql-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jubatus/jubaql-server/statuses/{sha}","languages_url":"https://api.github.com/repos/jubatus/jubaql-server/languages","stargazers_url":"https://api.github.com/repos/jubatus/jubaql-server/stargazers","contributors_url":"https://api.github.com/repos/jubatus/jubaql-server/contributors","subscribers_url":"https://api.github.com/repos/jubatus/jubaql-server/subscribers","subscription_url":"https://api.github.com/repos/jubatus/jubaql-server/subscription","commits_url":"https://api.github.com/repos/jubatus/jubaql-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/jubatus/jubaql-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/jubatus/jubaql-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/jubatus/jubaql-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/jubatus/jubaql-server/contents/{+path}","compare_url":"https://api.github.com/repos/jubatus/jubaql-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jubatus/jubaql-server/merges","archive_url":"https://api.github.com/repos/jubatus/jubaql-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jubatus/jubaql-server/downloads","issues_url":"https://api.github.com/repos/jubatus/jubaql-server/issues{/number}","pulls_url":"https://api.github.com/repos/jubatus/jubaql-server/pulls{/number}","milestones_url":"https://api.github.com/repos/jubatus/jubaql-server/milestones{/number}","notifications_url":"https://api.github.com/repos/jubatus/jubaql-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jubatus/jubaql-server/labels{/name}","releases_url":"https://api.github.com/repos/jubatus/jubaql-server/releases{/id}","created_at":"2015-02-20T10:13:37Z","updated_at":"2015-02-20T10:28:35Z","pushed_at":"2015-09-24T13:46:00Z","git_url":"git://github.com/jubatus/jubaql-server.git","ssh_url":"git@github.com:jubatus/jubaql-server.git","clone_url":"https://github.com/jubatus/jubaql-server.git","svn_url":"https://github.com/jubatus/jubaql-server","homepage":null,"size":352,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"jubatus:develop","ref":"develop","sha":"fe4df9ecd97f44c2365763f9cc13f8c08f934918","user":{"login":"jubatus","id":740604,"avatar_url":"https://avatars.githubusercontent.com/u/740604?v=3","gravatar_id":"","url":"https://api.github.com/users/jubatus","html_url":"https://github.com/jubatus","followers_url":"https://api.github.com/users/jubatus/followers","following_url":"https://api.github.com/users/jubatus/following{/other_user}","gists_url":"https://api.github.com/users/jubatus/gists{/gist_id}","starred_url":"https://api.github.com/users/jubatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubatus/subscriptions","organizations_url":"https://api.github.com/users/jubatus/orgs","repos_url":"https://api.github.com/users/jubatus/repos","events_url":"https://api.github.com/users/jubatus/events{/privacy}","received_events_url":"https://api.github.com/users/jubatus/received_events","type":"Organization","site_admin":false},"repo":{"id":31059715,"name":"jubaql-server","full_name":"jubatus/jubaql-server","owner":{"login":"jubatus","id":740604,"avatar_url":"https://avatars.githubusercontent.com/u/740604?v=3","gravatar_id":"","url":"https://api.github.com/users/jubatus","html_url":"https://github.com/jubatus","followers_url":"https://api.github.com/users/jubatus/followers","following_url":"https://api.github.com/users/jubatus/following{/other_user}","gists_url":"https://api.github.com/users/jubatus/gists{/gist_id}","starred_url":"https://api.github.com/users/jubatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubatus/subscriptions","organizations_url":"https://api.github.com/users/jubatus/orgs","repos_url":"https://api.github.com/users/jubatus/repos","events_url":"https://api.github.com/users/jubatus/events{/privacy}","received_events_url":"https://api.github.com/users/jubatus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jubatus/jubaql-server","description":"Server components of the JubaQL ecosystem","fork":false,"url":"https://api.github.com/repos/jubatus/jubaql-server","forks_url":"https://api.github.com/repos/jubatus/jubaql-server/forks","keys_url":"https://api.github.com/repos/jubatus/jubaql-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jubatus/jubaql-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jubatus/jubaql-server/teams","hooks_url":"https://api.github.com/repos/jubatus/jubaql-server/hooks","issue_events_url":"https://api.github.com/repos/jubatus/jubaql-server/issues/events{/number}","events_url":"https://api.github.com/repos/jubatus/jubaql-server/events","assignees_url":"https://api.github.com/repos/jubatus/jubaql-server/assignees{/user}","branches_url":"https://api.github.com/repos/jubatus/jubaql-server/branches{/branch}","tags_url":"https://api.github.com/repos/jubatus/jubaql-server/tags","blobs_url":"https://api.github.com/repos/jubatus/jubaql-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jubatus/jubaql-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jubatus/jubaql-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/jubatus/jubaql-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jubatus/jubaql-server/statuses/{sha}","languages_url":"https://api.github.com/repos/jubatus/jubaql-server/languages","stargazers_url":"https://api.github.com/repos/jubatus/jubaql-server/stargazers","contributors_url":"https://api.github.com/repos/jubatus/jubaql-server/contributors","subscribers_url":"https://api.github.com/repos/jubatus/jubaql-server/subscribers","subscription_url":"https://api.github.com/repos/jubatus/jubaql-server/subscription","commits_url":"https://api.github.com/repos/jubatus/jubaql-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/jubatus/jubaql-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/jubatus/jubaql-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/jubatus/jubaql-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/jubatus/jubaql-server/contents/{+path}","compare_url":"https://api.github.com/repos/jubatus/jubaql-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jubatus/jubaql-server/merges","archive_url":"https://api.github.com/repos/jubatus/jubaql-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jubatus/jubaql-server/downloads","issues_url":"https://api.github.com/repos/jubatus/jubaql-server/issues{/number}","pulls_url":"https://api.github.com/repos/jubatus/jubaql-server/pulls{/number}","milestones_url":"https://api.github.com/repos/jubatus/jubaql-server/milestones{/number}","notifications_url":"https://api.github.com/repos/jubatus/jubaql-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jubatus/jubaql-server/labels{/name}","releases_url":"https://api.github.com/repos/jubatus/jubaql-server/releases{/id}","created_at":"2015-02-20T10:13:37Z","updated_at":"2015-02-20T10:28:35Z","pushed_at":"2015-09-24T13:46:00Z","git_url":"git://github.com/jubatus/jubaql-server.git","ssh_url":"git@github.com:jubatus/jubaql-server.git","clone_url":"https://github.com/jubatus/jubaql-server.git","svn_url":"https://github.com/jubatus/jubaql-server","homepage":null,"size":352,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jubatus/jubaql-server/pulls/5"},"html":{"href":"https://github.com/jubatus/jubaql-server/pull/5"},"issue":{"href":"https://api.github.com/repos/jubatus/jubaql-server/issues/5"},"comments":{"href":"https://api.github.com/repos/jubatus/jubaql-server/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/jubatus/jubaql-server/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/jubatus/jubaql-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jubatus/jubaql-server/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/jubatus/jubaql-server/statuses/80efd83a2d6eca0b30b38c0bc7d69e57b815190e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":229,"deletions":8,"changed_files":4}}