falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaik Idris Ali (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-236) Falcon process output events which is optional should have at least one event if defined
Date Mon, 23 Dec 2013 14:44:50 GMT

     [ 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.

 <xs:element type="outputs" name="outputs" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Defines outputs of the workflow
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

but the contents of this should have atleast one event:
  <xs:complexType name="outputs">
        <xs:sequence>
            <xs:element type="output" name="input" maxOccurs="unbounded" minOccurs="0">
            </xs:element>
        </xs:sequence>
    </xs:complexType>

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.

 <xs:element type="outputs" name="outputs" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Defines outputs of the workflow
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

but the contents of this should have atleast one event:
  <xs:complexType name="inputs">
        <xs:sequence>
            <xs:element type="input" name="input" maxOccurs="unbounded" minOccurs="0">
            </xs:element>
        </xs:sequence>
    </xs:complexType>

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.
>  <xs:element type="outputs" name="outputs" minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>Defines outputs of the workflow
>                     </xs:documentation>
>                 </xs:annotation>
>             </xs:element>
> but the contents of this should have atleast one event:
>   <xs:complexType name="outputs">
>         <xs:sequence>
>             <xs:element type="output" name="input" maxOccurs="unbounded" minOccurs="0">
>             </xs:element>
>         </xs:sequence>
>     </xs:complexType>
> 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)

Mime
View raw message