Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-569

Update documentation on external dataset definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • pre-Apache
    • 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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            paramsraman Parameswaran Raman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: