This will not resolve the test execution issue but it can get you around it
potentially. When running the mkdistro add the -DskipTests flag and Maven
should ignore it:

/bin/mkdistro.sh -DskipTests

You didn't include the part of the Maven stack that shows the actual test
in error but honestly you shouldn't need to run tests unless you are
looking to confirm this works on a very rare OS/version.

--
Matt


On Thu, Mar 14, 2013 at 7:09 AM, Savitha Devi Inbasekaran <
[email protected]> wrote:

> Hi All,
> I followed the below link to install oozie 3.3 in hadoop 1.0.4. When I
> entered /bin/mkdistro.sh I got struck and got the following error
>
> [INFO] Apache Oozie Core ................................. FAILURE
> [3:35:48.273s]
> [INFO] Apache Oozie Docs ................................. SKIPPED
> [INFO] Apache Oozie WebApp ............................... SKIPPED
> [INFO] Apache Oozie Examples ............................. SKIPPED
> [INFO] Apache Oozie Share Lib ............................ SKIPPED
> [INFO] Apache Oozie Tools ................................ SKIPPED
> [INFO] Apache Oozie Distro ............................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:39:57.115s
> [INFO] Finished at: Thu Mar 14 16:02:23 IST 2013
> [INFO] Final Memory: 37M/146M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project oozie-core: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /usr/local/oozie-3.3.0/core/target/surefire-reports for the individual test
> results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :oozie-core
>
> ERROR, Oozie distro creation failed
>
> Any help would be appreciated.
>
> Thanks,
> Savitha
>
>

Reply via email to