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 8803F1898A for ; Thu, 30 Apr 2015 22:41:37 +0000 (UTC) Received: (qmail 83537 invoked by uid 500); 30 Apr 2015 22:41:32 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 83491 invoked by uid 500); 30 Apr 2015 22:41:32 -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 83480 invoked by uid 99); 30 Apr 2015 22:41:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 22:41:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for dev@falcon.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 22:41:28 +0000 Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 877874735C for ; Thu, 30 Apr 2015 22:41:07 +0000 (UTC) Received: (qmail 82887 invoked by uid 99); 30 Apr 2015 22:41:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 22:41:07 +0000 Date: Thu, 30 Apr 2015 22:41:07 +0000 (UTC) From: "Balu Vellanki (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FALCON-1149) The 'today' EL date expression is resolving to yesterday's date, for process instance input feed ranges MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Balu Vellanki resolved FALCON-1149. ----------------------------------- Resolution: Implemented Fix Version/s: 0.6.1 Resolved by Falcon-1025 > The 'today' EL date expression is resolving to yesterday's date, for process instance input feed ranges > ------------------------------------------------------------------------------------------------------- > > Key: FALCON-1149 > URL: https://issues.apache.org/jira/browse/FALCON-1149 > Project: Falcon > Issue Type: Bug > Affects Versions: 0.5, 0.6 > Environment: HDP 2.1 sandbox, HDP 2.2 sandbox; server in UTC > Reporter: Alex C > Assignee: Ajay Yadava > Fix For: 0.6.1 > > > *Steps to reproduce* > 1. Submit a cluster named 'sandbox': > {code:xml} > > > > > > > > > > > > > > > {code} > 2. Submit a feed f1: > {code:xml} > > days(1) > UTC > > > > > > > > > path="/f1/${YEAR}/${MONTH}/${DAY}" /> > > > > > {code} > 3. Submit a process p1: > {code:xml} > > > > > > > 1 > FIFO > days(1) > > > > > > > > > {code} > 4. Submit a feed f2: > {code:xml} > > days(1) > UTC > > > > > > > > > path="/f2/${YEAR}/${MONTH}/${DAY}" /> > > > > > {code} > 5. Submit a process p2: > {code:xml} > > > > > > > 1 > FIFO > days(1) > > > > > > > > > > {code} > 6. Note that: > - Process p1 has no input feed (the data is fetched from some other location by p1). > - Feed f1 is referenced in the output of p1, and also referenced in the input of p2. > - All feeds are daily, and process input feed ranges and output feeds are daily, by way of the 'today(0,0)' EL expression. > 7. Finally, schedule all feeds and processes after 08:30Z on a given day, 'today'.. > *Expected:* > 1. The first scheduled instance for p1 proceeds to COMPLETED, and produces a partition in f1 for 'today' > 2. The first scheduled instance for p2 proceeds to COMPLETED, and produces a partition in f2 for 'today', since it looks for and finds a corresponding partition for 'today' in f1. > *Actual:* > 1. The first scheduled instance for p1 proceeds to COMPLETED, and produces a partition in f1 for 'today' > 2. However, the first scheduled instance for p2 is left in WAITING state, since it is looking for a partition in f1 for 'yesterday', which does not exist (and will never exist). > I am currently working around this unexpected behaviour by specifying the input feed range start and end for p2 as 'today(24,0)' instead of 'today(0,0)' > Please advise if this is indeed a) a bug or b) a mistake in the configuration. > Many thanks, -- This message was sent by Atlassian JIRA (v6.3.4#6332)