Hadoop 版本-1.2.1
Maven 版本 - 3.0.5
蜂巢版本 - 0.14.0
猪版 - 0.14.0
当我开始使用以下命令构建 oozie
./mkdistro.sh -DskipTests
我得到以下错误
[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 Examples ............................. SKIPPED
[INFO] Apache Oozie Share Lib ............................ SKIPPED
[INFO] Apache Oozie Tools ................................ SKIPPED
[INFO] Apache Oozie MiniOozie ............................ SKIPPED
[INFO] Apache Oozie Distro ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:13.847s
[INFO] Finished at: Sun Aug 09 13:22:12 IST 2015
[INFO] Final Memory: 38M/273M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project oozie-hcatalog: Could not resolve dependencies for project org.apache.oozie:oozie-hcatalog:jar:0.5.0.oozie-4.0.0: Failed to collect dependencies for [org.apache.hcatalog:hcatalog-server-extensions:jar:0.5.0-incubating (compile), org.apache.hcatalog:hcatalog-core:jar:0.5.0-incubating (compile), org.apache.hcatalog:webhcat-java-client:jar:0.5.0-incubating (compile), org.apache.hive:hive-common:jar:0.14.0 (compile), org.apache.hive:hive-metastore:jar:0.14.0 (compile), org.apache.hive:hive-exec:jar:0.14.0 (compile), org.apache.hive:hive-serde:jar:0.14.0 (compile), org.apache.thrift:libfb303:jar:0.7.0 (compile), org.codehaus.jackson:jackson-core-asl:jar:1.8.8 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8 (compile)]: Failed to read artifact descriptor for org.apache.hive:hive-builtins:jar:0.14.0: Could not transfer artifact org.apache.hive:hive-builtins:pom:0.14.0 from/to Codehaus repository (http://repository.codehaus.org/): repository.codehaus.org: Name or service not known: Unknown host repository.codehaus.org: Name or service not known -> [Help 1]
由于该错误,它似乎无法解决对 hcatalog 的依赖关系。但是由于我使用的是 hcatalog 内置在 hive 内的 hive-0.14,所以有没有办法排除 hcatalog 依赖项。或者错误暗示了其他问题如何解决?