[ 
https://issues.apache.org/jira/browse/BEAM-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

yifan zou resolved BEAM-3853.
-----------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.6.0)
                   2.5.0

> 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: yifan zou
>            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)

Reply via email to