Lenin, Can you please run mvn with the -X option? that would print a lot of additional information from the build and may help identify what is the issue.
Thanks. On Tue, May 28, 2013 at 8:16 AM, Lenin Raj <[email protected]> wrote: > root@li339-83:~/.m2/repository# rm -R * > root@li339-83:~/.m2/repository# ls > root@li339-83:~/.m2/repository# > > Ah! Now a little improvement over last time. I see two additional lines > > *------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Concurrency config is parallel='classes', perCoreThreadCount=false, > threadCount=1, useUnlimitedThreads=false > Running org.apache.oozie.workflow.lite.TestLiteWorkflowLib > Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.576 sec > ./bin/mkdistro.sh: line 71: 5878 Killed mvn clean package > assembly:single ${MVN_OPTS} "$@" > > ERROR, Oozie distro creation failed > * > Shall I try with -DskipTests? > > > Thanks, > Lenin > > > On Tue, May 28, 2013 at 8:36 PM, Alejandro Abdelnur <[email protected] > >wrote: > > > Lenin, > > > > Even if using Maven 3, the cache is by default at ~/.m2/repository/ > > > > Please give that a try. > > > > Thanks > > > > > > On Tue, May 28, 2013 at 8:00 AM, Lenin Raj <[email protected]> wrote: > > > > > Have the version 3.0.3 > > > > > > *root@li339-83:/usr/local/hadoop/hadoop# mvn --version* > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) > > > Maven home: /usr/share/maven3 > > > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > > > Java home: /usr/lib/jvm/java-6-openjdk/jre > > > Default locale: en_US, platform encoding: UTF-8 > > > OS name: "linux", version: "3.8.4-linode50", arch: "i386", family: > "unix" > > > > > > where can I locate .m3 cache dir? > > > > > > > > > Thanks, > > > Lenin > > > > > > > > > On Tue, May 28, 2013 at 8:27 PM, Alejandro Abdelnur <[email protected] > > > >wrote: > > > > > > > odd, would you try using the latest version of maven and also > trashing > > > your > > > > .m2 cache? > > > > > > > > Thanks. > > > > > > > > > > > > On Tue, May 28, 2013 at 7:41 AM, Lenin Raj <[email protected]> > > wrote: > > > > > > > > > Hello, I tried after using that MAVEN_OPTS. > > > > > > > > > > But it fails with the same error at the same location. > > > > > > > > > > *root@li339-83:/usr/local/oozie/oozie# echo $MAVEN_OPTS > > > > > -Xmx1024m* > > > > > > > > > > Any other pointers? > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > Lenin > > > > > > > > > > > > > > > On Tue, May 28, 2013 at 1:31 AM, Alejandro Abdelnur < > > [email protected] > > > > > >wrote: > > > > > > > > > > > Hi Lenin, > > > > > > > > > > > > We don't have binary distributions available. Would you try > raising > > > the > > > > > > memory for Maven before running your build? > > > > > > > > > > > > $ export MAVEN_OPTS=-Xmx1024m > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > On Mon, May 27, 2013 at 11:27 AM, Lenin Raj < > [email protected]> > > > > > wrote: > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > I was searching for the binary distribution of oozie here: > > > > > > > > > > > > > > http://apache.mirrors.tds.net/oozie/3.3.2/ > > > > > > > > > > > > > > It has only the source distribution. *Is binary distribution > not > > > > > > > available?* > > > > > > > > > > > > > > So, I tried to build from this source using > > > > > > > > > > > > > > *./bin/mkdistro.sh* > > > > > > > > > > > > > > It went fine but stopped at a point: > > > > > > > * > > > > > > > [INFO] > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > [INFO] Building Apache Oozie Core 3.3.2 > > > > > > > [INFO] > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > [WARNING] Could not transfer metadata > asm:asm/maven-metadata.xml > > > > > from/to > > > > > > > local.repository (file:../../local.repository/trunk): No > > connector > > > > > > > available to access repository local.repository > > > > > > > (file:../../local.repository/trunk) of type legacy using the > > > > available > > > > > > > factories WagonRepositoryConnectorFactory > > > > > > > [INFO] > > > > > > > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ > > > > oozie-core > > > > > > --- > > > > > > > [INFO] > > > > > > > [INFO] --- maven-resources-plugin:2.5:resources > > > (default-resources) @ > > > > > > > oozie-core --- > > > > > > > [debug] execute contextualize > > > > > > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > > > > > > [INFO] Copying 12 resources > > > > > > > [INFO] > > > > > > > [INFO] --- maven-compiler-plugin:2.3.2:compile > (default-compile) > > @ > > > > > > > oozie-core --- > > > > > > > [INFO] Compiling 385 source files to > > > > > > > /usr/local/oozie/oozie/core/target/classes > > > > > > > [INFO] > > > > > > > [INFO] --- maven-antrun-plugin:1.6:run (default) @ oozie-core > --- > > > > > > > [INFO] Executing tasks > > > > > > > > > > > > > > main: > > > > > > > [INFO] Executed tasks > > > > > > > [INFO] > > > > > > > [INFO] --- maven-dependency-plugin:2.4:build-classpath > > > > > > > (create-mrapp-generated-classpath) @ oozie-core --- > > > > > > > [INFO] Wrote classpath file > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > '/usr/local/oozie/oozie/core/target/test-classes/mrapp-generated-classpath'. > > > > > > > [INFO] > > > > > > > [INFO] --- maven-resources-plugin:2.5:testResources > > > > > > (default-testResources) > > > > > > > @ oozie-core --- > > > > > > > [debug] execute contextualize > > > > > > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > > > > > > [INFO] Copying 79 resources > > > > > > > [INFO] > > > > > > > [INFO] --- maven-compiler-plugin:2.3.2:testCompile > > > > > (default-testCompile) > > > > > > @ > > > > > > > oozie-core --- > > > > > > > [INFO] Compiling 245 source files to > > > > > > > /usr/local/oozie/oozie/core/target/test-classes > > > > > > > [INFO] > > > > > > > [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ > > > > oozie-core > > > > > > --- > > > > > > > [INFO] Surefire report directory: > > > > > > > /usr/local/oozie/oozie/core/target/surefire-reports > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > T E S T S > > > > > > > ------------------------------------------------------- > > > > > > > Concurrency config is parallel='classes', > > perCoreThreadCount=false, > > > > > > > threadCount=1, useUnlimitedThreads=false > > > > > > > ./bin/mkdistro.sh: line 71: 6907 Killed mvn > > clean > > > > > > package > > > > > > > assembly:single ${MVN_OPTS} "$@" > > > > > > > > > > > > > > ERROR, Oozie distro creation failed > > > > > > > > > > > > > > * > > > > > > > *Can someone point me to the binary distribution or help me in > > > > > resolving > > > > > > > this build issue?* > > > > > > > > > > > > > > I have maven version 3. > > > > > > > > > > > > > > Thanks, > > > > > > > Lenin > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Alejandro > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Alejandro > > > > > > > > > > > > > > > -- > > Alejandro > > > -- Alejandro
