You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by sh...@apache.org on 2014/03/24 07:19:54 UTC
[1/3] FALCON-365 Remove the checked in oozie xsds. Contributed by
Shwetha GS
Repository: incubator-falcon
Updated Branches:
refs/heads/master ab327ea9e -> a90b47406
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.3.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.3.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.3.xsd
deleted file mode 100644
index 30b31be..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.3.xsd
+++ /dev/null
@@ -1,288 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:workflow="uri:oozie:workflow:0.3"
- elementFormDefault="qualified" targetNamespace="uri:oozie:workflow:0.3">
-
- <xs:element name="workflow-app" type="workflow:WORKFLOW-APP"/>
-
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="WORKFLOW-APP">
- <xs:sequence>
- <xs:element name="credentials" type="workflow:CREDENTIALS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="start" type="workflow:START" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="decision" type="workflow:DECISION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fork" type="workflow:FORK" minOccurs="1" maxOccurs="1"/>
- <xs:element name="join" type="workflow:JOIN" minOccurs="1" maxOccurs="1"/>
- <xs:element name="kill" type="workflow:KILL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="action" type="workflow:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="end" type="workflow:END" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="START">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="END">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="DECISION">
- <xs:sequence>
- <xs:element name="switch" type="workflow:SWITCH" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="switch" type="workflow:SWITCH"/>
-
- <xs:complexType name="SWITCH">
- <xs:sequence>
- <xs:sequence>
- <xs:element name="case" type="workflow:CASE" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="default" type="workflow:DEFAULT" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CASE">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="DEFAULT">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK_TRANSITION">
- <xs:attribute name="start" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK">
- <xs:sequence>
- <xs:element name="path" type="workflow:FORK_TRANSITION" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="JOIN">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="kill" type="workflow:KILL"/>
-
- <xs:complexType name="KILL">
- <xs:sequence>
- <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="ACTION_TRANSITION">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE"/>
- <xs:element name="pig" type="workflow:PIG"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"/>
- <xs:element name="fs" type="workflow:FS"/>
- <xs:element name="java" type="workflow:JAVA"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE" minOccurs="1" maxOccurs="1"/>
- <xs:element name="pig" type="workflow:PIG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fs" type="workflow:FS" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java" type="workflow:JAVA" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="ok" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="error" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="cred" type="xs:string"/>
- <xs:attribute name="retry-max" type="xs:string"/>
- <xs:attribute name="retry-interval" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="MAP-REDUCE">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="streaming" type="workflow:STREAMING" minOccurs="0" maxOccurs="1"/>
- <xs:element name="pipes" type="workflow:PIPES" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIG">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SUB-WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="propagate-configuration" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FS">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="delete" type="workflow:DELETE"/>
- <xs:element name="mkdir" type="workflow:MKDIR"/>
- <xs:element name="move" type="workflow:MOVE"/>
- <xs:element name="chmod" type="workflow:CHMOD"/>
- </xs:choice>
- </xs:complexType>
-
- <xs:complexType name="JAVA">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="main-class" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="STREAMING">
- <xs:sequence>
- <xs:element name="mapper" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reducer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader-mapping" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIPES">
- <xs:sequence>
- <xs:element name="map" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reduce" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="inputformat" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="partitioner" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="writer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="workflow:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="workflow:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MOVE">
- <xs:attribute name="source" type="xs:string" use="required"/>
- <xs:attribute name="target" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHMOD">
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="permissions" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIALS">
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element name="credential" type="workflow:CREDENTIAL"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIAL">
- <xs:sequence minOccurs="0" maxOccurs="unbounded" >
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="type" type="xs:string" use="required"/>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.4.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.4.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.4.xsd
deleted file mode 100644
index 5654a02..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.4.xsd
+++ /dev/null
@@ -1,329 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:workflow="uri:oozie:workflow:0.4"
- elementFormDefault="qualified" targetNamespace="uri:oozie:workflow:0.4">
-
- <xs:element name="workflow-app" type="workflow:WORKFLOW-APP"/>
-
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="WORKFLOW-APP">
- <xs:sequence>
- <xs:element name="parameters" type="workflow:PARAMETERS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="global" type="workflow:GLOBAL" minOccurs="0" maxOccurs="1"/>
- <xs:element name="credentials" type="workflow:CREDENTIALS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="start" type="workflow:START" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="decision" type="workflow:DECISION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fork" type="workflow:FORK" minOccurs="1" maxOccurs="1"/>
- <xs:element name="join" type="workflow:JOIN" minOccurs="1" maxOccurs="1"/>
- <xs:element name="kill" type="workflow:KILL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="action" type="workflow:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="end" type="workflow:END" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="PARAMETERS">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="GLOBAL">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="START">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="END">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="DECISION">
- <xs:sequence>
- <xs:element name="switch" type="workflow:SWITCH" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="switch" type="workflow:SWITCH"/>
-
- <xs:complexType name="SWITCH">
- <xs:sequence>
- <xs:sequence>
- <xs:element name="case" type="workflow:CASE" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="default" type="workflow:DEFAULT" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CASE">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="DEFAULT">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK_TRANSITION">
- <xs:attribute name="start" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK">
- <xs:sequence>
- <xs:element name="path" type="workflow:FORK_TRANSITION" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="JOIN">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="kill" type="workflow:KILL"/>
-
- <xs:complexType name="KILL">
- <xs:sequence>
- <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="ACTION_TRANSITION">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE"/>
- <xs:element name="pig" type="workflow:PIG"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"/>
- <xs:element name="fs" type="workflow:FS"/>
- <xs:element name="java" type="workflow:JAVA"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE" minOccurs="1" maxOccurs="1"/>
- <xs:element name="pig" type="workflow:PIG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fs" type="workflow:FS" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java" type="workflow:JAVA" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="ok" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="error" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="cred" type="xs:string"/>
- <xs:attribute name="retry-max" type="xs:string"/>
- <xs:attribute name="retry-interval" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="MAP-REDUCE">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="streaming" type="workflow:STREAMING" minOccurs="0" maxOccurs="1"/>
- <xs:element name="pipes" type="workflow:PIPES" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIG">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SUB-WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="propagate-configuration" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FS">
- <xs:sequence>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="delete" type="workflow:DELETE"/>
- <xs:element name="mkdir" type="workflow:MKDIR"/>
- <xs:element name="move" type="workflow:MOVE"/>
- <xs:element name="chmod" type="workflow:CHMOD"/>
- <xs:element name="touchz" type="workflow:TOUCHZ"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="JAVA">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="main-class" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="java-opts" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java-opt" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- </xs:choice>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="STREAMING">
- <xs:sequence>
- <xs:element name="mapper" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reducer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader-mapping" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIPES">
- <xs:sequence>
- <xs:element name="map" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reduce" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="inputformat" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="partitioner" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="writer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="workflow:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="workflow:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MOVE">
- <xs:attribute name="source" type="xs:string" use="required"/>
- <xs:attribute name="target" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHMOD">
- <xs:sequence>
- <xs:element name="recursive" type="workflow:FLAG" minOccurs="0" maxOccurs="1"></xs:element>
- </xs:sequence>
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="permissions" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="TOUCHZ">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIALS">
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element name="credential" type="workflow:CREDENTIAL"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIAL">
- <xs:sequence minOccurs="0" maxOccurs="unbounded" >
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="type" type="xs:string" use="required"/>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.5.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.5.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.5.xsd
deleted file mode 100644
index 6620a4e..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.5.xsd
+++ /dev/null
@@ -1,339 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:workflow="uri:oozie:workflow:0.5"
- elementFormDefault="qualified" targetNamespace="uri:oozie:workflow:0.5">
-
- <xs:element name="workflow-app" type="workflow:WORKFLOW-APP"/>
-
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="WORKFLOW-APP">
- <xs:sequence>
- <xs:element name="parameters" type="workflow:PARAMETERS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="global" type="workflow:GLOBAL" minOccurs="0" maxOccurs="1"/>
- <xs:element name="credentials" type="workflow:CREDENTIALS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="start" type="workflow:START" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="decision" type="workflow:DECISION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fork" type="workflow:FORK" minOccurs="1" maxOccurs="1"/>
- <xs:element name="join" type="workflow:JOIN" minOccurs="1" maxOccurs="1"/>
- <xs:element name="kill" type="workflow:KILL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="action" type="workflow:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="end" type="workflow:END" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1 uri:oozie:sla:0.2" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="PARAMETERS">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="GLOBAL">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="START">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="END">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="DECISION">
- <xs:sequence>
- <xs:element name="switch" type="workflow:SWITCH" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="switch" type="workflow:SWITCH"/>
-
- <xs:complexType name="SWITCH">
- <xs:sequence>
- <xs:sequence>
- <xs:element name="case" type="workflow:CASE" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="default" type="workflow:DEFAULT" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CASE">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="DEFAULT">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK_TRANSITION">
- <xs:attribute name="start" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK">
- <xs:sequence>
- <xs:element name="path" type="workflow:FORK_TRANSITION" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="JOIN">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="kill" type="workflow:KILL"/>
-
- <xs:complexType name="KILL">
- <xs:sequence>
- <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="ACTION_TRANSITION">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE"/>
- <xs:element name="pig" type="workflow:PIG"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"/>
- <xs:element name="fs" type="workflow:FS"/>
- <xs:element name="java" type="workflow:JAVA"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE" minOccurs="1" maxOccurs="1"/>
- <xs:element name="pig" type="workflow:PIG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fs" type="workflow:FS" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java" type="workflow:JAVA" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="ok" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="error" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1 uri:oozie:sla:0.2" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="cred" type="xs:string"/>
- <xs:attribute name="retry-max" type="xs:string"/>
- <xs:attribute name="retry-interval" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="MAP-REDUCE">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="streaming" type="workflow:STREAMING" minOccurs="0" maxOccurs="1"/>
- <xs:element name="pipes" type="workflow:PIPES" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIG">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SUB-WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="propagate-configuration" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FS">
- <xs:sequence>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="delete" type="workflow:DELETE"/>
- <xs:element name="mkdir" type="workflow:MKDIR"/>
- <xs:element name="move" type="workflow:MOVE"/>
- <xs:element name="chmod" type="workflow:CHMOD"/>
- <xs:element name="touchz" type="workflow:TOUCHZ"/>
- <xs:element name="chgrp" type="workflow:CHGRP"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="JAVA">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="main-class" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="java-opts" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java-opt" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- </xs:choice>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="STREAMING">
- <xs:sequence>
- <xs:element name="mapper" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reducer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader-mapping" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIPES">
- <xs:sequence>
- <xs:element name="map" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reduce" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="inputformat" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="partitioner" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="writer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="workflow:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="workflow:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MOVE">
- <xs:attribute name="source" type="xs:string" use="required"/>
- <xs:attribute name="target" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHMOD">
- <xs:sequence>
- <xs:element name="recursive" type="workflow:FLAG" minOccurs="0" maxOccurs="1"></xs:element>
- </xs:sequence>
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="permissions" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="TOUCHZ">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHGRP">
- <xs:sequence>
- <xs:element name="recursive" type="workflow:FLAG" minOccurs="0" maxOccurs="1"></xs:element>
- </xs:sequence>
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="group" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIALS">
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element name="credential" type="workflow:CREDENTIAL"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIAL">
- <xs:sequence minOccurs="0" maxOccurs="unbounded" >
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="type" type="xs:string" use="required"/>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/shell-action-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/shell-action-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/shell-action-0.1.xsd
deleted file mode 100644
index 4794c0d..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/shell-action-0.1.xsd
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:shell="uri:oozie:shell-action:0.1" elementFormDefault="qualified"
- targetNamespace="uri:oozie:shell-action:0.1">
-
- <xs:element name="shell" type="shell:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="shell:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="shell:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="exec" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env-var" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="shell:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="shell:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="shell:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/shell-action-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/shell-action-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/shell-action-0.2.xsd
deleted file mode 100644
index 2afee7d..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/shell-action-0.2.xsd
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:shell="uri:oozie:shell-action:0.2" elementFormDefault="qualified"
- targetNamespace="uri:oozie:shell-action:0.2">
-
- <xs:element name="shell" type="shell:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="shell:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="shell:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="exec" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env-var" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="shell:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="shell:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="shell:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/shell-action-0.3.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/shell-action-0.3.xsd b/webapp/src/conf/oozie/conf/action-conf/shell-action-0.3.xsd
deleted file mode 100644
index f6269e6..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/shell-action-0.3.xsd
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:shell="uri:oozie:shell-action:0.3" elementFormDefault="qualified"
- targetNamespace="uri:oozie:shell-action:0.3">
-
- <xs:element name="shell" type="shell:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="shell:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="shell:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="exec" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env-var" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="shell:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="shell:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="shell:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.2.xsd
deleted file mode 100644
index 8e2ebd3..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.2.xsd
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:sqoop="uri:oozie:sqoop-action:0.2" elementFormDefault="qualified"
- targetNamespace="uri:oozie:sqoop-action:0.2">
-
- <xs:element name="sqoop" type="sqoop:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="sqoop:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="sqoop:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:choice>
- <xs:element name="command" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- </xs:choice>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="sqoop:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="sqoop:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.3.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.3.xsd b/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.3.xsd
deleted file mode 100644
index df7a944..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.3.xsd
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:sqoop="uri:oozie:sqoop-action:0.3" elementFormDefault="qualified"
- targetNamespace="uri:oozie:sqoop-action:0.3">
-
- <xs:element name="sqoop" type="sqoop:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="sqoop:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="sqoop:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:choice>
- <xs:element name="command" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- </xs:choice>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="sqoop:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="sqoop:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.4.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.4.xsd b/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.4.xsd
deleted file mode 100644
index a7efc15..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/sqoop-action-0.4.xsd
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:sqoop="uri:oozie:sqoop-action:0.4" elementFormDefault="qualified"
- targetNamespace="uri:oozie:sqoop-action:0.4">
-
- <xs:element name="sqoop" type="sqoop:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="sqoop:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="sqoop:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:choice>
- <xs:element name="command" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- </xs:choice>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="sqoop:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="sqoop:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.1.xsd
deleted file mode 100644
index e8a6f9e..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.1.xsd
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:ssh="uri:oozie:ssh-action:0.1" elementFormDefault="qualified"
- targetNamespace="uri:oozie:ssh-action:0.1">
-
- <xs:element name="ssh" type="ssh:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="host" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="command" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="args" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="ssh:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.2.xsd
deleted file mode 100644
index 30ff921..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/ssh-action-0.2.xsd
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:ssh="uri:oozie:ssh-action:0.2" elementFormDefault="qualified"
- targetNamespace="uri:oozie:ssh-action:0.2">
-
- <xs:element name="ssh" type="ssh:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="host" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="command" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:choice>
- <xs:element name="args" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:choice>
- <xs:element name="capture-output" type="ssh:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/oozie-site.xml
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/oozie-site.xml b/webapp/src/conf/oozie/conf/oozie-site.xml
index 5f644a2..62bb246 100644
--- a/webapp/src/conf/oozie/conf/oozie-site.xml
+++ b/webapp/src/conf/oozie/conf/oozie-site.xml
@@ -37,6 +37,21 @@
<value>shell-action-0.1.xsd,hive-action-0.2.xsd,sqoop-action-0.2.xsd</value>
</property>
+ <property>
+ <name>oozie.service.HadoopAccessorService.action.configurations</name>
+ <value>*=${oozie.action.conf}</value>
+ <description>
+ Comma separated AUTHORITY=ACTION_CONF_DIR, where AUTHORITY is the HOST:PORT of
+ the Hadoop MapReduce service (JobTracker, YARN). The wildcard '*' configuration is
+ used when there is no exact match for an authority. The ACTION_CONF_DIR may contain
+ ACTION.xml files where ACTION is the action type ('java', 'map-reduce', 'pig',
+ 'hive', 'sqoop', etc.). If the ACTION.xml file exists, its properties will be used
+ as defaults properties for the action. If the path is relative is looked within
+ the Oozie configuration directory; though the path can be absolute (i.e. to point
+ to Hadoop client conf/ directories in the local filesystem.
+ </description>
+ </property>
+
<property>
<name>oozie.system.id</name>
<value>oozie-${user.name}</value>
[3/3] git commit: FALCON-365 Remove the checked in oozie xsds.
Contributed by Shwetha GS
Posted by sh...@apache.org.
FALCON-365 Remove the checked in oozie xsds. Contributed by Shwetha GS
Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/a90b4740
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/a90b4740
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/a90b4740
Branch: refs/heads/master
Commit: a90b474067e964958b76e2ff54cc13ef86c042a7
Parents: ab327ea
Author: Shwetha GS <sh...@gmail.com>
Authored: Mon Mar 24 11:49:42 2014 +0530
Committer: Shwetha GS <sh...@gmail.com>
Committed: Mon Mar 24 11:49:42 2014 +0530
----------------------------------------------------------------------
CHANGES.txt | 2 +
oozie/pom.xml | 108 +++---
.../src/main/resources/binding/jaxb-binding.xjb | 27 ++
oozie/src/main/resources/hive-action-0.2.xsd | 68 ----
oozie/src/main/resources/oozie-bundle-0.1.xsd | 61 ----
.../main/resources/oozie-coordinator-0.3.xsd | 133 --------
oozie/src/main/resources/oozie-workflow-0.3.xsd | 299 ----------------
pom.xml | 6 +
webapp/pom.xml | 29 ++
.../conf/action-conf/distcp-action-0.1.xsd | 65 ----
.../conf/action-conf/distcp-action-0.2.xsd | 65 ----
.../oozie/conf/action-conf/email-action-0.1.xsd | 33 --
.../conf/action-conf/gms-oozie-sla-0.1.xsd | 78 -----
.../oozie/conf/action-conf/hive-action-0.2.xsd | 68 ----
.../oozie/conf/action-conf/hive-action-0.3.xsd | 68 ----
.../oozie/conf/action-conf/hive-action-0.4.xsd | 68 ----
.../oozie/conf/action-conf/hive-action-0.5.xsd | 69 ----
webapp/src/conf/oozie/conf/action-conf/hive.xml | 41 ---
.../conf/action-conf/oozie-buildinfo.properties | 35 --
.../oozie/conf/action-conf/oozie-bundle-0.1.xsd | 61 ----
.../oozie/conf/action-conf/oozie-bundle-0.2.xsd | 75 ----
.../conf/action-conf/oozie-coordinator-0.1.xsd | 132 --------
.../conf/action-conf/oozie-coordinator-0.2.xsd | 133 --------
.../conf/action-conf/oozie-coordinator-0.3.xsd | 133 --------
.../conf/action-conf/oozie-coordinator-0.4.xsd | 147 --------
.../oozie/conf/action-conf/oozie-sla-0.1.xsd | 63 ----
.../oozie/conf/action-conf/oozie-sla-0.2.xsd | 47 ---
.../conf/action-conf/oozie-workflow-0.1.xsd | 301 ----------------
.../conf/action-conf/oozie-workflow-0.2.5.xsd | 288 ----------------
.../conf/action-conf/oozie-workflow-0.2.xsd | 263 --------------
.../conf/action-conf/oozie-workflow-0.3.xsd | 288 ----------------
.../conf/action-conf/oozie-workflow-0.4.xsd | 329 ------------------
.../conf/action-conf/oozie-workflow-0.5.xsd | 339 -------------------
.../oozie/conf/action-conf/shell-action-0.1.xsd | 73 ----
.../oozie/conf/action-conf/shell-action-0.2.xsd | 73 ----
.../oozie/conf/action-conf/shell-action-0.3.xsd | 73 ----
.../oozie/conf/action-conf/sqoop-action-0.2.xsd | 70 ----
.../oozie/conf/action-conf/sqoop-action-0.3.xsd | 70 ----
.../oozie/conf/action-conf/sqoop-action-0.4.xsd | 70 ----
.../oozie/conf/action-conf/ssh-action-0.1.xsd | 36 --
.../oozie/conf/action-conf/ssh-action-0.2.xsd | 39 ---
webapp/src/conf/oozie/conf/oozie-site.xml | 15 +
42 files changed, 148 insertions(+), 4293 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 49a07ec..6808a15 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -25,6 +25,8 @@ Trunk (Unreleased)
(Venkatesh Seetharam)
IMPROVEMENTS
+ FALCON-365 Remove the checked in oozie xsds. (Shwetha GS)
+
FALCON-356 Merge OozieProcessMapper and OozieProcessWorkflowBuilder. (Shwetha GS)
FALCON-355 Remove SLAMonitoringService. (Shwetha GS)
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/oozie/pom.xml
----------------------------------------------------------------------
diff --git a/oozie/pom.xml b/oozie/pom.xml
index 7e2cb77..206eb3b 100644
--- a/oozie/pom.xml
+++ b/oozie/pom.xml
@@ -114,76 +114,106 @@
<build>
<plugins>
<plugin>
- <groupId>com.sun.tools.xjc.maven2</groupId>
- <artifactId>maven-jaxb-plugin</artifactId>
- <version>1.1.1</version>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.oozie</groupId>
+ <artifactId>oozie-client</artifactId>
+ <outputDirectory>${project.build.directory}/oozie-schemas</outputDirectory>
+ <includes>**/*.xsd</includes>
+ <excludes>**/*.class</excludes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.jvnet.jaxb2.maven2</groupId>
+ <artifactId>maven-jaxb2-plugin</artifactId>
<executions>
<execution>
- <id>1</id>
- <!-- <phase>generate-sources</phase> -->
+ <id>coord-gen</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
- <!-- <generateDirectory>src/main/java</generateDirectory> -->
+ <forceRegenerate>true</forceRegenerate>
<generatePackage>org.apache.falcon.oozie.coordinator</generatePackage>
- <includeSchemas>
- <includeSchema>oozie-coordinator-0.3.xsd</includeSchema>
- </includeSchemas>
- <excludeBindings>
- <excludeBinding>jaxb-binding.xjb</excludeBinding>
- </excludeBindings>
+ <schemas>
+ <schema>
+ <dependencyResource>
+ <groupId>org.apache.oozie</groupId>
+ <artifactId>oozie-client</artifactId>
+ <resource>oozie-coordinator-0.3.xsd</resource>
+ </dependencyResource>
+ </schema>
+ </schemas>
</configuration>
</execution>
<execution>
- <id>2</id>
- <!-- <phase>generate-sources</phase> -->
+ <id>wf-gen</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
- <!-- <generateDirectory>src/main/java</generateDirectory> -->
+ <!-- Uses workflow xsd from unpacked oozie client jar to customize jaxb binding.
+ jaxb binding is required to avoid 'Property "Any" is already defined' error-->
+ <forceRegenerate>true</forceRegenerate>
<generatePackage>org.apache.falcon.oozie.workflow</generatePackage>
- <includeSchemas>
- <includeSchema>oozie-workflow-0.3.xsd</includeSchema>
- </includeSchemas>
- <excludeBindings>
- <excludeBinding>jaxb-binding.xjb</excludeBinding>
- </excludeBindings>
+ <bindingDirectory>src/main/resources/binding</bindingDirectory>
+ <schemaDirectory>${project.build.directory}/oozie-schemas</schemaDirectory>
+ <schemaIncludes>
+ <include>oozie-workflow-0.3.xsd</include>
+ </schemaIncludes>
+ <debug>true</debug>
</configuration>
</execution>
<execution>
- <id>3</id>
- <!-- <phase>generate-sources</phase> -->
+ <id>hive-gen</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
- <!-- <generateDirectory>src/main/java</generateDirectory> -->
+ <forceRegenerate>true</forceRegenerate>
<generatePackage>org.apache.falcon.oozie.hive</generatePackage>
- <includeSchemas>
- <includeSchema>hive-action-0.2.xsd</includeSchema>
- </includeSchemas>
- <excludeBindings>
- <excludeBinding>jaxb-binding.xjb</excludeBinding>
- </excludeBindings>
+ <schemas>
+ <schema>
+ <dependencyResource>
+ <groupId>org.apache.oozie</groupId>
+ <artifactId>oozie-client</artifactId>
+ <resource>hive-action-0.2.xsd</resource>
+ </dependencyResource>
+ </schema>
+ </schemas>
</configuration>
</execution>
<execution>
- <id>4</id>
- <!-- <phase>generate-sources</phase> -->
+ <id>bundle-gen</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
- <!-- <generateDirectory>src/main/java</generateDirectory> -->
+ <forceRegenerate>true</forceRegenerate>
<generatePackage>org.apache.falcon.oozie.bundle</generatePackage>
- <includeSchemas>
- <includeSchema>oozie-bundle-0.1.xsd</includeSchema>
- </includeSchemas>
- <excludeBindings>
- <excludeBinding>jaxb-binding.xjb</excludeBinding>
- </excludeBindings>
+ <schemas>
+ <schema>
+ <dependencyResource>
+ <groupId>org.apache.oozie</groupId>
+ <artifactId>oozie-client</artifactId>
+ <resource>oozie-bundle-0.1.xsd</resource>
+ </dependencyResource>
+ </schema>
+ </schemas>
</configuration>
</execution>
</executions>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/oozie/src/main/resources/binding/jaxb-binding.xjb
----------------------------------------------------------------------
diff --git a/oozie/src/main/resources/binding/jaxb-binding.xjb b/oozie/src/main/resources/binding/jaxb-binding.xjb
new file mode 100644
index 0000000..9b69ad0
--- /dev/null
+++ b/oozie/src/main/resources/binding/jaxb-binding.xjb
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<jaxb:bindings xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" version="2.1">
+
+ <jaxb:bindings schemaLocation="../../../../target/oozie-schemas/oozie-workflow-0.3.xsd"
+ node="//xs:complexType[@name='ACTION']/xs:sequence/xs:any[@namespace='uri:oozie:sla:0.1']">
+ <jaxb:property name="anySLA"/>
+ </jaxb:bindings>
+</jaxb:bindings>
+
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/oozie/src/main/resources/hive-action-0.2.xsd
----------------------------------------------------------------------
diff --git a/oozie/src/main/resources/hive-action-0.2.xsd b/oozie/src/main/resources/hive-action-0.2.xsd
deleted file mode 100644
index 884bd5f..0000000
--- a/oozie/src/main/resources/hive-action-0.2.xsd
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:hive="uri:oozie:hive-action:0.2" elementFormDefault="qualified"
- targetNamespace="uri:oozie:hive-action:0.2">
-
- <xs:element name="hive" type="hive:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="hive:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="hive:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="hive:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="hive:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/oozie/src/main/resources/oozie-bundle-0.1.xsd
----------------------------------------------------------------------
diff --git a/oozie/src/main/resources/oozie-bundle-0.1.xsd b/oozie/src/main/resources/oozie-bundle-0.1.xsd
deleted file mode 100644
index 671e1ad..0000000
--- a/oozie/src/main/resources/oozie-bundle-0.1.xsd
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bundle="uri:oozie:bundle:0.1"
- elementFormDefault="qualified" targetNamespace="uri:oozie:bundle:0.1">
-
- <xs:element name="bundle-app" type="bundle:BUNDLE-APP"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="BUNDLE-APP">
- <xs:sequence>
- <xs:element name="controls" type="bundle:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="coordinator" type="bundle:COORDINATOR" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="bundle:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="kick-off-time" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="COORDINATOR">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="bundle:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="bundle:IDENTIFIER" use="required"/>
- <xs:attribute name="critical" type="xs:string" use="optional"/>
- </xs:complexType>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/oozie/src/main/resources/oozie-coordinator-0.3.xsd
----------------------------------------------------------------------
diff --git a/oozie/src/main/resources/oozie-coordinator-0.3.xsd b/oozie/src/main/resources/oozie-coordinator-0.3.xsd
deleted file mode 100644
index e593d75..0000000
--- a/oozie/src/main/resources/oozie-coordinator-0.3.xsd
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coordinator="uri:oozie:coordinator:0.3"
- elementFormDefault="qualified" targetNamespace="uri:oozie:coordinator:0.3">
-
- <xs:element name="coordinator-app" type="coordinator:COORDINATOR-APP"/>
- <xs:element name="datasets" type="coordinator:DATASETS"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="COORDINATOR-APP">
- <xs:sequence>
- <xs:element name="controls" type="coordinator:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="datasets" type="coordinator:DATASETS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="input-events" type="coordinator:INPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="output-events" type="coordinator:OUTPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="action" type="coordinator:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="start" type="xs:string" use="required"/>
- <xs:attribute name="end" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="timeout" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="concurrency" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="execution" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="throttle" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATASETS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="dataset" type="coordinator:SYNCDATASET" minOccurs="0" maxOccurs="1"/>
- <xs:element name="async-dataset" type="coordinator:ASYNCDATASET" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="done-flag" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="initial-instance" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="ASYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="sequence-type" type="xs:string" use="required"/>
- <xs:attribute name="initial-version" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="INPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-in" type="coordinator:DATAIN" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAIN">
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="start-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="end-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:choice>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="OUTPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-out" type="coordinator:DATAOUT" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAOUT">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="ACTION">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="workflow" type="coordinator:WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="coordinator:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/oozie/src/main/resources/oozie-workflow-0.3.xsd
----------------------------------------------------------------------
diff --git a/oozie/src/main/resources/oozie-workflow-0.3.xsd b/oozie/src/main/resources/oozie-workflow-0.3.xsd
deleted file mode 100644
index 996a109..0000000
--- a/oozie/src/main/resources/oozie-workflow-0.3.xsd
+++ /dev/null
@@ -1,299 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:workflow="uri:oozie:workflow:0.3"
- elementFormDefault="qualified" targetNamespace="uri:oozie:workflow:0.3">
-
- <xs:element name="workflow-app" type="workflow:WORKFLOW-APP"/>
-
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="WORKFLOW-APP">
- <xs:sequence>
- <xs:element name="credentials" type="workflow:CREDENTIALS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="start" type="workflow:START" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="decision" type="workflow:DECISION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fork" type="workflow:FORK" minOccurs="1" maxOccurs="1"/>
- <xs:element name="join" type="workflow:JOIN" minOccurs="1" maxOccurs="1"/>
- <xs:element name="kill" type="workflow:KILL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="action" type="workflow:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="end" type="workflow:END" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="START">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="END">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="DECISION">
- <xs:sequence>
- <xs:element name="switch" type="workflow:SWITCH" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="switch" type="workflow:SWITCH"/>
-
- <xs:complexType name="SWITCH">
- <xs:sequence>
- <xs:sequence>
- <xs:element name="case" type="workflow:CASE" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="default" type="workflow:DEFAULT" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CASE">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="DEFAULT">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK_TRANSITION">
- <xs:attribute name="start" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK">
- <xs:sequence>
- <xs:element name="path" type="workflow:FORK_TRANSITION" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="JOIN">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="kill" type="workflow:KILL"/>
-
- <xs:complexType name="KILL">
- <xs:sequence>
- <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="ACTION_TRANSITION">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE"/>
- <xs:element name="pig" type="workflow:PIG"/>
- <xs:element name="ssh" type="workflow:SSH"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"/>
- <xs:element name="fs" type="workflow:FS"/>
- <xs:element name="java" type="workflow:JAVA"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE" minOccurs="1" maxOccurs="1"/>
- <xs:element name="pig" type="workflow:PIG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="ssh" type="workflow:SSH" minOccurs="1" maxOccurs="1"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fs" type="workflow:FS" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java" type="workflow:JAVA" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="ok" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="error" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <!--xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/-->
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="cred" type="xs:string"/>
- <xs:attribute name="retry-max" type="xs:string"/>
- <xs:attribute name="retry-interval" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="MAP-REDUCE">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="streaming" type="workflow:STREAMING" minOccurs="0" maxOccurs="1"/>
- <xs:element name="pipes" type="workflow:PIPES" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIG">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SSH">
- <xs:sequence>
- <xs:element name="host" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="command" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="args" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SUB-WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="propagate-configuration" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FS">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="delete" type="workflow:DELETE"/>
- <xs:element name="mkdir" type="workflow:MKDIR"/>
- <xs:element name="move" type="workflow:MOVE"/>
- <xs:element name="chmod" type="workflow:CHMOD"/>
- </xs:choice>
- </xs:complexType>
-
- <xs:complexType name="JAVA">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="main-class" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="STREAMING">
- <xs:sequence>
- <xs:element name="mapper" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reducer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader-mapping" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIPES">
- <xs:sequence>
- <xs:element name="map" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reduce" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="inputformat" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="partitioner" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="writer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="workflow:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="workflow:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MOVE">
- <xs:attribute name="source" type="xs:string" use="required"/>
- <xs:attribute name="target" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHMOD">
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="permissions" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIALS">
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element name="credential" type="workflow:CREDENTIAL"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIAL">
- <xs:sequence minOccurs="0" maxOccurs="unbounded" >
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="type" type="xs:string" use="required"/>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9bb3264..8e31626 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1133,6 +1133,12 @@
<artifactId>javancss-maven-plugin</artifactId>
<version>2.0</version>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.8</version>
+ </plugin>
</plugins>
</pluginManagement>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/pom.xml
----------------------------------------------------------------------
diff --git a/webapp/pom.xml b/webapp/pom.xml
index 5c293e1..8e5388d 100644
--- a/webapp/pom.xml
+++ b/webapp/pom.xml
@@ -375,6 +375,31 @@
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.oozie</groupId>
+ <artifactId>oozie-client</artifactId>
+ <outputDirectory>${project.build.directory}/webapps/oozie/conf/action-conf</outputDirectory>
+ <includes>**/*.xsd</includes>
+ <excludes>**/*.class</excludes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>${jetty.version}</version>
@@ -419,6 +444,10 @@
<value>${project.build.directory}/webapps/oozie/data</value>
</systemProperty>
<systemProperty>
+ <name>oozie.action.conf</name>
+ <value>${project.build.directory}/webapps/oozie/conf/action-conf</value>
+ </systemProperty>
+ <systemProperty>
<name>system.lib.location</name>
<value>${project.build.directory}/dependency</value>
</systemProperty>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.1.xsd
deleted file mode 100644
index b77e039..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.1.xsd
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:distcp="uri:oozie:distcp-action:0.1" elementFormDefault="qualified"
- targetNamespace="uri:oozie:distcp-action:0.1">
-
- <xs:element name="distcp" type="distcp:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="distcp:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="distcp:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="distcp:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="distcp:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.2.xsd
deleted file mode 100644
index f478e92..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/distcp-action-0.2.xsd
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:distcp="uri:oozie:distcp-action:0.2" elementFormDefault="qualified"
- targetNamespace="uri:oozie:distcp-action:0.2">
-
- <xs:element name="distcp" type="distcp:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="distcp:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="distcp:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="distcp:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="distcp:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/email-action-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/email-action-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/email-action-0.1.xsd
deleted file mode 100644
index c8b4ca2..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/email-action-0.1.xsd
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:email="uri:oozie:email-action:0.1" elementFormDefault="qualified"
- targetNamespace="uri:oozie:email-action:0.1">
-
- <xs:element name="email" type="email:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="to" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="cc" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="subject" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="body" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/gms-oozie-sla-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/gms-oozie-sla-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/gms-oozie-sla-0.1.xsd
deleted file mode 100644
index 64cc0ad..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/gms-oozie-sla-0.1.xsd
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:sla="uri:oozie:sla:0.1" elementFormDefault="qualified"
- targetNamespace="uri:oozie:sla:0.1">
-
- <xs:element name="info" type="sla:SLA-INFO"/>
-
- <xs:complexType name="SLA-INFO">
- <xs:sequence>
- <xs:element name="app-name" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
-
- <xs:element name="nominal-time" type="xs:string"
- minOccurs="1" maxOccurs="1"/>
- <xs:element name="should-start" type="xs:string"
- minOccurs="1" maxOccurs="1"/>
- <xs:element name="should-end" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
-
- <xs:element name="parent-client-id" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
- <xs:element name="parent-sla-id" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
-
- <xs:element name="notification-msg" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
- <xs:element name="alert-contact" type="xs:string"
- minOccurs="1" maxOccurs="1"/>
- <xs:element name="dev-contact" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="qa-contact" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="se-contact" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="alert-frequency" type="sla:alert-frequencyType"
- minOccurs="0" maxOccurs="1"/>
- <xs:element name="alert-percentage" type="sla:alert-percentageType"
- minOccurs="0" maxOccurs="1"/>
-
- <xs:element name="upstream-apps" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
-
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="alert-percentageType">
- <xs:restriction base="xs:integer">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="100"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="alert-frequencyType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="NONE"></xs:enumeration>
- <xs:enumeration value="LAST_HOUR"></xs:enumeration>
- <xs:enumeration value="LAST_DAY"></xs:enumeration>
- <xs:enumeration value="LAST_MONTH"></xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/hive-action-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/hive-action-0.2.xsd
deleted file mode 100644
index 884bd5f..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.2.xsd
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:hive="uri:oozie:hive-action:0.2" elementFormDefault="qualified"
- targetNamespace="uri:oozie:hive-action:0.2">
-
- <xs:element name="hive" type="hive:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="hive:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="hive:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="hive:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="hive:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/hive-action-0.3.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.3.xsd b/webapp/src/conf/oozie/conf/action-conf/hive-action-0.3.xsd
deleted file mode 100644
index 06619e8..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.3.xsd
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:hive="uri:oozie:hive-action:0.3" elementFormDefault="qualified"
- targetNamespace="uri:oozie:hive-action:0.3">
-
- <xs:element name="hive" type="hive:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="hive:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="hive:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="hive:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="hive:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/hive-action-0.4.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.4.xsd b/webapp/src/conf/oozie/conf/action-conf/hive-action-0.4.xsd
deleted file mode 100644
index 09a3b80..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.4.xsd
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:hive="uri:oozie:hive-action:0.4" elementFormDefault="qualified"
- targetNamespace="uri:oozie:hive-action:0.4">
-
- <xs:element name="hive" type="hive:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="hive:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="hive:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="hive:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="hive:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/hive-action-0.5.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.5.xsd b/webapp/src/conf/oozie/conf/action-conf/hive-action-0.5.xsd
deleted file mode 100644
index 94863e0..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/hive-action-0.5.xsd
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:hive="uri:oozie:hive-action:0.5" elementFormDefault="qualified"
- targetNamespace="uri:oozie:hive-action:0.5">
-
- <xs:element name="hive" type="hive:ACTION"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="prepare" type="hive:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="configuration" type="hive:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="hive:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="hive:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/hive.xml
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/hive.xml b/webapp/src/conf/oozie/conf/action-conf/hive.xml
deleted file mode 100644
index e734089..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/hive.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<configuration>
- <property>
- <name>hive.metastore.uris</name>
- <value>thrift://localhost:49083</value>
- </property>
-
- <property>
- <name>hive.metastore.local</name>
- <value>false</value>
- </property>
-
- <property>
- <name>fs.default.name</name>
- <value>jail://global:00</value>
- </property>
-
- <!-- Forcing the creation of the db dir under target so mvn clean will clean up -->
- <property>
- <name>javax.jdo.option.ConnectionURL</name>
- <value>jdbc:derby:;databaseName=./target/metastore_db;create=true</value>
- </property>
-</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-buildinfo.properties
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-buildinfo.properties b/webapp/src/conf/oozie/conf/action-conf/oozie-buildinfo.properties
deleted file mode 100644
index d3c1ad1..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-buildinfo.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License. See accompanying LICENSE file.
-
-#
-
-######################
-build.user=${user.name}
-build.time=${build.time}
-build.version=${pom.version}
-vc.revision=${vc.revision}
-vc.url=${vc.url}
-######################
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.1.xsd
deleted file mode 100644
index 3bc439f..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.1.xsd
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bundle="uri:oozie:bundle:0.1"
- elementFormDefault="qualified" targetNamespace="uri:oozie:bundle:0.1">
-
- <xs:element name="bundle-app" type="bundle:BUNDLE-APP"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="BUNDLE-APP">
- <xs:sequence>
- <xs:element name="controls" type="bundle:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="coordinator" type="bundle:COORDINATOR" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="kick-off-time" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="COORDINATOR">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="bundle:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="bundle:IDENTIFIER" use="required"/>
- <xs:attribute name="critical" type="xs:string" use="optional"/>
- </xs:complexType>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.2.xsd
deleted file mode 100644
index 7da8197..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-bundle-0.2.xsd
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bundle="uri:oozie:bundle:0.2"
- elementFormDefault="qualified" targetNamespace="uri:oozie:bundle:0.2">
-
- <xs:element name="bundle-app" type="bundle:BUNDLE-APP"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="BUNDLE-APP">
- <xs:sequence>
- <xs:element name="parameters" type="bundle:PARAMETERS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="controls" type="bundle:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="coordinator" type="bundle:COORDINATOR" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="PARAMETERS">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="kick-off-time" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="COORDINATOR">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="bundle:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="bundle:IDENTIFIER" use="required"/>
- <xs:attribute name="critical" type="xs:string" use="optional"/>
- </xs:complexType>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
[2/3] FALCON-365 Remove the checked in oozie xsds. Contributed by
Shwetha GS
Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.1.xsd
deleted file mode 100644
index 55817d5..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.1.xsd
+++ /dev/null
@@ -1,132 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coordinator="uri:oozie:coordinator:0.1"
- elementFormDefault="qualified" targetNamespace="uri:oozie:coordinator:0.1">
-
- <xs:element name="coordinator-app" type="coordinator:COORDINATOR-APP"/>
- <xs:element name="datasets" type="coordinator:DATASETS"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="COORDINATOR-APP">
- <xs:sequence>
- <xs:element name="controls" type="coordinator:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="datasets" type="coordinator:DATASETS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="input-events" type="coordinator:INPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="output-events" type="coordinator:OUTPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="action" type="coordinator:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="start" type="xs:string" use="required"/>
- <xs:attribute name="end" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="timeout" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="concurrency" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="execution" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATASETS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="dataset" type="coordinator:SYNCDATASET" minOccurs="0" maxOccurs="1"/>
- <xs:element name="async-dataset" type="coordinator:ASYNCDATASET" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="done-flag" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="initial-instance" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="ASYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="sequence-type" type="xs:string" use="required"/>
- <xs:attribute name="initial-version" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="INPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-in" type="coordinator:DATAIN" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAIN">
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="start-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="end-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:choice>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="OUTPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-out" type="coordinator:DATAOUT" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAOUT">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="ACTION">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="workflow" type="coordinator:WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="coordinator:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.2.xsd
deleted file mode 100644
index 649e100..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.2.xsd
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coordinator="uri:oozie:coordinator:0.2"
- elementFormDefault="qualified" targetNamespace="uri:oozie:coordinator:0.2">
-
- <xs:element name="coordinator-app" type="coordinator:COORDINATOR-APP"/>
- <xs:element name="datasets" type="coordinator:DATASETS"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="COORDINATOR-APP">
- <xs:sequence>
- <xs:element name="controls" type="coordinator:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="datasets" type="coordinator:DATASETS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="input-events" type="coordinator:INPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="output-events" type="coordinator:OUTPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="action" type="coordinator:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="start" type="xs:string" use="required"/>
- <xs:attribute name="end" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="timeout" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="concurrency" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="execution" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="throttle" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATASETS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="dataset" type="coordinator:SYNCDATASET" minOccurs="0" maxOccurs="1"/>
- <xs:element name="async-dataset" type="coordinator:ASYNCDATASET" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="done-flag" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="initial-instance" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="ASYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="sequence-type" type="xs:string" use="required"/>
- <xs:attribute name="initial-version" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="INPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-in" type="coordinator:DATAIN" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAIN">
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="start-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="end-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:choice>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="OUTPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-out" type="coordinator:DATAOUT" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAOUT">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="ACTION">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="workflow" type="coordinator:WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="coordinator:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.3.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.3.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.3.xsd
deleted file mode 100644
index 90917fa..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.3.xsd
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coordinator="uri:oozie:coordinator:0.3"
- elementFormDefault="qualified" targetNamespace="uri:oozie:coordinator:0.3">
-
- <xs:element name="coordinator-app" type="coordinator:COORDINATOR-APP"/>
- <xs:element name="datasets" type="coordinator:DATASETS"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="COORDINATOR-APP">
- <xs:sequence>
- <xs:element name="controls" type="coordinator:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="datasets" type="coordinator:DATASETS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="input-events" type="coordinator:INPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="output-events" type="coordinator:OUTPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="action" type="coordinator:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="start" type="xs:string" use="required"/>
- <xs:attribute name="end" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="timeout" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="concurrency" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="execution" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="throttle" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATASETS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="dataset" type="coordinator:SYNCDATASET" minOccurs="0" maxOccurs="1"/>
- <xs:element name="async-dataset" type="coordinator:ASYNCDATASET" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="done-flag" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="initial-instance" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="ASYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="sequence-type" type="xs:string" use="required"/>
- <xs:attribute name="initial-version" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="INPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-in" type="coordinator:DATAIN" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAIN">
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="start-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="end-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:choice>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="OUTPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-out" type="coordinator:DATAOUT" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAOUT">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="ACTION">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="workflow" type="coordinator:WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="coordinator:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.4.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.4.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.4.xsd
deleted file mode 100644
index cc34e4d..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-coordinator-0.4.xsd
+++ /dev/null
@@ -1,147 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coordinator="uri:oozie:coordinator:0.4"
- elementFormDefault="qualified" targetNamespace="uri:oozie:coordinator:0.4">
-
- <xs:element name="coordinator-app" type="coordinator:COORDINATOR-APP"/>
- <xs:element name="datasets" type="coordinator:DATASETS"/>
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="COORDINATOR-APP">
- <xs:sequence>
- <xs:element name="parameters" type="coordinator:PARAMETERS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="controls" type="coordinator:CONTROLS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="datasets" type="coordinator:DATASETS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="input-events" type="coordinator:INPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="output-events" type="coordinator:OUTPUTEVENTS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="action" type="coordinator:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="start" type="xs:string" use="required"/>
- <xs:attribute name="end" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="PARAMETERS">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="CONTROLS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="timeout" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="concurrency" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="execution" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="throttle" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATASETS">
- <xs:sequence minOccurs="0" maxOccurs="1">
- <xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="dataset" type="coordinator:SYNCDATASET" minOccurs="0" maxOccurs="1"/>
- <xs:element name="async-dataset" type="coordinator:ASYNCDATASET" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="done-flag" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="frequency" type="xs:string" use="required"/>
- <xs:attribute name="initial-instance" type="xs:string" use="required"/>
- <xs:attribute name="timezone" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="ASYNCDATASET">
- <xs:sequence>
- <xs:element name="uri-template" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="sequence-type" type="xs:string" use="required"/>
- <xs:attribute name="initial-version" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="INPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-in" type="coordinator:DATAIN" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAIN">
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="start-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="end-instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:choice>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="OUTPUTEVENTS">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="data-out" type="coordinator:DATAOUT" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="DATAOUT">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="instance" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="coordinator:IDENTIFIER" use="required"/>
- <xs:attribute name="dataset" type="coordinator:IDENTIFIER" use="required"/>
- </xs:complexType>
- <xs:complexType name="ACTION">
- <xs:sequence minOccurs="1" maxOccurs="1">
- <xs:element name="workflow" type="coordinator:WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1 uri:oozie:sla:0.2" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="configuration" type="coordinator:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.1.xsd
deleted file mode 100644
index 2cf3f87..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.1.xsd
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:sla="uri:oozie:sla:0.1" elementFormDefault="qualified"
- targetNamespace="uri:oozie:sla:0.1">
-
- <xs:element name="info" type="sla:SLA-INFO"/>
-
- <xs:complexType name="SLA-INFO">
- <xs:sequence>
- <xs:element name="app-name" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
-
- <xs:element name="nominal-time" type="xs:string"
- minOccurs="1" maxOccurs="1"/>
- <xs:element name="should-start" type="xs:string"
- minOccurs="1" maxOccurs="1"/>
- <xs:element name="should-end" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
-
- <xs:element name="parent-client-id" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
- <xs:element name="parent-sla-id" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
-
- <xs:element name="notification-msg" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
- <xs:element name="alert-contact" type="xs:string"
- minOccurs="1" maxOccurs="1"/>
- <xs:element name="dev-contact" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="qa-contact" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="se-contact" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="alert-frequency" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
- <xs:element name="alert-percentage" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
-
- <xs:element name="upstream-apps" type="xs:string"
- minOccurs="0" maxOccurs="1"/>
-
- </xs:sequence>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.2.xsd
deleted file mode 100644
index 1071e7d..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-sla-0.2.xsd
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:sla="uri:oozie:sla:0.2" elementFormDefault="qualified"
- targetNamespace="uri:oozie:sla:0.2">
-
- <xs:element name="info" type="sla:SLA-INFO"/>
-
- <xs:complexType name="SLA-INFO">
- <xs:sequence>
- <xs:element name="nominal-time" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="should-start" type="xs:string" minOccurs="0"
- maxOccurs="1"/>
- <xs:element name="should-end" type="xs:string" minOccurs="1"
- maxOccurs="1"/>
- <xs:element name="max-duration" type="xs:string" minOccurs="0"
- maxOccurs="1"/>
-
- <xs:element name="alert-events" type="xs:string" minOccurs="0"
- maxOccurs="1"/>
- <xs:element name="alert-contact" type="xs:string" minOccurs="0"
- maxOccurs="1"/>
- <xs:element name="notification-msg" type="xs:string" minOccurs="0"
- maxOccurs="1"/>
- <xs:element name="upstream-apps" type="xs:string" minOccurs="0"
- maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.1.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.1.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.1.xsd
deleted file mode 100644
index 8af8ecf..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.1.xsd
+++ /dev/null
@@ -1,301 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:workflow="uri:oozie:workflow:0.1"
- elementFormDefault="qualified" targetNamespace="uri:oozie:workflow:0.1">
-
- <xs:element name="workflow-app" type="workflow:WORKFLOW-APP"/>
-
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="WORKFLOW-APP">
- <xs:sequence>
- <xs:element name="start" type="workflow:START" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="decision" type="workflow:DECISION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fork" type="workflow:FORK" minOccurs="1" maxOccurs="1"/>
- <xs:element name="join" type="workflow:JOIN" minOccurs="1" maxOccurs="1"/>
- <xs:element name="kill" type="workflow:KILL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="action" type="workflow:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="end" type="workflow:END" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="START">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="END">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="DECISION">
- <xs:sequence>
- <xs:element name="switch" type="workflow:SWITCH" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="switch" type="workflow:SWITCH"/>
-
- <xs:complexType name="SWITCH">
- <xs:sequence>
- <xs:sequence>
- <xs:element name="case" type="workflow:CASE" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="default" type="workflow:DEFAULT" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CASE">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="DEFAULT">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK_TRANSITION">
- <xs:attribute name="start" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK">
- <xs:sequence>
- <xs:element name="path" type="workflow:FORK_TRANSITION" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="JOIN">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="kill" type="workflow:KILL"/>
-
- <xs:complexType name="KILL">
- <xs:sequence>
- <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="ACTION_TRANSITION">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE"/>
- <xs:element name="pig" type="workflow:PIG"/>
- <xs:element name="ssh" type="workflow:SSH"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"/>
- <xs:element name="fs" type="workflow:FS"/>
- <xs:element name="java" type="workflow:JAVA"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE" minOccurs="1" maxOccurs="1"/>
- <xs:element name="pig" type="workflow:PIG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="ssh" type="workflow:SSH" minOccurs="1" maxOccurs="1"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fs" type="workflow:FS" minOccurs="1" maxOccurs="1"/>
- <xs:element name="http" type="workflow:HTTP" minOccurs="1" maxOccurs="1"/>
- <xs:element name="email" type="workflow:EMAIL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java" type="workflow:JAVA" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="ok" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="error" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MAP-REDUCE">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="streaming" type="workflow:STREAMING" minOccurs="0" maxOccurs="1"/>
- <xs:element name="pipes" type="workflow:PIPES" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIG">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SSH">
- <xs:sequence>
- <xs:element name="host" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="command" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="args" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SUB-WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="propagate-configuration" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FS">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="delete" type="workflow:DELETE"/>
- <xs:element name="mkdir" type="workflow:MKDIR"/>
- <xs:element name="move" type="workflow:MOVE"/>
- <xs:element name="chmod" type="workflow:CHMOD"/>
- </xs:choice>
- </xs:complexType>
-
- <xs:complexType name="HTTP">
- <xs:sequence>
- <xs:element name="http-url" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="post" type="workflow:HTTP-POST" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="wait" type="workflow:FLAG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="continue" type="workflow:FLAG" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="capture-output" type="workflow:FLAG"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="EMAIL">
- <xs:sequence>
- <xs:element name="to" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="subject" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="message" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="HTTP-POST">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="content-type" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="JAVA">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="main-class" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="STREAMING">
- <xs:sequence>
- <xs:element name="mapper" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reducer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader-mapping" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIPES">
- <xs:sequence>
- <xs:element name="map" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reduce" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="inputformat" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="partitioner" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="writer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="workflow:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="workflow:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MOVE">
- <xs:attribute name="source" type="xs:string" use="required"/>
- <xs:attribute name="target" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHMOD">
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="permissions" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.5.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.5.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.5.xsd
deleted file mode 100644
index a2e3d70..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.5.xsd
+++ /dev/null
@@ -1,288 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:workflow="uri:oozie:workflow:0.2.5"
- elementFormDefault="qualified" targetNamespace="uri:oozie:workflow:0.2.5">
-
- <xs:element name="workflow-app" type="workflow:WORKFLOW-APP"/>
-
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="WORKFLOW-APP">
- <xs:sequence>
- <xs:element name="credentials" type="workflow:CREDENTIALS" minOccurs="0" maxOccurs="1"/>
- <xs:element name="start" type="workflow:START" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="decision" type="workflow:DECISION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fork" type="workflow:FORK" minOccurs="1" maxOccurs="1"/>
- <xs:element name="join" type="workflow:JOIN" minOccurs="1" maxOccurs="1"/>
- <xs:element name="kill" type="workflow:KILL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="action" type="workflow:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="end" type="workflow:END" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="START">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="END">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="DECISION">
- <xs:sequence>
- <xs:element name="switch" type="workflow:SWITCH" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="switch" type="workflow:SWITCH"/>
-
- <xs:complexType name="SWITCH">
- <xs:sequence>
- <xs:sequence>
- <xs:element name="case" type="workflow:CASE" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="default" type="workflow:DEFAULT" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CASE">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="DEFAULT">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK_TRANSITION">
- <xs:attribute name="start" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK">
- <xs:sequence>
- <xs:element name="path" type="workflow:FORK_TRANSITION" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="JOIN">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="kill" type="workflow:KILL"/>
-
- <xs:complexType name="KILL">
- <xs:sequence>
- <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="ACTION_TRANSITION">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE"/>
- <xs:element name="pig" type="workflow:PIG"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"/>
- <xs:element name="fs" type="workflow:FS"/>
- <xs:element name="java" type="workflow:JAVA"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE" minOccurs="1" maxOccurs="1"/>
- <xs:element name="pig" type="workflow:PIG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fs" type="workflow:FS" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java" type="workflow:JAVA" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="ok" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="error" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="cred" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="MAP-REDUCE">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="streaming" type="workflow:STREAMING" minOccurs="0" maxOccurs="1"/>
- <xs:element name="pipes" type="workflow:PIPES" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIG">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SUB-WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="propagate-configuration" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FS">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="delete" type="workflow:DELETE"/>
- <xs:element name="mkdir" type="workflow:MKDIR"/>
- <xs:element name="move" type="workflow:MOVE"/>
- <xs:element name="chmod" type="workflow:CHMOD"/>
- </xs:choice>
- </xs:complexType>
-
- <xs:complexType name="JAVA">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="main-class" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="STREAMING">
- <xs:sequence>
- <xs:element name="mapper" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reducer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader-mapping" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIPES">
- <xs:sequence>
- <xs:element name="map" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reduce" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="inputformat" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="partitioner" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="writer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="workflow:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="workflow:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MOVE">
- <xs:attribute name="source" type="xs:string" use="required"/>
- <xs:attribute name="target" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHMOD">
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="permissions" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIALS">
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element name="credential" type="workflow:CREDENTIAL"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CREDENTIAL">
- <xs:sequence minOccurs="0" maxOccurs="unbounded" >
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="type" type="xs:string" use="required"/>
- </xs:complexType>
-
-
-</xs:schema>
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a90b4740/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.xsd
----------------------------------------------------------------------
diff --git a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.xsd b/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.xsd
deleted file mode 100644
index 093827a..0000000
--- a/webapp/src/conf/oozie/conf/action-conf/oozie-workflow-0.2.xsd
+++ /dev/null
@@ -1,263 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:workflow="uri:oozie:workflow:0.2"
- elementFormDefault="qualified" targetNamespace="uri:oozie:workflow:0.2">
-
- <xs:element name="workflow-app" type="workflow:WORKFLOW-APP"/>
-
- <xs:simpleType name="IDENTIFIER">
- <xs:restriction base="xs:string">
- <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="WORKFLOW-APP">
- <xs:sequence>
- <xs:element name="start" type="workflow:START" minOccurs="1" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="decision" type="workflow:DECISION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fork" type="workflow:FORK" minOccurs="1" maxOccurs="1"/>
- <xs:element name="join" type="workflow:JOIN" minOccurs="1" maxOccurs="1"/>
- <xs:element name="kill" type="workflow:KILL" minOccurs="1" maxOccurs="1"/>
- <xs:element name="action" type="workflow:ACTION" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="end" type="workflow:END" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="START">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="END">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="DECISION">
- <xs:sequence>
- <xs:element name="switch" type="workflow:SWITCH" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="switch" type="workflow:SWITCH"/>
-
- <xs:complexType name="SWITCH">
- <xs:sequence>
- <xs:sequence>
- <xs:element name="case" type="workflow:CASE" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="default" type="workflow:DEFAULT" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CASE">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
-
- <xs:complexType name="DEFAULT">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK_TRANSITION">
- <xs:attribute name="start" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="FORK">
- <xs:sequence>
- <xs:element name="path" type="workflow:FORK_TRANSITION" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="JOIN">
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="kill" type="workflow:KILL"/>
-
- <xs:complexType name="KILL">
- <xs:sequence>
- <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="ACTION_TRANSITION">
- <xs:attribute name="to" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE"/>
- <xs:element name="pig" type="workflow:PIG"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW"/>
- <xs:element name="fs" type="workflow:FS"/>
- <xs:element name="java" type="workflow:JAVA"/>
-
- <xs:complexType name="ACTION">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="1">
- <xs:element name="map-reduce" type="workflow:MAP-REDUCE" minOccurs="1" maxOccurs="1"/>
- <xs:element name="pig" type="workflow:PIG" minOccurs="1" maxOccurs="1"/>
- <xs:element name="sub-workflow" type="workflow:SUB-WORKFLOW" minOccurs="1" maxOccurs="1"/>
- <xs:element name="fs" type="workflow:FS" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java" type="workflow:JAVA" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="##other" minOccurs="1" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="ok" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:element name="error" type="workflow:ACTION_TRANSITION" minOccurs="1" maxOccurs="1"/>
- <xs:any namespace="uri:oozie:sla:0.1" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- <xs:attribute name="name" type="workflow:IDENTIFIER" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MAP-REDUCE">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="1">
- <xs:element name="streaming" type="workflow:STREAMING" minOccurs="0" maxOccurs="1"/>
- <xs:element name="pipes" type="workflow:PIPES" minOccurs="0" maxOccurs="1"/>
- </xs:choice>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIG">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="script" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="argument" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="SUB-WORKFLOW">
- <xs:sequence>
- <xs:element name="app-path" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="propagate-configuration" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FS">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="delete" type="workflow:DELETE"/>
- <xs:element name="mkdir" type="workflow:MKDIR"/>
- <xs:element name="move" type="workflow:MOVE"/>
- <xs:element name="chmod" type="workflow:CHMOD"/>
- </xs:choice>
- </xs:complexType>
-
- <xs:complexType name="JAVA">
- <xs:sequence>
- <xs:element name="job-tracker" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="name-node" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="prepare" type="workflow:PREPARE" minOccurs="0" maxOccurs="1"/>
- <xs:element name="job-xml" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="configuration" type="workflow:CONFIGURATION" minOccurs="0" maxOccurs="1"/>
- <xs:element name="main-class" type="xs:string" minOccurs="1" maxOccurs="1"/>
- <xs:element name="java-opts" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="archive" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="capture-output" type="workflow:FLAG" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="FLAG"/>
-
- <xs:complexType name="CONFIGURATION">
- <xs:sequence>
- <xs:element name="property" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="value" minOccurs="1" maxOccurs="1" type="xs:string"/>
- <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="STREAMING">
- <xs:sequence>
- <xs:element name="mapper" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reducer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="record-reader-mapping" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="env" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PIPES">
- <xs:sequence>
- <xs:element name="map" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="reduce" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="inputformat" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="partitioner" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="writer" type="xs:string" minOccurs="0" maxOccurs="1"/>
- <xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="PREPARE">
- <xs:sequence>
- <xs:element name="delete" type="workflow:DELETE" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="mkdir" type="workflow:MKDIR" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="DELETE">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MKDIR">
- <xs:attribute name="path" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="MOVE">
- <xs:attribute name="source" type="xs:string" use="required"/>
- <xs:attribute name="target" type="xs:string" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CHMOD">
- <xs:attribute name="path" type="xs:string" use="required"/>
- <xs:attribute name="permissions" type="xs:string" use="required"/>
- <xs:attribute name="dir-files" type="xs:string"/>
- </xs:complexType>
-
-</xs:schema>