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 Fri, 13 Jul 2018 17:49:00 GMT

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

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

The example was verified in 2.5.0 release. This issue cloud be closed.

> 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.6.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