[
https://issues.apache.org/jira/browse/OOZIE-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohini Palaniswamy updated OOZIE-1326:
--------------------------------------
Attachment: OOZIE-1326-1.patch
Fixed XTestCase to pick up hsqldb-oozie-site.xml from oozie-core.jar in
classpath. Code was already there but was not working as it was doing a
file.exists on a file inside jar file. Also moved PigMain.txt from
core/src/test/resources to sharelib/pig/src/test/resources so that it is
available in classpath. Same for Hive.
The pre-commit builds are somehow passing without these changes but mkdistro
fails. Haven't spent time to investigate how pre-commit builds can successfully
run the tests.
Additional steps after applying patch and before svn commit:
svn rm core/src/test/resources/PigMain.txt
svn add sharelib/pig/src/test/resources
svn add sharelib/hive/src/test/resources
svn rm tests
- This is no longer required after OOZIE-1311
> sharelib tests failing saying error on fork after OOZIE-1311 refactor
> ---------------------------------------------------------------------
>
> Key: OOZIE-1326
> URL: https://issues.apache.org/jira/browse/OOZIE-1326
> Project: Oozie
> Issue Type: Bug
> Reporter: Rohini Palaniswamy
> Assignee: Rohini Palaniswamy
> Fix For: trunk
>
> Attachments: OOZIE-1326-1.patch
>
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project oozie-sharelib-pig: Error occurred in starting fork, check output in
> log -> [Help 1]
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project oozie-sharelib-streaming: Error occurred in starting fork, check
> output in log -> [Help 1]
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project oozie-sharelib-hive: Error occurred in starting fork, check output in
> log -> [Help 1]
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project oozie-sharelib-distcp: Error occurred in starting fork, check output
> in log -> [Help 1]
> oozie.test.default.config.file becomes
> sharelib/pig/src/test/resources/hsqldb-oozie-site.xml for sharelib/pig and is
> not available, so XTestCase does a System.exit(-1)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira