2016-06-15 22 views
-1

/mkdistro -DskipTests -Dhadoopversion = 2.6.0 oozieディストリビューションをビルドすると、次のエラーが表示されます。助けてください。それがシャットダウンされているので、ビルド失敗Oozieディストリビューションの作成に失敗しました

BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 44.321s 
[INFO] Finished at: Wed Jun 15 12:13:27 IST 2016 
[INFO] Final Memory: 54M/420M 
[INFO] ------------------------------------------------------------------- 
[ERROR] Failed to execute goal on project oozie-sharelib-oozie: Could not resolve dependencies for project org.apache.oozie:oozie-sharelib-oozie:jar:4.1.0: Failed to collect dependencies for [com.googlecode.json-simple:json-simple:jar:1.1 (compile), org.apache.oozie:oozie-hadoop:jar:2.6.0.oozie-4.1.0 (provided), org.apache.oozie:oozie-hadoop-test:jar:2.6.0.oozie-4.1.0 (test), junit:junit:jar:4.10 (test), org.apache.oozie:oozie-hadoop-utils:jar:2.6.0.oozie-4.1.0 (compile)]: Failed to read artifact descriptor for org.apache.oozie:oozie-hadoop:jar:2.6.0.oozie-4.1.0: Could not transfer artifact org.apache.oozie:oozie-hadoop:pom:2.6.0.oozie-4.1.0 from/to Codehaus repository (http://repository.codehaus.org/): repository.codehaus.org: Unknown host repository.codehaus.org -> [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/DependencyResolutionException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 
[ERROR] mvn <goals> -rf :oozie-sharelib-oozie 

ERROR, Oozie distro creation failed 

答えて

0

Mavenはrepository.codehaus.org

に到達することはできません。

latest pom.xmlをチェックし、pom.xmlの部分を最新のものに置き換えてください。それはそのように動作するはずです。

関連する問題