You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2016/09/19 19:02:21 UTC

[jira] [Commented] (OOZIE-2273) MiniOozie does not work outside of Oozie

    [ https://issues.apache.org/jira/browse/OOZIE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504342#comment-15504342 ] 

Rohini Palaniswamy commented on OOZIE-2273:
-------------------------------------------

+1. Good to have this fixed.

> MiniOozie does not work outside of Oozie
> ----------------------------------------
>
>                 Key: OOZIE-2273
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2273
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 4.2.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2273.001.patch
>
>
> {{MiniOozie}} doesn't appear to work correctly outside of Oozie, due to some hardcoded paths/assumptions.  We should fix this.
> As a quick workaround, I added the "core" folder and sub folders/files.  For example:
> {noformat}
> project-root
> |- src
> |- pom.xml
> |- (other typical maven stuff)
> |- core
> |- |- src
> |- |- |- test
> |- |- |- |- resources
> |- |- |- |- |- hadoop-config.xml (a copy of this file [1])
> {noformat}
> Also, the Metastore doesn't work properly either (not sure why).  It can be disabled by adding {{System.setProperty("oozie.test.metastore.server", "false");}} in the {{setUp()}} method, as done at \[2], but we should fix that as well.
> \[1] https://raw.githubusercontent.com/apache/oozie/master/core/src/test/resources/hadoop-config.xml
> \[2] https://github.com/apache/oozie/blob/master/minitest/src/test/java/org/apache/oozie/test/WorkflowTest.java#L45



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)