[
https://issues.apache.org/jira/browse/OOZIE-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andras Piros updated OOZIE-3342:
--------------------------------
Summary: [examples] Missing archive tag from Fluent Job examples (was:
Missing examples archive from fluentjob examples)
> [examples] Missing archive tag from Fluent Job examples
> -------------------------------------------------------
>
> Key: OOZIE-3342
> URL: https://issues.apache.org/jira/browse/OOZIE-3342
> Project: Oozie
> Issue Type: Improvement
> Components: examples
> Reporter: Andras Salamon
> Assignee: Andras Salamon
> Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3342-1.patch, OOZIE-3342-2.patch,
> OOZIE-3342-3.patch, OOZIE-3342-4.patch
>
>
> 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:
> {noformat}
> /user/username/oozie-fluent-job-api-generated/gen_app_1536586664643{noformat}
> This directory does not contain any other {{jar}} file, hence some of the
> examples are not working.
> For instance the
> [JavaMain|https://github.com/apache/oozie/blob/master/examples/src/main/java/org/apache/oozie/example/fluentjob/JavaMain.java]
> example cannot find the DemoJavaMain class:
> {noformat}
> 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{noformat}
>
> The examples should be modified to allow the user to specify the path of an
> archive which contains the necessary files.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)