Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA9D31873B for ; Fri, 11 Mar 2016 11:35:46 +0000 (UTC) Received: (qmail 8232 invoked by uid 500); 11 Mar 2016 11:35:46 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 8193 invoked by uid 500); 11 Mar 2016 11:35:46 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 8182 invoked by uid 99); 11 Mar 2016 11:35:46 -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; Fri, 11 Mar 2016 11:35:46 +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 ECB751A1290 for ; Fri, 11 Mar 2016 11:35:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.349 X-Spam-Level: X-Spam-Status: No, score=-4.349 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx2-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 BejalojMFHMa for ; Fri, 11 Mar 2016 11:35:45 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id AB40F5FAD9 for ; Fri, 11 Mar 2016 11:35:43 +0000 (UTC) Received: (qmail 8170 invoked by uid 99); 11 Mar 2016 11:35:42 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2016 11:35:42 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4AAA72C14F4 for ; Fri, 11 Mar 2016 11:35:42 +0000 (UTC) Date: Fri, 11 Mar 2016 11:35:42 +0000 (UTC) From: "Pallavi Rao (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FALCON-1852) Optional Input for a process not truly optional MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FALCON-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190822#comment-15190822 ] Pallavi Rao commented on FALCON-1852: ------------------------------------- The change, if made will be backward incompatible. Any historical reason/opinion on why this change should not be made? > Optional Input for a process not truly optional > ----------------------------------------------- > > Key: FALCON-1852 > URL: https://issues.apache.org/jira/browse/FALCON-1852 > Project: Falcon > Issue Type: Bug > Reporter: Pallavi Rao > Assignee: Pallavi Rao > > Currently, when a feed input is marked as optional, we do not add it to the coordinator definition's datasets. This means we do not wait for all instances (for a given data window) to arrive. Instead, we just resolve the paths for a data window and pass it as a parameter. > For example: > {noformat} > > > > > > {noformat} > For a process instance 2013-01-01T00:00Z, the optional input, in2paths, will be resolved as below: > {noformat} > > in2paths > hdfs://localhost:9000/data/in2/2013/11/15/00/04,hdfs://localhost:9000/data/in2/2013/11/15/00/03,hdfs://localhost:9000/data/in2/2013/11/15/00/02,hdfs://localhost:9000/data/in2/2013/11/15/00/01,hdfs://localhost:9000/data/in2/2013/11/15/00/00 > > {noformat} > If one of the instance of in2paths (example, hdfs://localhost:9000/data/in2/2013/11/15/00/04) is missing, the workflow will fail anyway. > Hence, input, in2paths is not truly optional. Only that the triggering of instance is not gated on it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)