[
https://issues.apache.org/jira/browse/OOZIE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Parameswaran Raman updated OOZIE-569:
-------------------------------------
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 is already present for <coordinator-app> then there is no
need to specify it for <datasets> (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>
was:
In the documentation for 'external dataset definition' -
http://yahoo.github.com/oozie/releases/3.0.2/CoordinatorFunctionalSpec.html, it
needs to be mentioned that:
"Namespaces used for <coordinator-app> and <datasets> should be of the same
version".
CORRECT SPECIFICATION:
------------------------------------------
<coordinator-app name="aggreg" xmlns="uri:oozie:coordinator:0.2">
.....
<datasets xmlns="uri:oozie:coordinator:0.2">
.....
</datasets>
.....
</coordinator-app>
INCORRECT SPECIFICATION:
----------------------------------------------
<coordinator-app name="aggreg" xmlns="uri:oozie:coordinator:0.2">
.....
<datasets xmlns="uri:oozie:coordinator:0.1">
.....
</datasets>
.....
</coordinator-app>
Specifying different versions of these result in exceptions.
> Update documentation on external dataset definition
> ---------------------------------------------------
>
> Key: OOZIE-569
> URL: https://issues.apache.org/jira/browse/OOZIE-569
> Project: Oozie
> Issue Type: Bug
> Reporter: Parameswaran Raman
>
> 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 is already present for <coordinator-app> then there is no
> need to specify it for <datasets> (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>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira