Hi Rahul Distro error may occur while using this command bin/mkdistro.sh -DskipTests instead of that use
mvn clean package assembly:single -P hadoop-2 -DskipTests if you are building against hadoop 2 it resolved the distro error. For more info follow "http://gauravkohli.com/category/oozie/" *RegardsMuthupandi.K* Think before you print. On Wed, Sep 24, 2014 at 11:22 PM, Rahul Channe <[email protected]> wrote: > hi All, > > I am trying to install oozie and getting following error. Any input is > appreciated > > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 18.326s > [INFO] Finished at: Wed Sep 24 13:45:13 EDT 2014 > [INFO] Final Memory: 26M/64M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on > project oozie-client: Error assembling JAR: Failed to read filesystem > attributes for: /home/user/oozie/client/pom.xml: Failed to retrieve numeric > file attributes using: '/bin/sh -c ls -1nlad > /home/user/oozie/client/pom.xml': Error while executing process. Cannot run > program "/bin/sh": java.io.IOException: error=12, Cannot allocate memory -> > [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/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :oozie-client > > ERROR, Oozie distro creation failed > >
