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 C006317716 for ; Wed, 23 Sep 2015 06:11:27 +0000 (UTC) Received: (qmail 91528 invoked by uid 500); 23 Sep 2015 06:11:27 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 91482 invoked by uid 500); 23 Sep 2015 06:11:27 -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 91471 invoked by uid 99); 23 Sep 2015 06:11:27 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2015 06:11:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id CE500C145D for ; Wed, 23 Sep 2015 06:11:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.975 X-Spam-Level: *** X-Spam-Status: No, score=3.975 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.006] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Q6ubD8KPCZFX for ; Wed, 23 Sep 2015 06:11:25 +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 5FF0E4445A for ; Wed, 23 Sep 2015 06:11:24 +0000 (UTC) Received: (qmail 91428 invoked by uid 99); 23 Sep 2015 06:11:23 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2015 06:11:23 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A5312285D44; Wed, 23 Sep 2015 06:11:21 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3959950707640344307==" MIME-Version: 1.0 Subject: Re: Review Request 37520: FALCON-1231 Reliable notifications for Oozie workflow status From: "Pallavi Rao" To: "Ying Zheng" , "Falcon" , "Pallavi Rao" Date: Wed, 23 Sep 2015 06:11:21 -0000 Message-ID: <20150923061121.24658.20116@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/37520/ X-Sender: "Pallavi Rao" References: <20150827235820.13584.54632@reviews.apache.org> In-Reply-To: <20150827235820.13584.54632@reviews.apache.org> Reply-To: "Pallavi Rao" X-ReviewRequest-Repository: falcon-git --===============3959950707640344307== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Aug. 27, 2015, 11:58 p.m., Ying Zheng wrote: > > webapp/src/conf/oozie/conf/oozie-site.xml, line 544 > > > > > > Should it be "oozie.jms.producr.connection.properties"? typo? Same for the other oozie-site.xml It might be a typo from oozie side.. The property works as specified. - Pallavi ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37520/#review96799 ----------------------------------------------------------- On Sept. 23, 2015, 6:10 a.m., Pallavi Rao wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37520/ > ----------------------------------------------------------- > > (Updated Sept. 23, 2015, 6:10 a.m.) > > > Review request for Falcon. > > > Bugs: FALCON-1231 > https://issues.apache.org/jira/browse/FALCON-1231 > > > Repository: falcon-git > > > Description > ------- > > Workflow completion is currently dependent on post processing action putting messages (success/failure) to a JMS queue. > When failures occur on Hadoop / Oozie, the post processing action may not get executed either. In such cases, Falcon will be blind to the status of the workflow and re-tries will not happen. > Instead, use JMS notifications of Oozie to get job completion notifications. > > The patch is backward compatible. It will handle notifications from post-processing and Oozie. That way users are not forced to perform any migration steps, but, can move to Oozie notifications in a phased manner. > > > Diffs > ----- > > client/src/main/java/org/apache/falcon/resource/InstancesResult.java 76bb4b0 > common/src/main/java/org/apache/falcon/catalog/CatalogPartitionHandler.java d0b09df > common/src/main/java/org/apache/falcon/entity/WorkflowNameBuilder.java 6890594 > common/src/main/java/org/apache/falcon/metadata/MetadataMappingService.java ef9da45 > common/src/main/java/org/apache/falcon/workflow/WorkflowExecutionArgs.java 9456fb9 > common/src/main/java/org/apache/falcon/workflow/WorkflowExecutionContext.java 4454239 > common/src/main/java/org/apache/falcon/workflow/WorkflowExecutionListener.java 2d3a477 > common/src/main/java/org/apache/falcon/workflow/WorkflowJobEndNotificationService.java c4f8843 > common/src/main/java/org/apache/falcon/workflow/engine/AbstractWorkflowEngine.java 0b560bb > common/src/test/java/org/apache/falcon/entity/TestWorkflowNameBuilder.java 6060731 > common/src/test/java/org/apache/falcon/workflow/WorkflowExecutionContextTest.java 65a057d > common/src/test/java/org/apache/falcon/workflow/WorkflowJobEndNotificationServiceTest.java b7df443 > messaging/pom.xml 6528278 > messaging/src/main/java/org/apache/falcon/messaging/JMSMessageConsumer.java d3178fb > messaging/src/test/java/org/apache/falcon/messaging/JMSMessageConsumerTest.java 5bbcc87 > oozie-el-extensions/src/main/conf/oozie-site.xml 0925b41 > oozie/src/main/java/org/apache/falcon/workflow/FalconPostProcessing.java cff1187 > oozie/src/main/java/org/apache/falcon/workflow/engine/OozieWorkflowEngine.java 0441f7c > oozie/src/test/java/org/apache/falcon/oozie/workflow/FalconPostProcessingTest.java 9d31d17 > rerun/src/main/java/org/apache/falcon/rerun/handler/LateRerunHandler.java 785dce8 > rerun/src/main/java/org/apache/falcon/rerun/handler/RetryHandler.java b952bbe > webapp/src/conf/oozie/conf/oozie-site.xml 8545ef9 > > Diff: https://reviews.apache.org/r/37520/diff/ > > > Testing > ------- > > UTs added. Manual testing done. > > > Thanks, > > Pallavi Rao > > --===============3959950707640344307==--