{"action":"created","comment":{"url":"https://api.github.com/repos/apache/beam-site/pulls/comments/195497507","pull_request_review_id":128879481,"id":195497507,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTQ5NzUwNw==","diff_hunk":"@@ -511,7 +512,171 @@ If there are no issues, reply on the vote thread to close the voting. Then, tall\n     There are no disapproving votes.\n \n     Thanks everyone!\n+    \n+### Run validation tests\n+All tests listed in this [spreadsheet](https://docs.google.com/spreadsheets/d/1qk-N5vjXvbcEk68GjbkSZTR8AGqyNUM-oLFo_ZXBpJw/edit#gid=152451807)\n+\n+* Java Quickstart Validation\n \n+  Direct Runner:\n+  ```\n+  ./gradlew :beam-runners-direct-java:runQuickstartJavaDirect \\ \n+  -Prepourl=https://repository.apache.org/content/repositories/orgapachebeam-1041 \\\n+  -Pver=${RELEASE_VERSION}\n+  ```\n+  Apex Local Runner\n+  ```\n+  ./gradlew :beam-runners-apex:runQuickstartJavaApex \\\n+  -Prepourl=https://repository.apache.org/content/repositories/orgapachebeam-1041 \\\n+  -Pver=${RELEASE_VERSION}\n+  ```\n+  Flink Local Runner\n+  ```\n+  ./gradlew :beam-runners-flink_2.11:runQuickstartJavaFlinkLocal \\\n+  -Prepourl=https://repository.apache.org/content/repositories/orgapachebeam-1041 \\\n+  -Pver=${RELEASE_VERSION}\n+  ```\n+  Spark Local Runner\n+  ```\n+  ./gradlew :beam-runners-spark:runQuickstartJavaSpark \\\n+  -Prepourl=https://repository.apache.org/content/repositories/orgapachebeam-1041 \\\n+  -Pver=${RELEASE_VERSION}\n+  ```\n+  Dataflow Runner\n+  ```\n+  ./gradlew :beam-runners-google-cloud-dataflow-java:runQuickstartJavaDataflow \\\n+  -Prepourl=https://repository.apache.org/content/repositories/orgapachebeam-1041 \\\n+  -Pver= ${RELEASE_VERSION}\\\n+  -PgcpProject=${YOUR_GCP_PROJECT} \\\n+  -PgcsBucket=${YOUR_GCP_BUCKET}\n+  ```\n+* Java Mobile Game(UserScore, HourlyTeamScore, Leaderboard)\n+  \n+  Pre-request\n+  * Create your own BigQuery dataset\n+    ```\n+    bq mk --project=${YOUR_GCP_PROJECT} ${YOUR_DATASET}\n+    ```\n+  * Create yout PubSub topic \n+    ```\n+    gcloud alpha pubsub topics create --project=${YOUR_GCP_PROJECT} ${YOUR_PROJECT_PUBSUB_TOPIC} \n+    ```\n+  * Setup your service account\n+    \n+    Goto IAM console in your project to create a service account as ```project owner```\n+    \n+    Run \n+    ```\n+    gcloud iam service-accounts keys create ${YOUR_KEY_JSON} --iam-account ${YOUR_SERVICE_ACCOUNT_NAME}@${YOUR_PROJECT_NAME}\n+    export GOOGLE_APPLICATION_CREDENTIALS=${PATH_TO_YOUR_KEY_JSON} \n+    ```\n+  Run \n+  ```\n+  ./gradlew :beam-runners-google-cloud-dataflow-java:runMobileGamingJavaDataflow \\\n+   -Prepourl=https://repository.apache.org/content/repositories/orgapachebeam-1041 \\ \n+   -Pver= ${RELEASE_VERSION}\\\n+   -PgcpProject=${YOUR_GCP_PROJECT} \\\n+   -PgcsBucket=gs://dataflow-samples/game/gaming_data1.csv \\\n+   -PbqDataset=${YOUR_DATASET} -PpubsubTopic=${YOUR_PROJECT_PUBSUB_TOPIC}\n+  ```\n+* Python Quickstart(batch & streaming), MobileGame(UserScore, HourlyTeamScore)\n+  \n+  Create a new PR in apache/beam\n+  \n+  In comment area, type in ```Run Python ReleaseCandidate```\n+ \n+* Python Leaderboard & GameStats\n+  * Get staging RC ```wget https://dist.apache.org/repos/dist/dev/beam/2.5.0/* ```\n+  * Verify the hashes\n+  \n+    ```\n+    sha512sum -c apache-beam-2.5.0-python.zip.sha512\n+    sha512sum -c apache-beam-2.5.0-source-release.zip.sha512\n+    ```\n+  * Build SDK\n+  \n+    ```\n+    sudo apt-get install unzip\n+    unzip apache-beam-2.5.0-source-release.zip\n+    ```\n+  * Setup virtualenv\n+    \n+    ```\n+    pip install --upgrade pip\n+    pip install --upgrade setuptools\n+    pip install --upgrade virtualenv\n+    virtualenv beam_env\n+     . beam_env/bin/activate\n+    ```\n+  * Install SDK\n+    \n+    ```\n+    pip install dist/apache-beam-2.5.0.tar.gz\n+    pip install dist/apache-beam-2.5.0.tar.gz[gcp]\n+    ```\n+  * Setup GCP\n+    \n+    Please repeat following steps for every following test\n+    \n+    ```\n+    bq rm -rf --project=${YOUR_PROJECT} ${USER}_test\n+    bq mk --project=${YOUR_PROJECT} ${USER}_test\n+    gsutil rm -rf ${YOUR_GS_STORAGE]\n+    gsutil mb -p ${YOUR_PROJECT} ${YOUR_GS_STORAGE}\n+    gcloud alpha pubsub topics create --project=${YOUR_PROJECT} ${YOUR_PUBSUB_TOPIC}\n+    ```\n+    Setup your service account as described in ```Java Mobile Game``` section above\n+  \n+    Produce data by using java injector\n+    \n+    ```\n+    mvn archetype:generate \\\n+          -DarchetypeGroupId=org.apache.beam \\\n+          -DarchetypeArtifactId=beam-sdks-java-maven-archetypes-examples \\\n+          -DarchetypeVersion=2.4.0 \\","path":"src/contribute/release-guide.md","position":133,"original_position":133,"commit_id":"d076e3ada489b327dad735e5a169583ee80ce2fe","original_commit_id":"d076e3ada489b327dad735e5a169583ee80ce2fe","user":{"login":"boyuanzz","id":36090911,"node_id":"MDQ6VXNlcjM2MDkwOTEx","avatar_url":"https://avatars2.githubusercontent.com/u/36090911?v=4","gravatar_id":"","url":"https://api.github.com/users/boyuanzz","html_url":"https://github.com/boyuanzz","followers_url":"https://api.github.com/users/boyuanzz/followers","following_url":"https://api.github.com/users/boyuanzz/following{/other_user}","gists_url":"https://api.github.com/users/boyuanzz/gists{/gist_id}","starred_url":"https://api.github.com/users/boyuanzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyuanzz/subscriptions","organizations_url":"https://api.github.com/users/boyuanzz/orgs","repos_url":"https://api.github.com/users/boyuanzz/repos","events_url":"https://api.github.com/users/boyuanzz/events{/privacy}","received_events_url":"https://api.github.com/users/boyuanzz/received_events","type":"User","site_admin":false},"body":"We just use java injector here, so we can get jar from last release.","created_at":"2018-06-14T16:56:01Z","updated_at":"2018-06-14T16:56:01Z","html_url":"https://github.com/apache/beam-site/pull/468#discussion_r195497507","pull_request_url":"https://api.github.com/repos/apache/beam-site/pulls/468","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/beam-site/pulls/comments/195497507"},"html":{"href":"https://github.com/apache/beam-site/pull/468#discussion_r195497507"},"pull_request":{"href":"https://api.github.com/repos/apache/beam-site/pulls/468"}},"in_reply_to_id":195277771},"pull_request":{"url":"https://api.github.com/repos/apache/beam-site/pulls/468","id":194753115,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NzUzMTE1","html_url":"https://github.com/apache/beam-site/pull/468","diff_url":"https://github.com/apache/beam-site/pull/468.diff","patch_url":"https://github.com/apache/beam-site/pull/468.patch","issue_url":"https://api.github.com/repos/apache/beam-site/issues/468","number":468,"state":"open","locked":false,"title":"[BEAM-4483]Add instructions about how to perform release validations","user":{"login":"boyuanzz","id":36090911,"node_id":"MDQ6VXNlcjM2MDkwOTEx","avatar_url":"https://avatars2.githubusercontent.com/u/36090911?v=4","gravatar_id":"","url":"https://api.github.com/users/boyuanzz","html_url":"https://github.com/boyuanzz","followers_url":"https://api.github.com/users/boyuanzz/followers","following_url":"https://api.github.com/users/boyuanzz/following{/other_user}","gists_url":"https://api.github.com/users/boyuanzz/gists{/gist_id}","starred_url":"https://api.github.com/users/boyuanzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyuanzz/subscriptions","organizations_url":"https://api.github.com/users/boyuanzz/orgs","repos_url":"https://api.github.com/users/boyuanzz/repos","events_url":"https://api.github.com/users/boyuanzz/events{/privacy}","received_events_url":"https://api.github.com/users/boyuanzz/received_events","type":"User","site_admin":false},"body":"r: @aaltay @alanmyrvold\r\ncc: @pabloem ","created_at":"2018-06-14T00:55:08Z","updated_at":"2018-06-14T16:56:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a41d13e7c9415c7df958d9f0d54fcbdf53917f94","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/beam-site/pulls/468/commits","review_comments_url":"https://api.github.com/repos/apache/beam-site/pulls/468/comments","review_comment_url":"https://api.github.com/repos/apache/beam-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/beam-site/issues/468/comments","statuses_url":"https://api.github.com/repos/apache/beam-site/statuses/d076e3ada489b327dad735e5a169583ee80ce2fe","head":{"label":"boyuanzz:rc_validation","ref":"rc_validation","sha":"d076e3ada489b327dad735e5a169583ee80ce2fe","user":{"login":"boyuanzz","id":36090911,"node_id":"MDQ6VXNlcjM2MDkwOTEx","avatar_url":"https://avatars2.githubusercontent.com/u/36090911?v=4","gravatar_id":"","url":"https://api.github.com/users/boyuanzz","html_url":"https://github.com/boyuanzz","followers_url":"https://api.github.com/users/boyuanzz/followers","following_url":"https://api.github.com/users/boyuanzz/following{/other_user}","gists_url":"https://api.github.com/users/boyuanzz/gists{/gist_id}","starred_url":"https://api.github.com/users/boyuanzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyuanzz/subscriptions","organizations_url":"https://api.github.com/users/boyuanzz/orgs","repos_url":"https://api.github.com/users/boyuanzz/repos","events_url":"https://api.github.com/users/boyuanzz/events{/privacy}","received_events_url":"https://api.github.com/users/boyuanzz/received_events","type":"User","site_admin":false},"repo":{"id":136503809,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY1MDM4MDk=","name":"beam-site","full_name":"boyuanzz/beam-site","owner":{"login":"boyuanzz","id":36090911,"node_id":"MDQ6VXNlcjM2MDkwOTEx","avatar_url":"https://avatars2.githubusercontent.com/u/36090911?v=4","gravatar_id":"","url":"https://api.github.com/users/boyuanzz","html_url":"https://github.com/boyuanzz","followers_url":"https://api.github.com/users/boyuanzz/followers","following_url":"https://api.github.com/users/boyuanzz/following{/other_user}","gists_url":"https://api.github.com/users/boyuanzz/gists{/gist_id}","starred_url":"https://api.github.com/users/boyuanzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyuanzz/subscriptions","organizations_url":"https://api.github.com/users/boyuanzz/orgs","repos_url":"https://api.github.com/users/boyuanzz/repos","events_url":"https://api.github.com/users/boyuanzz/events{/privacy}","received_events_url":"https://api.github.com/users/boyuanzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boyuanzz/beam-site","description":"Apache Beam Site","fork":true,"url":"https://api.github.com/repos/boyuanzz/beam-site","forks_url":"https://api.github.com/repos/boyuanzz/beam-site/forks","keys_url":"https://api.github.com/repos/boyuanzz/beam-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boyuanzz/beam-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boyuanzz/beam-site/teams","hooks_url":"https://api.github.com/repos/boyuanzz/beam-site/hooks","issue_events_url":"https://api.github.com/repos/boyuanzz/beam-site/issues/events{/number}","events_url":"https://api.github.com/repos/boyuanzz/beam-site/events","assignees_url":"https://api.github.com/repos/boyuanzz/beam-site/assignees{/user}","branches_url":"https://api.github.com/repos/boyuanzz/beam-site/branches{/branch}","tags_url":"https://api.github.com/repos/boyuanzz/beam-site/tags","blobs_url":"https://api.github.com/repos/boyuanzz/beam-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boyuanzz/beam-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boyuanzz/beam-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/boyuanzz/beam-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boyuanzz/beam-site/statuses/{sha}","languages_url":"https://api.github.com/repos/boyuanzz/beam-site/languages","stargazers_url":"https://api.github.com/repos/boyuanzz/beam-site/stargazers","contributors_url":"https://api.github.com/repos/boyuanzz/beam-site/contributors","subscribers_url":"https://api.github.com/repos/boyuanzz/beam-site/subscribers","subscription_url":"https://api.github.com/repos/boyuanzz/beam-site/subscription","commits_url":"https://api.github.com/repos/boyuanzz/beam-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/boyuanzz/beam-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/boyuanzz/beam-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/boyuanzz/beam-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/boyuanzz/beam-site/contents/{+path}","compare_url":"https://api.github.com/repos/boyuanzz/beam-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boyuanzz/beam-site/merges","archive_url":"https://api.github.com/repos/boyuanzz/beam-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boyuanzz/beam-site/downloads","issues_url":"https://api.github.com/repos/boyuanzz/beam-site/issues{/number}","pulls_url":"https://api.github.com/repos/boyuanzz/beam-site/pulls{/number}","milestones_url":"https://api.github.com/repos/boyuanzz/beam-site/milestones{/number}","notifications_url":"https://api.github.com/repos/boyuanzz/beam-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boyuanzz/beam-site/labels{/name}","releases_url":"https://api.github.com/repos/boyuanzz/beam-site/releases{/id}","deployments_url":"https://api.github.com/repos/boyuanzz/beam-site/deployments","created_at":"2018-06-07T16:26:38Z","updated_at":"2018-06-07T16:26:59Z","pushed_at":"2018-06-14T00:49:09Z","git_url":"git://github.com/boyuanzz/beam-site.git","ssh_url":"git@github.com:boyuanzz/beam-site.git","clone_url":"https://github.com/boyuanzz/beam-site.git","svn_url":"https://github.com/boyuanzz/beam-site","homepage":"","size":60164,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"asf-site"}},"base":{"label":"apache:asf-site","ref":"asf-site","sha":"8e72ae4e6a30fb3e9088e565e7f36361575bb683","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":52588453,"node_id":"MDEwOlJlcG9zaXRvcnk1MjU4ODQ1Mw==","name":"beam-site","full_name":"apache/beam-site","owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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/beam-site","description":"Apache Beam Site","fork":false,"url":"https://api.github.com/repos/apache/beam-site","forks_url":"https://api.github.com/repos/apache/beam-site/forks","keys_url":"https://api.github.com/repos/apache/beam-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/beam-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/beam-site/teams","hooks_url":"https://api.github.com/repos/apache/beam-site/hooks","issue_events_url":"https://api.github.com/repos/apache/beam-site/issues/events{/number}","events_url":"https://api.github.com/repos/apache/beam-site/events","assignees_url":"https://api.github.com/repos/apache/beam-site/assignees{/user}","branches_url":"https://api.github.com/repos/apache/beam-site/branches{/branch}","tags_url":"https://api.github.com/repos/apache/beam-site/tags","blobs_url":"https://api.github.com/repos/apache/beam-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/beam-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/beam-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/beam-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/beam-site/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/beam-site/languages","stargazers_url":"https://api.github.com/repos/apache/beam-site/stargazers","contributors_url":"https://api.github.com/repos/apache/beam-site/contributors","subscribers_url":"https://api.github.com/repos/apache/beam-site/subscribers","subscription_url":"https://api.github.com/repos/apache/beam-site/subscription","commits_url":"https://api.github.com/repos/apache/beam-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/beam-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/beam-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/beam-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/beam-site/contents/{+path}","compare_url":"https://api.github.com/repos/apache/beam-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/beam-site/merges","archive_url":"https://api.github.com/repos/apache/beam-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/beam-site/downloads","issues_url":"https://api.github.com/repos/apache/beam-site/issues{/number}","pulls_url":"https://api.github.com/repos/apache/beam-site/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/beam-site/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/beam-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/beam-site/labels{/name}","releases_url":"https://api.github.com/repos/apache/beam-site/releases{/id}","deployments_url":"https://api.github.com/repos/apache/beam-site/deployments","created_at":"2016-02-26T08:00:05Z","updated_at":"2018-06-14T08:02:55Z","pushed_at":"2018-06-14T10:01:26Z","git_url":"git://github.com/apache/beam-site.git","ssh_url":"git@github.com:apache/beam-site.git","clone_url":"https://github.com/apache/beam-site.git","svn_url":"https://github.com/apache/beam-site","homepage":"","size":60137,"stargazers_count":20,"watchers_count":20,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":114,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":114,"open_issues":15,"watchers":20,"default_branch":"asf-site"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/beam-site/pulls/468"},"html":{"href":"https://github.com/apache/beam-site/pull/468"},"issue":{"href":"https://api.github.com/repos/apache/beam-site/issues/468"},"comments":{"href":"https://api.github.com/repos/apache/beam-site/issues/468/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/beam-site/pulls/468/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/beam-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/beam-site/pulls/468/commits"},"statuses":{"href":"https://api.github.com/repos/apache/beam-site/statuses/d076e3ada489b327dad735e5a169583ee80ce2fe"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"boyuanzz"}}