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

Oozie example docs may be unclear on the placements of the job.properties file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • pre-Apache
    • None

    Description

      The 'Running the Example' docs go as:

      Add Oozie bin/ to the environment PATH.
      
      The examples assume the JobTracker is localhost:9001 and the NameNode is hdfs://localhost:9000 . If the actual values are different, the job properties files in the examples directory must be edited to the correct values.
      
      The example applications are under the examples/app directory, one directory per example. The directory contains the application XML file (workflow, or worklfow and coordinator), the job.properties file to submit the job and any JAR files the example may need.
      
      The inputs for all examples are in the examples/input-data/ directory.
      
      The examples create output under the examples/output-data/${EXAMPLE_NAME} directory.
      

      It isn't specified clearly, after the step of placing the examples in HDFS, that the job.properties file is actually something per-user, and is client-side as a local file and not something that needs to be a HDFS path. This could mislead users into initially thinking that the job.properties path provided to run an example would require to be on HDFS.

      In any case, we could benefit by adding a docnote on explicitly stating that the job properties is a local file prepared by the user.

      Attachments

        1. OOZIE-39.r1.diff
          0.5 kB
          Harsh J

        Activity

          People

            Unassigned Unassigned
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2m
                2m
                Remaining:
                Remaining Estimate - 2m
                2m
                Logged:
                Time Spent - Not Specified
                Not Specified