You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by an...@apache.org on 2012/01/06 22:57:32 UTC
svn commit: r1228433 - in /incubator/oozie/branches/3.1:
docs/src/site/twiki/CoordinatorFunctionalSpec.twiki release-log.txt
Author: angeloh
Date: Fri Jan 6 21:57:32 2012
New Revision: 1228433
URL: http://svn.apache.org/viewvc?rev=1228433&view=rev
Log:
Closes OOZIE-569 Update documentation on external dataset definition -- for Params
Modified:
incubator/oozie/branches/3.1/docs/src/site/twiki/CoordinatorFunctionalSpec.twiki
incubator/oozie/branches/3.1/release-log.txt
Modified: incubator/oozie/branches/3.1/docs/src/site/twiki/CoordinatorFunctionalSpec.twiki
URL: http://svn.apache.org/viewvc/incubator/oozie/branches/3.1/docs/src/site/twiki/CoordinatorFunctionalSpec.twiki?rev=1228433&r1=1228432&r2=1228433&view=diff
==============================================================================
--- incubator/oozie/branches/3.1/docs/src/site/twiki/CoordinatorFunctionalSpec.twiki (original)
+++ incubator/oozie/branches/3.1/docs/src/site/twiki/CoordinatorFunctionalSpec.twiki Fri Jan 6 21:57:32 2012
@@ -548,15 +548,16 @@ The dataset resolves to the following UR
---+++ 5.3. Dataset Definitions
Dataset definitions are grouped in XML files.
+*IMPORTANT:* Please note that if an XML namespace version is specified for the coordinator-app element in the coordinator.xml file, no namespace needs to be defined separately for the datasets element (even if the dataset is defined in a separate file). Specifying it at multiple places might result in xml errors while submitting the coordinator job.
*%PURPLE% Syntax: %ENDCOLOR%*
<verbatim>
<!-- Synchronous datasets -->
-<datasets xmlns="uri:oozie:coordinator:0.1">
+<datasets>
<include>[SHARED_DATASETS]</include>
...
- <dataset name="[NAME]" frequency="[FREQUENCY]"
+ <dataset name="[NAME]" frequency="[FREQUENCY]"
initial-instance="[DATETIME]" timezone="[TIMEZONE]">
<uri-template>[URI TEMPLATE]</uri-template>
</dataset>
@@ -567,7 +568,7 @@ Dataset definitions are grouped in XML f
*%GREEN% Example: %ENDCOLOR%*
<verbatim>
-<datasets xmlns="uri:oozie:coordinator:0.1">
+<datasets>
.
<include>hdfs://foo:9000/app/dataset-definitions/globallogs.xml</include>
.
@@ -1208,7 +1209,7 @@ The datetime returned by =${coord:curren
Datasets Definition:
<verbatim>
-<datasets xmlns="uri:oozie:coordinator:0.1">
+<datasets>
.
<dataset name="logs" frequency="${coord:days(1)}"
initial-instance="2009-01-01T24:00Z" timezone="UTC">
@@ -1236,7 +1237,7 @@ Note, in the example above, how the date
Datasets Definition file 'datasets.xml':
<verbatim>
-<datasets xmlns="uri:oozie:coordinator:0.1">
+<datasets>
<dataset name="logs" frequency="${coord:hours(1)}"
initial-instance="2009-01-01T01:00Z" timezone="UTC">
@@ -1307,7 +1308,7 @@ In this case, the dataset instances are
Datasets Definition file 'datasets.xml':
<verbatim>
-<datasets xmlns="uri:oozie:coordinator:0.1">
+<datasets>
.
<dataset name="logs" frequency="${coord:hours(1)}"
initial-instance="2009-01-01T01:00Z" timezone="UTC">
@@ -1837,7 +1838,7 @@ The =${coord:dataOut(String name)}= is c
Datasets Definition file 'datasets.xml'
<verbatim>
-<datasets xmlns="uri:oozie:coordinator:0.1">
+<datasets>
.
<dataset name="hourlyLogs" frequency="${coord:hours(1)}"
initial-instance="2009-01-01T01:00Z" timezone="UTC">
Modified: incubator/oozie/branches/3.1/release-log.txt
URL: http://svn.apache.org/viewvc/incubator/oozie/branches/3.1/release-log.txt?rev=1228433&r1=1228432&r2=1228433&view=diff
==============================================================================
--- incubator/oozie/branches/3.1/release-log.txt (original)
+++ incubator/oozie/branches/3.1/release-log.txt Fri Jan 6 21:57:32 2012
@@ -2,6 +2,7 @@
OOZIE-25 Removing confusing exception trace during wf suspend/kill/resume
OOZIE-567 Is sub-workflow lib directory not used? Libraries of both parent and child workflows need to be added to classpath
OOZIE-564 Embedded pig within python fails when run using oozie
+OOZIE-569 Update documentation on external dataset definition
-- Oozie 3.1.0 release
OOZIE-37 Documentation related modifications for "log -action" option