You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Salamon (JIRA)" <ji...@apache.org> on 2018/09/11 09:54:00 UTC

[jira] [Updated] (OOZIE-3342) Missing examples archive from fluentjob examples

     [ https://issues.apache.org/jira/browse/OOZIE-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andras Salamon updated OOZIE-3342:
----------------------------------
    Fix Version/s: 5.1.0

> Missing examples archive from fluentjob 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
>
>
> 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)