2013-05-28 59 views
0

我正在尋找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} "[email protected]" 

ERROR, Oozie distro creation failed 

有人點我到二進制分發或幫助我解決這個構建問題?

我有Maven版本3.

而且具有下列選項嘗試過,但沒有幫助。

$ export MAVEN_OPTS=-Xmx1024m 

回答

0

我在使用導致此問題的OpenJDK。

切換到Sun/Oracle JDK 6,構建進行得很順利。