{"action":"closed","number":584,"pull_request":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/584","id":84235168,"html_url":"https://github.com/spark-jobserver/spark-jobserver/pull/584","diff_url":"https://github.com/spark-jobserver/spark-jobserver/pull/584.diff","patch_url":"https://github.com/spark-jobserver/spark-jobserver/pull/584.patch","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/584","number":584,"state":"closed","locked":false,"title":"Convert SparkHiveJob to use new API","user":{"login":"CalebFenton","id":1356658,"avatar_url":"https://avatars.githubusercontent.com/u/1356658?v=3","gravatar_id":"","url":"https://api.github.com/users/CalebFenton","html_url":"https://github.com/CalebFenton","followers_url":"https://api.github.com/users/CalebFenton/followers","following_url":"https://api.github.com/users/CalebFenton/following{/other_user}","gists_url":"https://api.github.com/users/CalebFenton/gists{/gist_id}","starred_url":"https://api.github.com/users/CalebFenton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalebFenton/subscriptions","organizations_url":"https://api.github.com/users/CalebFenton/orgs","repos_url":"https://api.github.com/users/CalebFenton/repos","events_url":"https://api.github.com/users/CalebFenton/events{/privacy}","received_events_url":"https://api.github.com/users/CalebFenton/received_events","type":"User","site_admin":false},"body":"I wanted to use Hive jobs but it _looks_ like the only way to do that is by converting my jobs to the old, less type safe API. So I made this.\r\n\r\nI would've converted SQL jobs also but I wasn't sure if there was a reason why SparkHiveJob used the older API.\r\n","created_at":"2016-09-07T04:31:41Z","updated_at":"2016-10-18T21:31:17Z","closed_at":"2016-10-18T21:31:17Z","merged_at":"2016-10-18T21:31:17Z","merge_commit_sha":"aa54da276543cfa58d75ae29b692947028018dc6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/584/commits","review_comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/584/comments","review_comment_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/584/comments","statuses_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/statuses/2d796774b98714918ad2742881cc1b73d63f32a8","head":{"label":"CalebFenton:modernize_hive_jobs","ref":"modernize_hive_jobs","sha":"2d796774b98714918ad2742881cc1b73d63f32a8","user":{"login":"CalebFenton","id":1356658,"avatar_url":"https://avatars.githubusercontent.com/u/1356658?v=3","gravatar_id":"","url":"https://api.github.com/users/CalebFenton","html_url":"https://github.com/CalebFenton","followers_url":"https://api.github.com/users/CalebFenton/followers","following_url":"https://api.github.com/users/CalebFenton/following{/other_user}","gists_url":"https://api.github.com/users/CalebFenton/gists{/gist_id}","starred_url":"https://api.github.com/users/CalebFenton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalebFenton/subscriptions","organizations_url":"https://api.github.com/users/CalebFenton/orgs","repos_url":"https://api.github.com/users/CalebFenton/repos","events_url":"https://api.github.com/users/CalebFenton/events{/privacy}","received_events_url":"https://api.github.com/users/CalebFenton/received_events","type":"User","site_admin":false},"repo":{"id":67571661,"name":"spark-jobserver","full_name":"CalebFenton/spark-jobserver","owner":{"login":"CalebFenton","id":1356658,"avatar_url":"https://avatars.githubusercontent.com/u/1356658?v=3","gravatar_id":"","url":"https://api.github.com/users/CalebFenton","html_url":"https://github.com/CalebFenton","followers_url":"https://api.github.com/users/CalebFenton/followers","following_url":"https://api.github.com/users/CalebFenton/following{/other_user}","gists_url":"https://api.github.com/users/CalebFenton/gists{/gist_id}","starred_url":"https://api.github.com/users/CalebFenton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalebFenton/subscriptions","organizations_url":"https://api.github.com/users/CalebFenton/orgs","repos_url":"https://api.github.com/users/CalebFenton/repos","events_url":"https://api.github.com/users/CalebFenton/events{/privacy}","received_events_url":"https://api.github.com/users/CalebFenton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CalebFenton/spark-jobserver","description":"REST job server for Apache Spark","fork":true,"url":"https://api.github.com/repos/CalebFenton/spark-jobserver","forks_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/forks","keys_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/teams","hooks_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/hooks","issue_events_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/issues/events{/number}","events_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/events","assignees_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/assignees{/user}","branches_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/branches{/branch}","tags_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/tags","blobs_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/statuses/{sha}","languages_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/languages","stargazers_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/stargazers","contributors_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/contributors","subscribers_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/subscribers","subscription_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/subscription","commits_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/contents/{+path}","compare_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/merges","archive_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/downloads","issues_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/issues{/number}","pulls_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/pulls{/number}","milestones_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/milestones{/number}","notifications_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/labels{/name}","releases_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/releases{/id}","deployments_url":"https://api.github.com/repos/CalebFenton/spark-jobserver/deployments","created_at":"2016-09-07T04:20:50Z","updated_at":"2016-09-07T04:20:52Z","pushed_at":"2016-09-07T04:29:49Z","git_url":"git://github.com/CalebFenton/spark-jobserver.git","ssh_url":"git@github.com:CalebFenton/spark-jobserver.git","clone_url":"https://github.com/CalebFenton/spark-jobserver.git","svn_url":"https://github.com/CalebFenton/spark-jobserver","homepage":"","size":1678,"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":"spark-jobserver:master","ref":"master","sha":"52ced0e574d44627e8236989393da0d9a02ddb12","user":{"login":"spark-jobserver","id":8494302,"avatar_url":"https://avatars.githubusercontent.com/u/8494302?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-jobserver","html_url":"https://github.com/spark-jobserver","followers_url":"https://api.github.com/users/spark-jobserver/followers","following_url":"https://api.github.com/users/spark-jobserver/following{/other_user}","gists_url":"https://api.github.com/users/spark-jobserver/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-jobserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-jobserver/subscriptions","organizations_url":"https://api.github.com/users/spark-jobserver/orgs","repos_url":"https://api.github.com/users/spark-jobserver/repos","events_url":"https://api.github.com/users/spark-jobserver/events{/privacy}","received_events_url":"https://api.github.com/users/spark-jobserver/received_events","type":"Organization","site_admin":false},"repo":{"id":23205911,"name":"spark-jobserver","full_name":"spark-jobserver/spark-jobserver","owner":{"login":"spark-jobserver","id":8494302,"avatar_url":"https://avatars.githubusercontent.com/u/8494302?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-jobserver","html_url":"https://github.com/spark-jobserver","followers_url":"https://api.github.com/users/spark-jobserver/followers","following_url":"https://api.github.com/users/spark-jobserver/following{/other_user}","gists_url":"https://api.github.com/users/spark-jobserver/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-jobserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-jobserver/subscriptions","organizations_url":"https://api.github.com/users/spark-jobserver/orgs","repos_url":"https://api.github.com/users/spark-jobserver/repos","events_url":"https://api.github.com/users/spark-jobserver/events{/privacy}","received_events_url":"https://api.github.com/users/spark-jobserver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spark-jobserver/spark-jobserver","description":"REST job server for Apache Spark","fork":false,"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver","forks_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/forks","keys_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/teams","hooks_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/hooks","issue_events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/events{/number}","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/events","assignees_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/assignees{/user}","branches_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/branches{/branch}","tags_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/tags","blobs_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/statuses/{sha}","languages_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/languages","stargazers_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/stargazers","contributors_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/contributors","subscribers_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/subscribers","subscription_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/subscription","commits_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/contents/{+path}","compare_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/merges","archive_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/downloads","issues_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues{/number}","pulls_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls{/number}","milestones_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/milestones{/number}","notifications_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/labels{/name}","releases_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/releases{/id}","deployments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/deployments","created_at":"2014-08-21T23:07:47Z","updated_at":"2016-10-18T21:25:05Z","pushed_at":"2016-10-18T21:31:17Z","git_url":"git://github.com/spark-jobserver/spark-jobserver.git","ssh_url":"git@github.com:spark-jobserver/spark-jobserver.git","clone_url":"https://github.com/spark-jobserver/spark-jobserver.git","svn_url":"https://github.com/spark-jobserver/spark-jobserver","homepage":"","size":5465,"stargazers_count":1277,"watchers_count":1277,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":550,"mirror_url":null,"open_issues_count":94,"forks":550,"open_issues":94,"watchers":1277,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/584"},"html":{"href":"https://github.com/spark-jobserver/spark-jobserver/pull/584"},"issue":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/584"},"comments":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/584/comments"},"review_comments":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/584/comments"},"review_comment":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/584/commits"},"statuses":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/statuses/2d796774b98714918ad2742881cc1b73d63f32a8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"velvia","id":1062875,"avatar_url":"https://avatars.githubusercontent.com/u/1062875?v=3","gravatar_id":"","url":"https://api.github.com/users/velvia","html_url":"https://github.com/velvia","followers_url":"https://api.github.com/users/velvia/followers","following_url":"https://api.github.com/users/velvia/following{/other_user}","gists_url":"https://api.github.com/users/velvia/gists{/gist_id}","starred_url":"https://api.github.com/users/velvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velvia/subscriptions","organizations_url":"https://api.github.com/users/velvia/orgs","repos_url":"https://api.github.com/users/velvia/repos","events_url":"https://api.github.com/users/velvia/events{/privacy}","received_events_url":"https://api.github.com/users/velvia/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":1,"additions":24,"deletions":14,"changed_files":2}}
{"actor":{"display_login":"velvia"}}