Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 28C8B200C68 for ; Tue, 18 Apr 2017 15:08:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2757F160B90; Tue, 18 Apr 2017 13:08:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 70F59160BA1 for ; Tue, 18 Apr 2017 15:08:46 +0200 (CEST) Received: (qmail 26898 invoked by uid 500); 18 Apr 2017 13:08:45 -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 26836 invoked by uid 99); 18 Apr 2017 13:08:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2017 13:08:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 439781A7B65 for ; Tue, 18 Apr 2017 13:08:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id UmswSm0d7Gp9 for ; Tue, 18 Apr 2017 13:08:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id B75205FDCB for ; Tue, 18 Apr 2017 13:08:42 +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 EE049E04FE for ; Tue, 18 Apr 2017 13:08:41 +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 9023A21B45 for ; Tue, 18 Apr 2017 13:08:41 +0000 (UTC) Date: Tue, 18 Apr 2017 13:08:41 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1995) JdbcIO.Write randomly fails PreparedStatements due to missing variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Apr 2017 13:08:47 -0000 [ https://issues.apache.org/jira/browse/BEAM-1995?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15972= 630#comment-15972630 ]=20 Jean-Baptiste Onofr=C3=A9 commented on BEAM-1995: -------------------------------------------- Interesting. Let me check the {{WriteFn}} and see if the issue is not speci= fic to {{JdbcIO}} (it could be "global" to any {{DoFn}}). > JdbcIO.Write randomly fails PreparedStatements due to missing variables > ----------------------------------------------------------------------- > > Key: BEAM-1995 > URL: https://issues.apache.org/jira/browse/BEAM-1995 > Project: Beam > Issue Type: Bug > Components: sdk-java-extensions > Reporter: Rik Nauta > Assignee: Jean-Baptiste Onofr=C3=A9 > > I'm still investigating but it seems that the JdbcIO.Write fails randomly= when submitting batches of mutations with the following types of error mes= sages ```No value specified for parameter 1```. > The strange thing is that it works perfectly with the DirectExecution pip= eline, only when it's submitted to DataFlow does it fail. Also, if I modify= the code to not batch requests but immediately commit them (manually, auto= commit is still off) then it completes without errors. > I've checked the input data which is correct so it's either an issue with= the JDBC driver or I suspect that there might be some kind of concurrency = issue that only shows when the pipeline is executed parallel? Maybe the Pre= paredStatement should be transient or something like in other PTransforms? > As I said, I'm still investigating but would love some assistance. -- This message was sent by Atlassian JIRA (v6.3.15#6346)