2016-06-12 54 views
0

我一直在嘗試在我的hadoop集羣中配置和設置oozie環境。使用命令構建oozie 4.1.0時出錯mkdistro

系統信息

jdk 1.8 
hadoop 2.4 
maven 3.3.0 
oozie 4.1.0 

以下這個特定post from quora

[ERROR] The build could not read 1 project -> [Help 1] 
[ERROR] 
[ERROR] The project org.apache.oozie:oozie-zookeeper-security-tests:4.1.0 (/usr/local/oozie_4.1.0/oozie/zookeeper-security-tests/pom.xml) has 1 error 
[ERROR]  Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.4.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.4.0: Could not transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.4.0 from/to repository.cloudera.com (https://repository.cloudera.com/artifactory/ext-release-local): repository.cloudera.com: unknown error: Unknown host repository.cloudera.com: unknown error -> [Help 2] 

現在我試圖改變我的Oozie的版本4.0.1,現在我得到下面的錯誤。

[ERROR]錯誤解析版本插件 'com.atlassian.maven.plugins:行家-clover2-插件' 從儲存庫[本地(/root/.m2/repository),repository.cloudera.com(https://repository.cloudera.com/artifactory/ext-release-local) ,中央(https://repo.maven.apache.org/maven2)]:插件沒有任何插件庫中找到 - > [求助1]

請幫助我解決進階:)

+0

請求的任何高手來幫我這個..我卡住,無法繼續因這個錯誤 – user1708054

+0

現在切換到4.0.1後我收到錯誤象下面 [ERROR]錯誤解析版本插件 'com.atlassian.maven.plugins:行家-clover2-插件' 從儲存庫[本地(/root/.m2/repository), repository.cloudera.com(https://repository.cloudera.com/artifactory/ext-release-local),中央(https: //repo.maven.apache.org/maven2)]:插件沒有在任何插件庫中找到 – user1708054

回答

0

你有沒有試圖改變pluginrepository到Maven中心這個感謝。?

在pom.xml更換<pluginrepository>部分

<pluginRepositories> 
    <pluginRepository> 
     <id>central</id> 
     <name>Maven Plugin Repository</name> 
     <url>http://repo1.maven.org/maven2</url> 
     <layout>default</layout> 
     <snapshots> 
     <enabled>false</enabled> 
     </snapshots> 
    </pluginRepository> 
    </pluginRepositories> 
+0

感謝這個輸入真的有幫助。現在我得到一些其他錯誤,如下面 錯誤: ERROR]無插件在當前項目和插件組[org.apache.maven.plugins發現前綴「裝配」,org.codehaus.mojo]可用從存儲庫[local(/root/.m2/repository),central(http://repo1.maven.org/maven2)] - > [Help 1] – user1708054