构建oozie的二进制分发失败

时间:2013-05-28 14:46:56

标签: hadoop oozie

我在这里搜索oozie的二进制分发:

http://apache.mirrors.tds.net/oozie/3.3.2/

它只有源分发。二进制分发不可用吗?

所以,我尝试使用

从这个源构建
./bin/mkdistro.sh

一切顺利,但在某一点停了下来:

[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

有人可以指向二进制发行版或帮助我解决此构建问题吗?

我有maven版本3.

还尝试使用以下选项,但没有帮助。

$ export MAVEN_OPTS=-Xmx1024m

1 个答案:

答案 0 :(得分:0)

我正在使用导致此问题的OpenJDK。

切换到Sun / Oracle JDK 6,构建顺利。