{"action":"created","comment":{"url":"https://api.github.com/repos/cloudera/livy/pulls/comments/51788504","id":51788504,"diff_hunk":"@@ -80,6 +99,22 @@ class ClientSession(val sessionId: Int, createRequest: CreateClientRequest)\n     new JobStatus(id, status.state, status.result, status.error)\n   }\n \n+","path":"spark/src/main/scala/com/cloudera/livy/spark/client/ClientSession.scala","position":61,"original_position":61,"commit_id":"de3d0bf3f2d5f457e62bde82e9d0e0626f1965e2","original_commit_id":"029852358d9cc95a1a131dab1b28b240a040175a","user":{"login":"vanzin","id":1694083,"avatar_url":"https://avatars.githubusercontent.com/u/1694083?v=3","gravatar_id":"","url":"https://api.github.com/users/vanzin","html_url":"https://github.com/vanzin","followers_url":"https://api.github.com/users/vanzin/followers","following_url":"https://api.github.com/users/vanzin/following{/other_user}","gists_url":"https://api.github.com/users/vanzin/gists{/gist_id}","starred_url":"https://api.github.com/users/vanzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanzin/subscriptions","organizations_url":"https://api.github.com/users/vanzin/orgs","repos_url":"https://api.github.com/users/vanzin/repos","events_url":"https://api.github.com/users/vanzin/events{/privacy}","received_events_url":"https://api.github.com/users/vanzin/received_events","type":"User","site_admin":false},"body":"nit: extra blank line","created_at":"2016-02-03T21:17:52Z","updated_at":"2016-02-03T21:17:52Z","html_url":"https://github.com/cloudera/livy/pull/46#discussion_r51788504","pull_request_url":"https://api.github.com/repos/cloudera/livy/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/cloudera/livy/pulls/comments/51788504"},"html":{"href":"https://github.com/cloudera/livy/pull/46#discussion_r51788504"},"pull_request":{"href":"https://api.github.com/repos/cloudera/livy/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/cloudera/livy/pulls/46","id":57692232,"html_url":"https://github.com/cloudera/livy/pull/46","diff_url":"https://github.com/cloudera/livy/pull/46.diff","patch_url":"https://github.com/cloudera/livy/pull/46.patch","issue_url":"https://api.github.com/repos/cloudera/livy/issues/46","number":46,"state":"open","locked":false,"title":"Support file/jar upload.","user":{"login":"harishreedharan","id":1481194,"avatar_url":"https://avatars.githubusercontent.com/u/1481194?v=3","gravatar_id":"","url":"https://api.github.com/users/harishreedharan","html_url":"https://github.com/harishreedharan","followers_url":"https://api.github.com/users/harishreedharan/followers","following_url":"https://api.github.com/users/harishreedharan/following{/other_user}","gists_url":"https://api.github.com/users/harishreedharan/gists{/gist_id}","starred_url":"https://api.github.com/users/harishreedharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harishreedharan/subscriptions","organizations_url":"https://api.github.com/users/harishreedharan/orgs","repos_url":"https://api.github.com/users/harishreedharan/repos","events_url":"https://api.github.com/users/harishreedharan/events{/privacy}","received_events_url":"https://api.github.com/users/harishreedharan/received_events","type":"User","site_admin":false},"body":"- Modified the servlet to add upload support\r\n- Add 2 new APIs: `uploadFile` and `uploadJar` which upload the files from the client to Livy\r\nTodo: tests.","created_at":"2016-01-29T19:35:39Z","updated_at":"2016-02-03T21:17:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6400483138e556e92cde252f93ded1899782bced","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudera/livy/pulls/46/commits","review_comments_url":"https://api.github.com/repos/cloudera/livy/pulls/46/comments","review_comment_url":"https://api.github.com/repos/cloudera/livy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudera/livy/issues/46/comments","statuses_url":"https://api.github.com/repos/cloudera/livy/statuses/de3d0bf3f2d5f457e62bde82e9d0e0626f1965e2","head":{"label":"harishreedharan:upload","ref":"upload","sha":"de3d0bf3f2d5f457e62bde82e9d0e0626f1965e2","user":{"login":"harishreedharan","id":1481194,"avatar_url":"https://avatars.githubusercontent.com/u/1481194?v=3","gravatar_id":"","url":"https://api.github.com/users/harishreedharan","html_url":"https://github.com/harishreedharan","followers_url":"https://api.github.com/users/harishreedharan/followers","following_url":"https://api.github.com/users/harishreedharan/following{/other_user}","gists_url":"https://api.github.com/users/harishreedharan/gists{/gist_id}","starred_url":"https://api.github.com/users/harishreedharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harishreedharan/subscriptions","organizations_url":"https://api.github.com/users/harishreedharan/orgs","repos_url":"https://api.github.com/users/harishreedharan/repos","events_url":"https://api.github.com/users/harishreedharan/events{/privacy}","received_events_url":"https://api.github.com/users/harishreedharan/received_events","type":"User","site_admin":false},"repo":{"id":47665353,"name":"livy","full_name":"harishreedharan/livy","owner":{"login":"harishreedharan","id":1481194,"avatar_url":"https://avatars.githubusercontent.com/u/1481194?v=3","gravatar_id":"","url":"https://api.github.com/users/harishreedharan","html_url":"https://github.com/harishreedharan","followers_url":"https://api.github.com/users/harishreedharan/followers","following_url":"https://api.github.com/users/harishreedharan/following{/other_user}","gists_url":"https://api.github.com/users/harishreedharan/gists{/gist_id}","starred_url":"https://api.github.com/users/harishreedharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harishreedharan/subscriptions","organizations_url":"https://api.github.com/users/harishreedharan/orgs","repos_url":"https://api.github.com/users/harishreedharan/repos","events_url":"https://api.github.com/users/harishreedharan/events{/privacy}","received_events_url":"https://api.github.com/users/harishreedharan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harishreedharan/livy","description":"","fork":true,"url":"https://api.github.com/repos/harishreedharan/livy","forks_url":"https://api.github.com/repos/harishreedharan/livy/forks","keys_url":"https://api.github.com/repos/harishreedharan/livy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harishreedharan/livy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harishreedharan/livy/teams","hooks_url":"https://api.github.com/repos/harishreedharan/livy/hooks","issue_events_url":"https://api.github.com/repos/harishreedharan/livy/issues/events{/number}","events_url":"https://api.github.com/repos/harishreedharan/livy/events","assignees_url":"https://api.github.com/repos/harishreedharan/livy/assignees{/user}","branches_url":"https://api.github.com/repos/harishreedharan/livy/branches{/branch}","tags_url":"https://api.github.com/repos/harishreedharan/livy/tags","blobs_url":"https://api.github.com/repos/harishreedharan/livy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harishreedharan/livy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harishreedharan/livy/git/refs{/sha}","trees_url":"https://api.github.com/repos/harishreedharan/livy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harishreedharan/livy/statuses/{sha}","languages_url":"https://api.github.com/repos/harishreedharan/livy/languages","stargazers_url":"https://api.github.com/repos/harishreedharan/livy/stargazers","contributors_url":"https://api.github.com/repos/harishreedharan/livy/contributors","subscribers_url":"https://api.github.com/repos/harishreedharan/livy/subscribers","subscription_url":"https://api.github.com/repos/harishreedharan/livy/subscription","commits_url":"https://api.github.com/repos/harishreedharan/livy/commits{/sha}","git_commits_url":"https://api.github.com/repos/harishreedharan/livy/git/commits{/sha}","comments_url":"https://api.github.com/repos/harishreedharan/livy/comments{/number}","issue_comment_url":"https://api.github.com/repos/harishreedharan/livy/issues/comments{/number}","contents_url":"https://api.github.com/repos/harishreedharan/livy/contents/{+path}","compare_url":"https://api.github.com/repos/harishreedharan/livy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harishreedharan/livy/merges","archive_url":"https://api.github.com/repos/harishreedharan/livy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harishreedharan/livy/downloads","issues_url":"https://api.github.com/repos/harishreedharan/livy/issues{/number}","pulls_url":"https://api.github.com/repos/harishreedharan/livy/pulls{/number}","milestones_url":"https://api.github.com/repos/harishreedharan/livy/milestones{/number}","notifications_url":"https://api.github.com/repos/harishreedharan/livy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harishreedharan/livy/labels{/name}","releases_url":"https://api.github.com/repos/harishreedharan/livy/releases{/id}","deployments_url":"https://api.github.com/repos/harishreedharan/livy/deployments","created_at":"2015-12-09T03:08:44Z","updated_at":"2015-12-09T03:08:45Z","pushed_at":"2016-02-03T21:08:02Z","git_url":"git://github.com/harishreedharan/livy.git","ssh_url":"git@github.com:harishreedharan/livy.git","clone_url":"https://github.com/harishreedharan/livy.git","svn_url":"https://github.com/harishreedharan/livy","homepage":null,"size":431,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"cloudera:master","ref":"master","sha":"b4c270680067485ec3c8c7a483ad88f7e35c4619","user":{"login":"cloudera","id":87383,"avatar_url":"https://avatars.githubusercontent.com/u/87383?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudera","html_url":"https://github.com/cloudera","followers_url":"https://api.github.com/users/cloudera/followers","following_url":"https://api.github.com/users/cloudera/following{/other_user}","gists_url":"https://api.github.com/users/cloudera/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudera/subscriptions","organizations_url":"https://api.github.com/users/cloudera/orgs","repos_url":"https://api.github.com/users/cloudera/repos","events_url":"https://api.github.com/users/cloudera/events{/privacy}","received_events_url":"https://api.github.com/users/cloudera/received_events","type":"Organization","site_admin":false},"repo":{"id":46328956,"name":"livy","full_name":"cloudera/livy","owner":{"login":"cloudera","id":87383,"avatar_url":"https://avatars.githubusercontent.com/u/87383?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudera","html_url":"https://github.com/cloudera","followers_url":"https://api.github.com/users/cloudera/followers","following_url":"https://api.github.com/users/cloudera/following{/other_user}","gists_url":"https://api.github.com/users/cloudera/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudera/subscriptions","organizations_url":"https://api.github.com/users/cloudera/orgs","repos_url":"https://api.github.com/users/cloudera/repos","events_url":"https://api.github.com/users/cloudera/events{/privacy}","received_events_url":"https://api.github.com/users/cloudera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudera/livy","description":"Livy is an open source REST interface for interacting with Apache Spark from anywhere","fork":false,"url":"https://api.github.com/repos/cloudera/livy","forks_url":"https://api.github.com/repos/cloudera/livy/forks","keys_url":"https://api.github.com/repos/cloudera/livy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudera/livy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudera/livy/teams","hooks_url":"https://api.github.com/repos/cloudera/livy/hooks","issue_events_url":"https://api.github.com/repos/cloudera/livy/issues/events{/number}","events_url":"https://api.github.com/repos/cloudera/livy/events","assignees_url":"https://api.github.com/repos/cloudera/livy/assignees{/user}","branches_url":"https://api.github.com/repos/cloudera/livy/branches{/branch}","tags_url":"https://api.github.com/repos/cloudera/livy/tags","blobs_url":"https://api.github.com/repos/cloudera/livy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudera/livy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudera/livy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudera/livy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudera/livy/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudera/livy/languages","stargazers_url":"https://api.github.com/repos/cloudera/livy/stargazers","contributors_url":"https://api.github.com/repos/cloudera/livy/contributors","subscribers_url":"https://api.github.com/repos/cloudera/livy/subscribers","subscription_url":"https://api.github.com/repos/cloudera/livy/subscription","commits_url":"https://api.github.com/repos/cloudera/livy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudera/livy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudera/livy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudera/livy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudera/livy/contents/{+path}","compare_url":"https://api.github.com/repos/cloudera/livy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudera/livy/merges","archive_url":"https://api.github.com/repos/cloudera/livy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudera/livy/downloads","issues_url":"https://api.github.com/repos/cloudera/livy/issues{/number}","pulls_url":"https://api.github.com/repos/cloudera/livy/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudera/livy/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudera/livy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudera/livy/labels{/name}","releases_url":"https://api.github.com/repos/cloudera/livy/releases{/id}","deployments_url":"https://api.github.com/repos/cloudera/livy/deployments","created_at":"2015-11-17T06:55:45Z","updated_at":"2016-02-01T20:33:24Z","pushed_at":"2016-02-03T21:08:02Z","git_url":"git://github.com/cloudera/livy.git","ssh_url":"git@github.com:cloudera/livy.git","clone_url":"https://github.com/cloudera/livy.git","svn_url":"https://github.com/cloudera/livy","homepage":"","size":465,"stargazers_count":33,"watchers_count":33,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":7,"forks":15,"open_issues":7,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudera/livy/pulls/46"},"html":{"href":"https://github.com/cloudera/livy/pull/46"},"issue":{"href":"https://api.github.com/repos/cloudera/livy/issues/46"},"comments":{"href":"https://api.github.com/repos/cloudera/livy/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudera/livy/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudera/livy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudera/livy/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/cloudera/livy/statuses/de3d0bf3f2d5f457e62bde82e9d0e0626f1965e2"}}}}