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 9E59518AE9 for ; Fri, 11 Dec 2015 10:47:00 +0000 (UTC) Received: (qmail 93242 invoked by uid 500); 11 Dec 2015 10:47:00 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 93193 invoked by uid 500); 11 Dec 2015 10:47:00 -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 93181 invoked by uid 99); 11 Dec 2015 10:47:00 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2015 10:47:00 +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 D196C1809BB for ; Fri, 11 Dec 2015 10:46:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.427 X-Spam-Level: ** X-Spam-Status: No, score=2.427 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id rvsi_06HTg99 for ; Fri, 11 Dec 2015 10:46:55 +0000 (UTC) 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 5C093429C4 for ; Fri, 11 Dec 2015 10:46:54 +0000 (UTC) Received: (qmail 93166 invoked by uid 99); 11 Dec 2015 10:46:53 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2015 10:46:53 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 4F8B81D9C37; Fri, 11 Dec 2015 10:46:53 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4030123340627634791==" MIME-Version: 1.0 Subject: Re: Review Request 40698: FALCON-1512 Implement touch feature for native scheduler From: "Pallavi Rao" To: "pavan kumar kolamuri" , "Falcon" , "Pallavi Rao" Date: Fri, 11 Dec 2015 10:46:53 -0000 Message-ID: <20151211104653.1618.4112@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Pallavi Rao" X-ReviewGroup: Falcon X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/40698/ X-Sender: "Pallavi Rao" References: <20151209095805.1618.52816@reviews.apache.org> In-Reply-To: <20151209095805.1618.52816@reviews.apache.org> Reply-To: "Pallavi Rao" X-ReviewRequest-Repository: falcon-git --===============4030123340627634791== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Dec. 9, 2015, 9:58 a.m., pavan kumar kolamuri wrote: > > scheduler/src/main/java/org/apache/falcon/workflow/engine/DAGEngine.java, line 122 > > > > > > Pallavi can you add description in jira what touch will do in native scheduler touch with native scheduler will do the same thing that it does now. Ensures any updates to libraries are picked up (without any change to entity). > On Dec. 9, 2015, 9:58 a.m., pavan kumar kolamuri wrote: > > scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java, line 346 > > > > > > I didn't get what exactly touch is doing. We are just creating staging path. Will it be useful when effective time come into picture ? It just builds the entity againin a new staging path. This copies over the libraries to the new staging path afresh. That way, when the next instance is run, the latest libs get picked up. When effective time comes into picture, we'll have to re-run older instances. Will cross that bridge when we get to it. :-) > On Dec. 9, 2015, 9:58 a.m., pavan kumar kolamuri wrote: > > scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java, line 363 > > > > > > As of now effective time is always in future (now + 3 mins). Won't it break backward compatability ? now + 3 is more of a limitation because scheduling on Oozie takes time. With native scheduler, the very next instance that is run, will pick up the changes. - Pallavi ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40698/#review109478 ----------------------------------------------------------- On Dec. 4, 2015, 12:06 p.m., Pallavi Rao wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40698/ > ----------------------------------------------------------- > > (Updated Dec. 4, 2015, 12:06 p.m.) > > > Review request for Falcon. > > > Bugs: FALCON-1512 > https://issues.apache.org/jira/browse/FALCON-1512 > > > Repository: falcon-git > > > Description > ------- > > Touch feature was not implemented for native scheduler. Adding it now. > > > Diffs > ----- > > scheduler/src/main/java/org/apache/falcon/workflow/engine/DAGEngine.java ebc05ec > scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java ac7cde8 > scheduler/src/main/java/org/apache/falcon/workflow/engine/OozieDAGEngine.java 70c8353 > scheduler/src/test/java/org/apache/falcon/execution/MockDAGEngine.java 087114f > > Diff: https://reviews.apache.org/r/40698/diff/ > > > Testing > ------- > > Manual testing done. Couldn't add UTs are there are interactions with Oozie. > > > Thanks, > > Pallavi Rao > > --===============4030123340627634791==--