You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/07/28 05:31:20 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=15396957#comment-15396957 ]
Hadoop QA commented on OOZIE-2273:
----------------------------------
Testing JIRA OOZIE-2273
Cleaning local git workspace
----------------------------
{color:red}-1{color} Patch failed to apply to head of branch
----------------------------
> 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
> 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)