Oozie 4.1.0使用Hadoop 2.x构建错误

时间:2015-02-03 20:47:44

标签: hadoop build oozie

尝试使用Hadoop 2.x特别是2.4.1或2.5.1来获得Oozie 4.1.0版本。基于此链接gauravkohli.com/2014/08/26/apache-oozie-installation-on-hadoop-2-4-1/,我编辑了pom文件。构建m / c具有受限制的连接,并且maven工件来自内部Repos。

这是maven构建输出。

[INFO] -------------------------------------------- ---------------------------

[INFO]反应堆摘要: [INFO]

[INFO] Apache Oozie Main ..................................成功[1.023 s]

[INFO] Apache Oozie Client ................................ SUCCESS [13.186 s]

[INFO] Apache Oozie Hadoop 1.1.1.oozie-4.1.0 .............. SUCCESS [0.600 s]

[INFO] Apache Oozie Hadoop Distcp 1.1.1.oozie-4.1.0 ....... SUCCESS [0.054 s]

[INFO] Apache Oozie Hadoop 1.1.1.oozie-4.1.0测试.........成功[0.120 s]

[INFO] Apache Oozie Hadoop Utils 1.1.1.oozie-4.1.0 ........ SUCCESS [0.560 s]

[INFO] Apache Oozie Hadoop 2.3.0.oozie-4.1.0 .............. SUCCESS [2.940 s]

[INFO] Apache Oozie Hadoop 2.3.0.oozie-4.1.0测试.........成功[0.209 s]

[INFO] Apache Oozie Hadoop Distcp 2.3.0.oozie-4.1.0 ....... SUCCESS [0.067 s]

[INFO] Apache Oozie Hadoop Utils 2.3.0.oozie-4.1.0 ........ SUCCESS [0.693 s]

[INFO] Apache Oozie Hadoop 0.23.5.oozie-4.1.0 .............成功[2.062 s]

[INFO] Apache Oozie Hadoop 0.23.5.oozie-4.1.0测试........成功[0.145 s]

[INFO] Apache Oozie Hadoop Distcp 0.23.5.oozie-4.1.0 ......成功[0.047 s]

[INFO] Apache Oozie Hadoop Utils 0.23.5.oozie-4.1.0 ....... SUCCESS [0.690 s]

[INFO] Apache Oozie Hadoop Libs ........................... SUCCESS [2.423 s]

[INFO] Apache Oozie Hbase 0.94.2.oozie-4.1.0 .............. SUCCESS [0.160 s]

[INFO] Apache Oozie Hbase Libs ............................ SUCCESS [0.427 s]

[INFO] Apache Oozie HCatalog 0.13.1.oozie-4.1.0 ........... SUCCESS [0.490 s]

[INFO] Apache Oozie HCatalog Libs ......................... SUCCESS [1.113 s]

[INFO] Apache Oozie Share Lib Oozie ....................... FAILURE [03:59分钟]

[INFO] Apache Oozie Share Lib HCatalog .................... SKIPPED

[INFO] Apache Oozie Core .................................. SKIPPED

[INFO] Apache Oozie Docs .................................. SKIPPED

[INFO] Apache Oozie Share Lib Pig ......................... SKIPPED

[INFO] Apache Oozie Share Lib Hive ........................ SKIPPED

[INFO] Apache Oozie Share Lib Sqoop ....................... SKIPPED

[INFO] Apache Oozie Share Lib Streaming ................... SKIPPED

[INFO] Apache Oozie Share Lib Distcp ...................... SKIPPED

[INFO] Apache Oozie WebApp ................................ SKIPPED

[INFO] Apache Oozie示例.............................. SKIPPED

[INFO] Apache Oozie Share Lib ............................. SKIPPED

[INFO] Apache Oozie工具................................. SKIPPED

[INFO] Apache Oozie MiniOozie ............................. SKIPPED

[INFO] Apache Oozie Distro ................................ SKIPPED

[INFO] Apache Oozie ZooKeeper安全测试.............. SKIPPED

[INFO] -------------------------------------------- ----------------------------

[INFO] BUILD FAILURE

[INFO] -------------------------------------------- ----------------------------

[INFO]总时间:04:29分钟

[INFO]完成于:2015-02-03T20:20:48 + 00:00

[INFO]最终记忆:64M / 285M

[INFO] -------------------------------------------- ----------------------------

[错误]无法在项目上执行目标oozie-sharelib-oozie:无法解析项目的依赖项org.apache.oozie:oozie-sharelib-oozie:jar:4.1.0:无法解析以下工件: org.apache.oozie:oozie-hadoop:jar:2.4.1.oozie-4.1.0,org.apache.oozie:oozie-hadoop-test:jar:2.4.1.oozie-4.1.0,org.apache。 oozie:oozie-hadoop-utils:jar:2.4.1.oozie-4.1.0:找不到工件org.apache.oozie:oozie-hadoop:jar:2.4.1.oozie-4.1.0 in internal({{ 3}}) - > [帮助1]

[错误]纠正问题后,您可以使用该命令恢复构建 [错误] mvn -rf:oozie-sharelib-oozie

错误,Oozie发行版创作失败

Maven无法解决以下工件问题 无法解析以下工件:org.apache.oozie:oozie-hadoop:jar:2.4.1.oozie-4.1.0,org.apache.oozie:oozie-hadoop-test:jar:2.4.1.oozie- 4.1.0,org.apache.oozie:oozie-hadoop-utils:jar:2.4.1.oozie-4.1.0:找不到工件org.apache.oozie:oozie-hadoop:jar:2.4.1.oozie- 4.1.0在内部(http://internalXXXXXXXXX.com/content/groups/public

在网上搜索完全相同的工件,但到目前为止没有找到。

请为Hadoop 2.5.1建议Oozie pom文件中可以使用或需要更改的替代工件。

上面的构建日志是尝试至少复制建议的Hadoop 2.4.1相关更改并构建Oozie。感谢您的输入以解决此死锁。

1 个答案:

答案 0 :(得分:0)

通过更新Node的名称服务器,在“/etc/resolv.conf”中添加相同的问题,在矿山环境中解决了同样的问题。

根据我的理解,Maven访问HTTP来构建Oozie包,因此您可以在单词尝试构建包之后使用具有完全HTTP访问权限的服务器IP更新“/etc/resolv.conf”,检查是否同样得到了解决。