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 D053410355 for ; Mon, 23 Dec 2013 14:45:20 +0000 (UTC) Received: (qmail 85458 invoked by uid 500); 23 Dec 2013 14:45:18 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 85365 invoked by uid 500); 23 Dec 2013 14:45:16 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 84570 invoked by uid 99); 23 Dec 2013 14:45:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 14:45:13 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD 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; Mon, 23 Dec 2013 14:45:11 +0000 Received: (qmail 84243 invoked by uid 99); 23 Dec 2013 14:44:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 14:44:50 +0000 Date: Mon, 23 Dec 2013 14:44:50 +0000 (UTC) From: "Shaik Idris Ali (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-236) Falcon process output events which is optional should have at least one event if defined 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-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shaik Idris Ali updated FALCON-236: ----------------------------------- Description: Currently, outputs in Falcon process is optional which is fine. Defines outputs of the workflow but the contents of this should have atleast one event: Otherwise, oozie throws exception: 2013-12-23 14:34:44,809 ERROR CoordSubmitXCommand:536 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0421329-131109200338010-oozie-oozi-B] ACTION[-] XException, org.apache.oozie.command.CommandException: E0701: XML schema error, cvc-complex-type.2.4.b: The content of element 'output-events' is not complete. One of '{"uri:oozie:coordinator:0.3":data-out}' is expected. at org.apache.oozie.command.coord.CoordSubmitXCommand.submit(CoordSubmitXCommand.java:282) at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:81) at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:29) at org.apache.oozie.command.XCommand.call(XCommand.java:277) at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) was: Currently, outputs in Falcon process is optional which is fine. Defines outputs of the workflow but the contents of this should have atleast one event: Otherwise, oozie throws exception: 2013-12-23 14:34:44,809 ERROR CoordSubmitXCommand:536 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0421329-131109200338010-oozie-oozi-B] ACTION[-] XException, org.apache.oozie.command.CommandException: E0701: XML schema error, cvc-complex-type.2.4.b: The content of element 'output-events' is not complete. One of '{"uri:oozie:coordinator:0.3":data-out}' is expected. at org.apache.oozie.command.coord.CoordSubmitXCommand.submit(CoordSubmitXCommand.java:282) at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:81) at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:29) at org.apache.oozie.command.XCommand.call(XCommand.java:277) at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) > Falcon process output events which is optional should have at least one event if defined > ---------------------------------------------------------------------------------------- > > Key: FALCON-236 > URL: https://issues.apache.org/jira/browse/FALCON-236 > Project: Falcon > Issue Type: Bug > Components: client, process > Affects Versions: 0.3 > Reporter: Shaik Idris Ali > Assignee: Shaik Idris Ali > Priority: Minor > Labels: xsd > Fix For: 0.4 > > > Currently, outputs in Falcon process is optional which is fine. > > > Defines outputs of the workflow > > > > but the contents of this should have atleast one event: > > > > > > > Otherwise, oozie throws exception: > 2013-12-23 14:34:44,809 ERROR CoordSubmitXCommand:536 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0421329-131109200338010-oozie-oozi-B] ACTION[-] XException, > org.apache.oozie.command.CommandException: E0701: XML schema error, cvc-complex-type.2.4.b: The content of element 'output-events' is not complete. One of '{"uri:oozie:coordinator:0.3":data-out}' is expected. > at org.apache.oozie.command.coord.CoordSubmitXCommand.submit(CoordSubmitXCommand.java:282) > at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:81) > at org.apache.oozie.command.SubmitTransitionXCommand.execute(SubmitTransitionXCommand.java:29) > at org.apache.oozie.command.XCommand.call(XCommand.java:277) > at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) -- This message was sent by Atlassian JIRA (v6.1.5#6160)