You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/01 13:05:00 UTC

[jira] [Work logged] (BEAM-5531) gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/5000_gaming_data.csv is being periodically deleted

     [ https://issues.apache.org/jira/browse/BEAM-5531?focusedWorklogId=150024&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-150024 ]

ASF GitHub Bot logged work on BEAM-5531:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Oct/18 13:04
            Start Date: 01/Oct/18 13:04
    Worklog Time Spent: 10m 
      Work Description: charlesccychen closed pull request #6522: [BEAM-5531] stop deleting the mobile gaming input file
URL: https://github.com/apache/beam/pull/6522
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/release/src/main/python-release/python_release_automation_utils.sh b/release/src/main/python-release/python_release_automation_utils.sh
index 91d5977839b..f45428cf587 100644
--- a/release/src/main/python-release/python_release_automation_utils.sh
+++ b/release/src/main/python-release/python_release_automation_utils.sh
@@ -295,3 +295,4 @@ PUBSUB_SUBSCRIPTION='wordstream-python-sub2'
 # Mobile Gaming Configurations
 DATASET='beam_postrelease_mobile_gaming'
 USERSCORE_OUTPUT_PREFIX='python-userscore_result'
+GAME_INPUT_DATA='gs://dataflow-samples/game/5000_gaming_data.csv'
diff --git a/release/src/main/python-release/run_release_candidate_python_mobile_gaming.sh b/release/src/main/python-release/run_release_candidate_python_mobile_gaming.sh
index e9a8566415d..2bfe974b947 100755
--- a/release/src/main/python-release/run_release_candidate_python_mobile_gaming.sh
+++ b/release/src/main/python-release/run_release_candidate_python_mobile_gaming.sh
@@ -81,7 +81,7 @@ function verify_userscore_direct() {
     --output=$output_file_name \
     --project=$PROJECT_ID \
     --dataset=$DATASET \
-    --input=gs://$BUCKET_NAME/5000_gaming_data.csv
+    --input=$GAME_INPUT_DATA
 
   verify_user_score "direct"
 }
@@ -103,7 +103,7 @@ function verify_userscore_dataflow() {
     --runner=DataflowRunner \
     --temp_location=gs://$BUCKET_NAME/temp/ \
     --sdk_location=$BEAM_PYTHON_SDK \
-    --input=gs://$BUCKET_NAME/5000_gaming_data.csv \
+    --input=$GAME_INPUT_DATA \
     --output=gs://$BUCKET_NAME/$output_file_name
 
   verify_user_score "dataflow"
@@ -122,7 +122,7 @@ function verify_hourlyteamscore_direct() {
   python -m apache_beam.examples.complete.game.hourly_team_score \
     --project=$PROJECT_ID \
     --dataset=$DATASET \
-    --input=gs://$BUCKET_NAME/5000_gaming_data.csv \
+    --input=$GAME_INPUT_DATA \
     --table="hourly_team_score_python_direct"
 
   verify_hourly_team_score "direct"
@@ -145,7 +145,7 @@ function verify_hourlyteamscore_dataflow() {
     --runner=DataflowRunner \
     --temp_location=gs://$BUCKET_NAME/temp/ \
     --sdk_location $BEAM_PYTHON_SDK \
-    --input=gs://$BUCKET_NAME/5000_gaming_data.csv \
+    --input=$GAME_INPUT_DATA \
     --table="hourly_team_score_python_dataflow"
 
   verify_hourly_team_score "dataflow"


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 150024)
    Time Spent: 20m  (was: 10m)

> gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/5000_gaming_data.csv is being periodically deleted
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-5531
>                 URL: https://issues.apache.org/jira/browse/BEAM-5531
>             Project: Beam
>          Issue Type: Improvement
>          Components: testing
>            Reporter: Charles Chen
>            Assignee: yifan zou
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The file gs://temp-storage-for-release-validation-tests/nightly-snapshot-validation/5000_gaming_data.csv is being periodically deleted because of the garbage collection policy set on that bucket (in the apache-beam-testing project).  We should fix this so we don't have to reupload this file each time we want to run release validation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)