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 8A5C118A68 for ; Fri, 26 Jun 2015 07:10:29 +0000 (UTC) Received: (qmail 32498 invoked by uid 500); 26 Jun 2015 07:10:29 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 32455 invoked by uid 500); 26 Jun 2015 07:10:29 -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 32444 invoked by uid 99); 26 Jun 2015 07:10:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 07:10:29 +0000 X-ASF-Spam-Status: No, hits=-2001.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Jun 2015 07:08:18 +0000 Received: (qmail 32323 invoked by uid 99); 26 Jun 2015 07:10:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 07:10:05 +0000 Date: Fri, 26 Jun 2015 07:10:05 +0000 (UTC) From: "Ajay Yadava (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=14602499#comment-14602499 ] Ajay Yadava commented on FALCON-1149: ------------------------------------- Hi [~alza], Sorry for delayed response on this. I have tried reproducing your scenario again with same definitions but I am not able to reproduce the scenario. According to the data that you have given first instance generated by p1 will also be the instance that will be consumed by p2. This is also what I am getting when I try to reproduce the scenario. First instance of p2 shouldn't be stuck. Can you please schedule the processes and feeds again and provide the following information? 1) exact start date and time for both p1 and p2 and f1, f2. You have specified in both. (using entity definition command in cli - falcon entity -type process -name p1 -definition) 2) exact instance produced by p1 and exact (full path) being searched for by p2 3) How exactly is the feed path getting created in p1 (e.g. can you paste the line containing STORE command in case of pig)? > 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)