beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yifan zou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-3853) 2.4.0 Python mobile gaming leader_board example is not working
Date Wed, 14 Mar 2018 22:21:00 GMT

    [ https://issues.apache.org/jira/browse/BEAM-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399538#comment-16399538
] 

yifan zou commented on BEAM-3853:
---------------------------------

Hi [~altay], I added the steps I did for running that example. In most of cases, the pipeline
runs without any results nor console info. In a few cases, it throws errors: 

"error": {
 "errors": [
 {
 "domain": "global",
 "reason": "invalid",
 "message": "Invalid value for: STRING is not a valid value",
 "debugInfo": "..."
 }
 ],
 "code": 400,
 "message": "Invalid value for: STRING is not a valid value"
 }
}
> [while running 'WriteTeamScoreSums/WriteToBigQuery']

> 2.4.0 Python mobile gaming leader_board example is not working
> --------------------------------------------------------------
>
>                 Key: BEAM-3853
>                 URL: https://issues.apache.org/jira/browse/BEAM-3853
>             Project: Beam
>          Issue Type: Bug
>          Components: examples-python
>            Reporter: yifan zou
>            Assignee: Ahmet Altay
>            Priority: Major
>             Fix For: 2.5.0
>
>
> The leader_board example does not work on DirectRunner. No result are generated.
> *Run Injector to simulate data:*
>   mvn compile exec:java \
>    -Dexec.mainClass=org.apache.beam.examples.complete.game.injector.Injector \
>    Dexec.args="<gcloud_project> <pubsub_topic> none" 
> *Setup virtualenv and install python sdk from [https://dist.apache.org/repos/dist/dev/beam/2.4.0/]*
>   virtualenv temp_virtualenv
>    . temp_virtualenv/bin/activate && pip install apache-beam-2.4.0-python.zip
> *Run leader_board*:
>   python -m apache_beam.examples.complete.game.leader_board \
>   --project=<gcloud_project>\
>   --topic projects/<gcloud_project>/topics/<pubsub_topic>\
>   --dataset=<bq_dataset> \
>   --runner=DirectRunner \
>   --table=<bq_table_name>
>  
>  



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

Mime
View raw message