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 5525A200B36 for ; Wed, 6 Jul 2016 19:17:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53A70160A64; Wed, 6 Jul 2016 17:17:37 +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 9BDCC160A55 for ; Wed, 6 Jul 2016 19:17:36 +0200 (CEST) Received: (qmail 24029 invoked by uid 500); 6 Jul 2016 17:17:35 -0000 Mailing-List: contact users-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@apex.apache.org Delivered-To: mailing list users@apex.apache.org Received: (qmail 24019 invoked by uid 99); 6 Jul 2016 17:17:35 -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, 06 Jul 2016 17:17:35 +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 4D41F180233 for ; Wed, 6 Jul 2016 17:17:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id flO8snkYMa37 for ; Wed, 6 Jul 2016 17:17:33 +0000 (UTC) Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com [209.85.213.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7ED645F478 for ; Wed, 6 Jul 2016 17:17:32 +0000 (UTC) Received: by mail-vk0-f46.google.com with SMTP id m127so253079426vkb.3 for ; Wed, 06 Jul 2016 10:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=U4H/vHpcIYV2En/ZEHup7WFsG0YdtfWqJcQQzsb6bDI=; b=WWn4iZi+VjJ7POalzHUpyjWjoRU6LeBZbjeFD2RWggGAjsJ20IRc6DMgUvWYN+SU8f z3TSYaAO6dNEXW6csrlLAbX9izI1FWdji3X+Ye+JZxuGB8nmycHAd/7FpoXnlWq6R6MX 4LT+Ft4evP0WBVG6Q1fc1/2V1KDtKMLPfVCelAWXKkg3gmCEC7E05aWNsoLP3H1OeOjA N0WKIRIYUD9pkdceN/IYEyJSY5B5BxXeo/cNoGMzC9iyk78BG8oBvOoZ2wcP9OTIZQAT dV5RLtlIGBtifIurpW1RtP7JEg4ETAuE8gvW8j08gAAC/1Vo3pOcOmCpgCLMc/sBPeBA Kq3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=U4H/vHpcIYV2En/ZEHup7WFsG0YdtfWqJcQQzsb6bDI=; b=lNsHPloi12jmAGC6ar4Hw4bxYIzG2SKSCfCkUbT3hGqRoY4AHw2/TKPDOFq6jXSSuK /FOPdSJzHvzvIR8cHl3BGfTfzr8mXz42D6ppcMuGXa4Su3JAoHcRcdpt7MxRqV1Fk68v gADIS9Q2jdtSJvnBK+Jtuog6xQD9ftbJqdGqm4YUtQj9e0JIQ1s7Oll5UYVIhM1Fpxyx opJAE5Op7HFgl+Qf5yf/pu+ENMeFpRut9oilTKeKFHrmUVoWJUldnpThftyvtB4QGryC roFaPLYAG5fmpDeEYoUxxl3v0R2J4jhDPnLi2NQTku1FKimhaZB3eNoV4oXy+fLbmeMK 0M8g== X-Gm-Message-State: ALyK8tKzUyItU8bF4CJVatbirNRKvBn9fzjPiV9wNM1XVWIu6FWiEfl4HIbS3RYd9lRJ3my/1PitIXd1GspFTA== X-Received: by 10.176.69.178 with SMTP id u47mr2690466uau.133.1467825451174; Wed, 06 Jul 2016 10:17:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.12.196 with HTTP; Wed, 6 Jul 2016 10:17:30 -0700 (PDT) From: "hsy541@gmail.com" Date: Wed, 6 Jul 2016 10:17:30 -0700 Message-ID: Subject: Questions about dag validation To: users@apex.apache.org Content-Type: multipart/alternative; boundary=94eb2c11bd869c120f0536fabe46 archived-at: Wed, 06 Jul 2016 17:17:37 -0000 --94eb2c11bd869c120f0536fabe46 Content-Type: text/plain; charset=UTF-8 Hey guys, I've a problem using jdbc output operator. It is same as http://stackoverflow.com/questions/37887390/datatorrent-jdbcoperator-not-workiing After trouble shooting, I found there might be some validation issue here that prerun validation for dag won't work in some special case Here is an example, let's say we have an Operator class MyOperator implements Operator { B b; } class MyBean { @NotNull cantBeNullProp setCan... getCan... ... } If user forget to set the cantBeNullProp Property, prerun validation won't pick it. Is it a limitation of javax validation or we can do better to support this kind of validation? Regards, Siyuan --94eb2c11bd869c120f0536fabe46 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey guys,

I've a= problem using jdbc output operator. It is same as
h= ttp://stackoverflow.com/questions/37887390/datatorrent-jdbcoperator-not-wor= kiing

After trouble shooting, I found there might be some = validation issue here that prerun validation for dag won't work in some= special case

Here is an example, let's say we have an Ope= rator

class MyOperator<B extends MyBean> implements Oper= ator {
=C2=A0
=C2=A0=C2=A0 B b;

}

class MyBean {
=C2=A0@NotNull
=C2=A0cantBeNull= Prop

=C2=A0setCan...

=C2=A0getCan...

...
}

If user forget to set= the cantBeNullProp Property, prerun validation won't pick it.

<= /div>
Is it a limitation of javax validation or we can do better to sup= port this kind of validation?

Regards,
Siyu= an
--94eb2c11bd869c120f0536fabe46--