{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/91211420","pull_request_review_id":11721083,"id":91211420,"diff_hunk":"@@ -144,23 +144,32 @@ Bigquery newBigqueryClient(String applicationName) {\n         .build();\n   }\n \n+  @Nonnull\n   @VisibleForTesting\n   QueryResponse queryWithRetries(Bigquery bigqueryClient, QueryRequest queryContent,\n                                  Sleeper sleeper, BackOff backOff)\n       throws IOException, InterruptedException {\n-    IOException lastException = null;\n+    QueryResponse response;","path":"sdks/java/core/src/main/java/org/apache/beam/sdk/testing/BigqueryMatcher.java","position":35,"original_position":35,"commit_id":"a8f7365765734035abefcd4a4a2f3c95e94194f9","original_commit_id":"a8f7365765734035abefcd4a4a2f3c95e94194f9","user":{"login":"peihe","id":10201797,"avatar_url":"https://avatars.githubusercontent.com/u/10201797?v=3","gravatar_id":"","url":"https://api.github.com/users/peihe","html_url":"https://github.com/peihe","followers_url":"https://api.github.com/users/peihe/followers","following_url":"https://api.github.com/users/peihe/following{/other_user}","gists_url":"https://api.github.com/users/peihe/gists{/gist_id}","starred_url":"https://api.github.com/users/peihe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peihe/subscriptions","organizations_url":"https://api.github.com/users/peihe/orgs","repos_url":"https://api.github.com/users/peihe/repos","events_url":"https://api.github.com/users/peihe/events{/privacy}","received_events_url":"https://api.github.com/users/peihe/received_events","type":"User","site_admin":false},"body":"response can be moved to try {} block below.","created_at":"2016-12-07T01:35:22Z","updated_at":"2016-12-07T01:35:22Z","html_url":"https://github.com/apache/incubator-beam/pull/1479#discussion_r91211420","pull_request_url":"https://api.github.com/repos/apache/incubator-beam/pulls/1479","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/91211420"},"html":{"href":"https://github.com/apache/incubator-beam/pull/1479#discussion_r91211420"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/1479"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/1479","id":96037146,"html_url":"https://github.com/apache/incubator-beam/pull/1479","diff_url":"https://github.com/apache/incubator-beam/pull/1479.diff","patch_url":"https://github.com/apache/incubator-beam/pull/1479.patch","issue_url":"https://api.github.com/repos/apache/incubator-beam/issues/1479","number":1479,"state":"open","locked":false,"title":"[BEAM-1033] Bigquery Verifier Retry When Query Failed","user":{"login":"markflyhigh","id":4008895,"avatar_url":"https://avatars.githubusercontent.com/u/4008895?v=3","gravatar_id":"","url":"https://api.github.com/users/markflyhigh","html_url":"https://github.com/markflyhigh","followers_url":"https://api.github.com/users/markflyhigh/followers","following_url":"https://api.github.com/users/markflyhigh/following{/other_user}","gists_url":"https://api.github.com/users/markflyhigh/gists{/gist_id}","starred_url":"https://api.github.com/users/markflyhigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markflyhigh/subscriptions","organizations_url":"https://api.github.com/users/markflyhigh/orgs","repos_url":"https://api.github.com/users/markflyhigh/repos","events_url":"https://api.github.com/users/markflyhigh/events{/privacy}","received_events_url":"https://api.github.com/users/markflyhigh/received_events","type":"User","site_admin":false},"body":"Be sure to do all of the following to help us incorporate your contribution\r\nquickly and easily:\r\n\r\n - [x] Make sure the PR title is formatted like:\r\n   `[BEAM-<Jira issue #>] Description of pull request`\r\n - [x] Make sure tests pass via `mvn clean verify`. (Even better, enable\r\n       Travis-CI on your fork and ensure the whole test matrix passes).\r\n - [x] Replace `<Jira issue #>` in the title with the actual Jira issue\r\n       number, if there is one.\r\n - [ ] If this contribution is large, please file an Apache\r\n       [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).\r\n\r\n---\r\n\r\nFix WordCountIT flaky in prostcommit build:\r\n\r\n - Add retry when query job failed.\r\n - check QueryResponse.jobComplete instead of rows. reference from https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#response","created_at":"2016-12-01T07:11:25Z","updated_at":"2016-12-07T01:56:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c6496787e8aadb6bac6d46a1e24a7132eef02bc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-beam/pulls/1479/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-beam/pulls/1479/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-beam/issues/1479/comments","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/a8f7365765734035abefcd4a4a2f3c95e94194f9","head":{"label":"markflyhigh:Add-retry-when-bq-response-is-failed","ref":"Add-retry-when-bq-response-is-failed","sha":"a8f7365765734035abefcd4a4a2f3c95e94194f9","user":{"login":"markflyhigh","id":4008895,"avatar_url":"https://avatars.githubusercontent.com/u/4008895?v=3","gravatar_id":"","url":"https://api.github.com/users/markflyhigh","html_url":"https://github.com/markflyhigh","followers_url":"https://api.github.com/users/markflyhigh/followers","following_url":"https://api.github.com/users/markflyhigh/following{/other_user}","gists_url":"https://api.github.com/users/markflyhigh/gists{/gist_id}","starred_url":"https://api.github.com/users/markflyhigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markflyhigh/subscriptions","organizations_url":"https://api.github.com/users/markflyhigh/orgs","repos_url":"https://api.github.com/users/markflyhigh/repos","events_url":"https://api.github.com/users/markflyhigh/events{/privacy}","received_events_url":"https://api.github.com/users/markflyhigh/received_events","type":"User","site_admin":false},"repo":{"id":61327747,"name":"incubator-beam","full_name":"markflyhigh/incubator-beam","owner":{"login":"markflyhigh","id":4008895,"avatar_url":"https://avatars.githubusercontent.com/u/4008895?v=3","gravatar_id":"","url":"https://api.github.com/users/markflyhigh","html_url":"https://github.com/markflyhigh","followers_url":"https://api.github.com/users/markflyhigh/followers","following_url":"https://api.github.com/users/markflyhigh/following{/other_user}","gists_url":"https://api.github.com/users/markflyhigh/gists{/gist_id}","starred_url":"https://api.github.com/users/markflyhigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markflyhigh/subscriptions","organizations_url":"https://api.github.com/users/markflyhigh/orgs","repos_url":"https://api.github.com/users/markflyhigh/repos","events_url":"https://api.github.com/users/markflyhigh/events{/privacy}","received_events_url":"https://api.github.com/users/markflyhigh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markflyhigh/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":true,"url":"https://api.github.com/repos/markflyhigh/incubator-beam","forks_url":"https://api.github.com/repos/markflyhigh/incubator-beam/forks","keys_url":"https://api.github.com/repos/markflyhigh/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markflyhigh/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markflyhigh/incubator-beam/teams","hooks_url":"https://api.github.com/repos/markflyhigh/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/markflyhigh/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/markflyhigh/incubator-beam/events","assignees_url":"https://api.github.com/repos/markflyhigh/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/markflyhigh/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/markflyhigh/incubator-beam/tags","blobs_url":"https://api.github.com/repos/markflyhigh/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markflyhigh/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markflyhigh/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/markflyhigh/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markflyhigh/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/markflyhigh/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/markflyhigh/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/markflyhigh/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/markflyhigh/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/markflyhigh/incubator-beam/subscription","commits_url":"https://api.github.com/repos/markflyhigh/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/markflyhigh/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/markflyhigh/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/markflyhigh/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/markflyhigh/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/markflyhigh/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markflyhigh/incubator-beam/merges","archive_url":"https://api.github.com/repos/markflyhigh/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markflyhigh/incubator-beam/downloads","issues_url":"https://api.github.com/repos/markflyhigh/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/markflyhigh/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/markflyhigh/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/markflyhigh/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markflyhigh/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/markflyhigh/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/markflyhigh/incubator-beam/deployments","created_at":"2016-06-16T21:43:00Z","updated_at":"2016-06-16T21:43:04Z","pushed_at":"2016-12-06T21:35:14Z","git_url":"git://github.com/markflyhigh/incubator-beam.git","ssh_url":"git@github.com:markflyhigh/incubator-beam.git","clone_url":"https://github.com/markflyhigh/incubator-beam.git","svn_url":"https://github.com/markflyhigh/incubator-beam","homepage":null,"size":24208,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"711c68092fd771c3f9be4a5d0dd0ecf077f1aeab","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":50904245,"name":"incubator-beam","full_name":"apache/incubator-beam","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-beam","forks_url":"https://api.github.com/repos/apache/incubator-beam/forks","keys_url":"https://api.github.com/repos/apache/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-beam/teams","hooks_url":"https://api.github.com/repos/apache/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-beam/events","assignees_url":"https://api.github.com/repos/apache/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-beam/tags","blobs_url":"https://api.github.com/repos/apache/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-beam/subscription","commits_url":"https://api.github.com/repos/apache/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-beam/merges","archive_url":"https://api.github.com/repos/apache/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-beam/downloads","issues_url":"https://api.github.com/repos/apache/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2016-12-06T20:51:22Z","pushed_at":"2016-12-07T01:38:37Z","git_url":"git://github.com/apache/incubator-beam.git","ssh_url":"git@github.com:apache/incubator-beam.git","clone_url":"https://github.com/apache/incubator-beam.git","svn_url":"https://github.com/apache/incubator-beam","homepage":null,"size":37337,"stargazers_count":514,"watchers_count":514,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":305,"mirror_url":"git://git.apache.org/incubator-beam.git","open_issues_count":54,"forks":305,"open_issues":54,"watchers":514,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/1479"},"html":{"href":"https://github.com/apache/incubator-beam/pull/1479"},"issue":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/1479"},"comments":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/1479/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/1479/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/1479/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-beam/statuses/a8f7365765734035abefcd4a4a2f3c95e94194f9"}}}}
{"actor":{"display_login":"peihe"}}