Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In the documentation for 'external dataset definition' - http://yahoo.github.com/oozie/releases/3.0.2/CoordinatorFunctionalSpec.html, it needs to be mentioned that:
If a xml namespace (xmlns="xyz") is already present for <coordinator-app> then there is no need to specify it again on any of the <datasets> or <dataset> elements (even if the dataset is defined in a separate xml file).
Specifying namespaces at multiple places, results in xml errors while submitting the job.
CORRECT SPECIFICATION:
------------------------------------------
<coordinator-app name="aggreg" xmlns="uri:oozie:coordinator:0.2">
.....
<datasets>
<dataset>
..
</dataset>
.....
</datasets>
.....
</coordinator-app>
INCORRECT SPECIFICATION:
------------------------------------------
<coordinator-app name="aggreg" xmlns="uri:oozie:coordinator:0.2">
.....
<datasets xmlns="uri:oozie:coordinator:0.2">
<include>
..
</include>
<dataset>
..
</dataset>
.....
</datasets>
.....
</coordinator-app>