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

[examples] Missing archive tag from Fluent Job examples

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0
    • examples
    • None

    Description

      When -runjar option is used to execute a fluentjob example, oozie sets the app path to a newly created (timestamped) directory and copies the freshly generated workflow.xml file to this directory:

      /user/username/oozie-fluent-job-api-generated/gen_app_1536586664643

      This directory does not contain any other jar file, hence some of the examples are not working. 

      For instance the JavaMain example cannot find the DemoJavaMain class:

      180910095203189-oozie-andr-W] ACTION[0000020-180910095203189-oozie-andr-W@java-main] Launcher exception: java.lang.ClassNotFoundException: Class org.apache.oozie.example.DemoJavaMain not found
      java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.oozie.example.DemoJavaMain not found

       
      The examples should be modified to allow the user to specify the path of an archive which contains the necessary files.
       

      Attachments

        1. OOZIE-3342-4.patch
          6 kB
          Andras Salamon
        2. OOZIE-3342-3.patch
          2 kB
          Andras Salamon
        3. OOZIE-3342-2.patch
          2 kB
          Andras Salamon
        4. OOZIE-3342-1.patch
          0.9 kB
          Andras Salamon

        Activity

          People

            asalamon74 Andras Salamon
            asalamon74 Andras Salamon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: