缺少依赖项配置单元内置项导致生成失败,oozie的错误代码为410

xtfmy6hx  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(352)

我试图从源代码构建oozie,但安装失败。我想安装oozie并急切地等待着使用它。我在这个阶段失败了:当我从oozie-3.3.3目录中给出cmd时:

bin/mkdistro.sh -DskipTests

我有个错误:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:55 min
[INFO] Finished at: 2015-07-05T14:05:27+05:30
[INFO] Final Memory: 39M/372M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project oozie-sharelib-hive: Could not resolve dependencies for project org.apache.oozie:oozie-sharelib-hive:jar:3.3.2: 
        Failed to collect dependencies at org.apache.hive:hive-builtins:jar:0.13.1: 
        Failed to read artifact descriptor for org.apache.hive:hive-builtins:jar:0.13.1: 
        Could not transfer artifact org.apache.hive:hive-builtins:pom:0.13.1 from/to Codehaus repository (http://repository.codehaus.org/): 
        Failed to transfer file: http://repository.codehaus.org/org/apache/hive/hive-builtins/0.13.1/hive-builtins-0.13.1.pom. Return code is: 410 , ReasonPhrase:Gone.

仅供参考:在我的系统中,我的工作环境是hadoop 1.0.4和其他工具:
sqoop-1.4.6,
apache-maven-3.3.3版,
清管器-0.13.0,
Hive-0.13.1,
hbase-0.98.4和
java-jdk1.7.0\u45。
我缺少什么或配置错误导致生成失败?我能更好地为oozie提供一个预构建版本吗?

3yhwsihp

3yhwsihp1#

codehaus托管平台结束了,也就是说,他们的公共maven存储库也不见了。你应该试着听从他们的建议,并在你的建议中添加以下内容 ~/.m2/settings.xml 文件:

<repositories>
  <repository>
    <id>Codehaus repository</id>
    <name>codehaus-mule-repo</name>
    <url>
      https://repository-master.mulesoft.org/nexus/content/groups/public/
    </url>
    <layout>default</layout>
  </repository>
</repositories>

这应该使用备份存储库来获取缺少的依赖项。
我不确定需要使用的存储库id。我使用了上面Oozie3.3.2POM中的一个。

相关问题