{"action":"created","comment":{"url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments/180119674","pull_request_review_id":110484891,"id":180119674,"diff_hunk":"@@ -92,18 +97,33 @@\n     :user => test_user\n end\n \n+execute \"upload hive_smoke_test to #{workflow_path}\" do\n+  command \"hdfs dfs -copyFromLocal -f #{cache_dir}/hive_smoke_test.hql \\\n+  #{workflow_path}\"\n+  user test_user\n+  not_if \"hdfs dfs -test -f #{workflow_path}/hive_smoke_test.hql\",\n+         :user => test_user\n+end\n+\n+execute \"upload hive-site to #{workflow_path}\" do\n+  command \"hdfs dfs -copyFromLocal -f /etc/hive/conf/hive-site.xml \\","path":"cookbooks/smoke-tests/recipes/oozie_smoke_test.rb","position":34,"original_position":34,"commit_id":"977faf3b88037e12de2a4b7d9c68600d33fc2d2b","original_commit_id":"977faf3b88037e12de2a4b7d9c68600d33fc2d2b","user":{"login":"cbaenziger","id":4192761,"avatar_url":"https://avatars2.githubusercontent.com/u/4192761?v=4","gravatar_id":"","url":"https://api.github.com/users/cbaenziger","html_url":"https://github.com/cbaenziger","followers_url":"https://api.github.com/users/cbaenziger/followers","following_url":"https://api.github.com/users/cbaenziger/following{/other_user}","gists_url":"https://api.github.com/users/cbaenziger/gists{/gist_id}","starred_url":"https://api.github.com/users/cbaenziger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbaenziger/subscriptions","organizations_url":"https://api.github.com/users/cbaenziger/orgs","repos_url":"https://api.github.com/users/cbaenziger/repos","events_url":"https://api.github.com/users/cbaenziger/events{/privacy}","received_events_url":"https://api.github.com/users/cbaenziger/received_events","type":"User","site_admin":false},"body":"I understand `copyFromLocal` to fail if he file already exists? How is this made idempotent?","created_at":"2018-04-09T14:48:23Z","updated_at":"2018-04-09T14:48:23Z","html_url":"https://github.com/bloomberg/chef-bach/pull/1164#discussion_r180119674","pull_request_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments/180119674"},"html":{"href":"https://github.com/bloomberg/chef-bach/pull/1164#discussion_r180119674"},"pull_request":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164"}}},"pull_request":{"url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164","id":180327405,"html_url":"https://github.com/bloomberg/chef-bach/pull/1164","diff_url":"https://github.com/bloomberg/chef-bach/pull/1164.diff","patch_url":"https://github.com/bloomberg/chef-bach/pull/1164.patch","issue_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/1164","number":1164,"state":"open","locked":false,"title":"Hive CRUD smoke tests","user":{"login":"rashidaligee","id":8855253,"avatar_url":"https://avatars3.githubusercontent.com/u/8855253?v=4","gravatar_id":"","url":"https://api.github.com/users/rashidaligee","html_url":"https://github.com/rashidaligee","followers_url":"https://api.github.com/users/rashidaligee/followers","following_url":"https://api.github.com/users/rashidaligee/following{/other_user}","gists_url":"https://api.github.com/users/rashidaligee/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidaligee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidaligee/subscriptions","organizations_url":"https://api.github.com/users/rashidaligee/orgs","repos_url":"https://api.github.com/users/rashidaligee/repos","events_url":"https://api.github.com/users/rashidaligee/events{/privacy}","received_events_url":"https://api.github.com/users/rashidaligee/received_events","type":"User","site_admin":false},"body":"Added Hive and Hive2 tests which covers:\r\n1. Oozie Hive and Hive2 actions\r\n2. Creation of Database, Tables in Hive using JDBC and thrift server.\r\n3. Insertion of data into Hive table,\r\n4. Clean up of test data once test is completed.\r\n5. Run tests in parallel.","created_at":"2018-04-09T14:27:01Z","updated_at":"2018-04-09T14:48:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fb58a5dd5313ad550d898c7de6210ceb07cc5a4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":158547302,"url":"https://api.github.com/repos/bloomberg/chef-bach/labels/Hive","name":"Hive","color":"fad8c7","default":false},{"id":135806804,"url":"https://api.github.com/repos/bloomberg/chef-bach/labels/enhancement","name":"enhancement","color":"cccccc","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164/commits","review_comments_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164/comments","review_comment_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/1164/comments","statuses_url":"https://api.github.com/repos/bloomberg/chef-bach/statuses/977faf3b88037e12de2a4b7d9c68600d33fc2d2b","head":{"label":"rashidaligee:smoke-tests","ref":"smoke-tests","sha":"977faf3b88037e12de2a4b7d9c68600d33fc2d2b","user":{"login":"rashidaligee","id":8855253,"avatar_url":"https://avatars3.githubusercontent.com/u/8855253?v=4","gravatar_id":"","url":"https://api.github.com/users/rashidaligee","html_url":"https://github.com/rashidaligee","followers_url":"https://api.github.com/users/rashidaligee/followers","following_url":"https://api.github.com/users/rashidaligee/following{/other_user}","gists_url":"https://api.github.com/users/rashidaligee/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidaligee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidaligee/subscriptions","organizations_url":"https://api.github.com/users/rashidaligee/orgs","repos_url":"https://api.github.com/users/rashidaligee/repos","events_url":"https://api.github.com/users/rashidaligee/events{/privacy}","received_events_url":"https://api.github.com/users/rashidaligee/received_events","type":"User","site_admin":false},"repo":{"id":120669808,"name":"chef-bach","full_name":"rashidaligee/chef-bach","owner":{"login":"rashidaligee","id":8855253,"avatar_url":"https://avatars3.githubusercontent.com/u/8855253?v=4","gravatar_id":"","url":"https://api.github.com/users/rashidaligee","html_url":"https://github.com/rashidaligee","followers_url":"https://api.github.com/users/rashidaligee/followers","following_url":"https://api.github.com/users/rashidaligee/following{/other_user}","gists_url":"https://api.github.com/users/rashidaligee/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidaligee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidaligee/subscriptions","organizations_url":"https://api.github.com/users/rashidaligee/orgs","repos_url":"https://api.github.com/users/rashidaligee/repos","events_url":"https://api.github.com/users/rashidaligee/events{/privacy}","received_events_url":"https://api.github.com/users/rashidaligee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rashidaligee/chef-bach","description":"Chef recipes for Bloomberg's deployment of Hadoop and related components","fork":true,"url":"https://api.github.com/repos/rashidaligee/chef-bach","forks_url":"https://api.github.com/repos/rashidaligee/chef-bach/forks","keys_url":"https://api.github.com/repos/rashidaligee/chef-bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rashidaligee/chef-bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rashidaligee/chef-bach/teams","hooks_url":"https://api.github.com/repos/rashidaligee/chef-bach/hooks","issue_events_url":"https://api.github.com/repos/rashidaligee/chef-bach/issues/events{/number}","events_url":"https://api.github.com/repos/rashidaligee/chef-bach/events","assignees_url":"https://api.github.com/repos/rashidaligee/chef-bach/assignees{/user}","branches_url":"https://api.github.com/repos/rashidaligee/chef-bach/branches{/branch}","tags_url":"https://api.github.com/repos/rashidaligee/chef-bach/tags","blobs_url":"https://api.github.com/repos/rashidaligee/chef-bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rashidaligee/chef-bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rashidaligee/chef-bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/rashidaligee/chef-bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rashidaligee/chef-bach/statuses/{sha}","languages_url":"https://api.github.com/repos/rashidaligee/chef-bach/languages","stargazers_url":"https://api.github.com/repos/rashidaligee/chef-bach/stargazers","contributors_url":"https://api.github.com/repos/rashidaligee/chef-bach/contributors","subscribers_url":"https://api.github.com/repos/rashidaligee/chef-bach/subscribers","subscription_url":"https://api.github.com/repos/rashidaligee/chef-bach/subscription","commits_url":"https://api.github.com/repos/rashidaligee/chef-bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/rashidaligee/chef-bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/rashidaligee/chef-bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/rashidaligee/chef-bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/rashidaligee/chef-bach/contents/{+path}","compare_url":"https://api.github.com/repos/rashidaligee/chef-bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rashidaligee/chef-bach/merges","archive_url":"https://api.github.com/repos/rashidaligee/chef-bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rashidaligee/chef-bach/downloads","issues_url":"https://api.github.com/repos/rashidaligee/chef-bach/issues{/number}","pulls_url":"https://api.github.com/repos/rashidaligee/chef-bach/pulls{/number}","milestones_url":"https://api.github.com/repos/rashidaligee/chef-bach/milestones{/number}","notifications_url":"https://api.github.com/repos/rashidaligee/chef-bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rashidaligee/chef-bach/labels{/name}","releases_url":"https://api.github.com/repos/rashidaligee/chef-bach/releases{/id}","deployments_url":"https://api.github.com/repos/rashidaligee/chef-bach/deployments","created_at":"2018-02-07T20:48:44Z","updated_at":"2018-04-05T16:57:46Z","pushed_at":"2018-04-09T14:26:02Z","git_url":"git://github.com/rashidaligee/chef-bach.git","ssh_url":"git@github.com:rashidaligee/chef-bach.git","clone_url":"https://github.com/rashidaligee/chef-bach.git","svn_url":"https://github.com/rashidaligee/chef-bach","homepage":null,"size":6243,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bloomberg:master","ref":"master","sha":"459afe9fc6306f93e08d7511a90aaf312a029f3f","user":{"login":"bloomberg","id":1416818,"avatar_url":"https://avatars2.githubusercontent.com/u/1416818?v=4","gravatar_id":"","url":"https://api.github.com/users/bloomberg","html_url":"https://github.com/bloomberg","followers_url":"https://api.github.com/users/bloomberg/followers","following_url":"https://api.github.com/users/bloomberg/following{/other_user}","gists_url":"https://api.github.com/users/bloomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bloomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloomberg/subscriptions","organizations_url":"https://api.github.com/users/bloomberg/orgs","repos_url":"https://api.github.com/users/bloomberg/repos","events_url":"https://api.github.com/users/bloomberg/events{/privacy}","received_events_url":"https://api.github.com/users/bloomberg/received_events","type":"Organization","site_admin":false},"repo":{"id":24933148,"name":"chef-bach","full_name":"bloomberg/chef-bach","owner":{"login":"bloomberg","id":1416818,"avatar_url":"https://avatars2.githubusercontent.com/u/1416818?v=4","gravatar_id":"","url":"https://api.github.com/users/bloomberg","html_url":"https://github.com/bloomberg","followers_url":"https://api.github.com/users/bloomberg/followers","following_url":"https://api.github.com/users/bloomberg/following{/other_user}","gists_url":"https://api.github.com/users/bloomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bloomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloomberg/subscriptions","organizations_url":"https://api.github.com/users/bloomberg/orgs","repos_url":"https://api.github.com/users/bloomberg/repos","events_url":"https://api.github.com/users/bloomberg/events{/privacy}","received_events_url":"https://api.github.com/users/bloomberg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bloomberg/chef-bach","description":"Chef recipes for Bloomberg's deployment of Hadoop and related components","fork":false,"url":"https://api.github.com/repos/bloomberg/chef-bach","forks_url":"https://api.github.com/repos/bloomberg/chef-bach/forks","keys_url":"https://api.github.com/repos/bloomberg/chef-bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bloomberg/chef-bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bloomberg/chef-bach/teams","hooks_url":"https://api.github.com/repos/bloomberg/chef-bach/hooks","issue_events_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/events{/number}","events_url":"https://api.github.com/repos/bloomberg/chef-bach/events","assignees_url":"https://api.github.com/repos/bloomberg/chef-bach/assignees{/user}","branches_url":"https://api.github.com/repos/bloomberg/chef-bach/branches{/branch}","tags_url":"https://api.github.com/repos/bloomberg/chef-bach/tags","blobs_url":"https://api.github.com/repos/bloomberg/chef-bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bloomberg/chef-bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bloomberg/chef-bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/bloomberg/chef-bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bloomberg/chef-bach/statuses/{sha}","languages_url":"https://api.github.com/repos/bloomberg/chef-bach/languages","stargazers_url":"https://api.github.com/repos/bloomberg/chef-bach/stargazers","contributors_url":"https://api.github.com/repos/bloomberg/chef-bach/contributors","subscribers_url":"https://api.github.com/repos/bloomberg/chef-bach/subscribers","subscription_url":"https://api.github.com/repos/bloomberg/chef-bach/subscription","commits_url":"https://api.github.com/repos/bloomberg/chef-bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/bloomberg/chef-bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/bloomberg/chef-bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/bloomberg/chef-bach/contents/{+path}","compare_url":"https://api.github.com/repos/bloomberg/chef-bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bloomberg/chef-bach/merges","archive_url":"https://api.github.com/repos/bloomberg/chef-bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bloomberg/chef-bach/downloads","issues_url":"https://api.github.com/repos/bloomberg/chef-bach/issues{/number}","pulls_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls{/number}","milestones_url":"https://api.github.com/repos/bloomberg/chef-bach/milestones{/number}","notifications_url":"https://api.github.com/repos/bloomberg/chef-bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bloomberg/chef-bach/labels{/name}","releases_url":"https://api.github.com/repos/bloomberg/chef-bach/releases{/id}","deployments_url":"https://api.github.com/repos/bloomberg/chef-bach/deployments","created_at":"2014-10-08T09:16:26Z","updated_at":"2018-04-06T16:05:39Z","pushed_at":"2018-04-09T14:27:02Z","git_url":"git://github.com/bloomberg/chef-bach.git","ssh_url":"git@github.com:bloomberg/chef-bach.git","clone_url":"https://github.com/bloomberg/chef-bach.git","svn_url":"https://github.com/bloomberg/chef-bach","homepage":null,"size":6277,"stargazers_count":56,"watchers_count":56,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"archived":false,"open_issues_count":146,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":55,"open_issues":146,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164"},"html":{"href":"https://github.com/bloomberg/chef-bach/pull/1164"},"issue":{"href":"https://api.github.com/repos/bloomberg/chef-bach/issues/1164"},"comments":{"href":"https://api.github.com/repos/bloomberg/chef-bach/issues/1164/comments"},"review_comments":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164/comments"},"review_comment":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/1164/commits"},"statuses":{"href":"https://api.github.com/repos/bloomberg/chef-bach/statuses/977faf3b88037e12de2a4b7d9c68600d33fc2d2b"}},"author_association":"NONE"}}
{"actor":{"display_login":"cbaenziger"}}