You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2015/06/15 22:58:00 UTC
[jira] [Created] (OOZIE-2273) MiniOozie does not work outside of
Oozie
Robert Kanter created OOZIE-2273:
------------------------------------
Summary: 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
{{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)