From commits-return-61110-archive-asf-public=cust-asf.ponee.io@beam.apache.org Wed Mar 14 23:21:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5E97518067B for ; Wed, 14 Mar 2018 23:21:03 +0100 (CET) Received: (qmail 12186 invoked by uid 500); 14 Mar 2018 22:21:02 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 12177 invoked by uid 99); 14 Mar 2018 22:21:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2018 22:21:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D663E1800C9 for ; Wed, 14 Mar 2018 22:21:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id xYwxC_grj0oH for ; Wed, 14 Mar 2018 22:21:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D3C335F475 for ; Wed, 14 Mar 2018 22:21:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 580FBE0142 for ; Wed, 14 Mar 2018 22:21:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 19D9321490 for ; Wed, 14 Mar 2018 22:21:00 +0000 (UTC) Date: Wed, 14 Mar 2018 22:21:00 +0000 (UTC) From: "yifan zou (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-3853) 2.4.0 Python mobile gaming leader_board example is not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BEAM-3853?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16399= 538#comment-16399538 ]=20 yifan zou commented on BEAM-3853: --------------------------------- Hi [~altay], I added the steps I did for running that example. In most of c= ases, the pipeline runs without any results nor console info. In a few case= s, it throws errors:=C2=A0 "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 gen= erated. > *Run Injector to=C2=A0simulate data:* > =C2=A0 mvn compile exec:java \ > =C2=A0 -Dexec.mainClass=3Dorg.apache.beam.examples.complete.game.injecto= r.Injector \ > =C2=A0 Dexec.args=3D"=C2=A0 none"=C2=A0 > *Setup virtualenv and install python sdk from [https://dist.apache.org/re= pos/dist/dev/beam/2.4.0/]* > =C2=A0 virtualenv temp_virtualenv > =C2=A0 . temp_virtualenv/bin/activate && pip install apache-beam-2.4.0-p= ython.zip > *Run leader_board*: > =C2=A0 python -m apache_beam.examples.complete.game.leader_board \ > =C2=A0 --project=3D\ > =C2=A0 --topic projects//topics/\ > =C2=A0 --dataset=3D \ > =C2=A0 --runner=3DDirectRunner \ > =C2=A0 --table=3D > =C2=A0 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)