我使用如下命令运行构建:
./mkdistro.sh -DskipTests
和此:
./mkdistro.sh -DskipTests -D hadoop.version=2.3.0 -P uber -P hadoop-2
但所有错误消息都失败了:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /root/oozie-4.3.0/hadooplibs/hadoop-utils-2/src/main/java/org/apache/oozie/action/hadoop/LauncherMainHadoopUtils.java:[31,49] error: cannot find symbol
[ERROR] package org.apache.hadoop.yarn.api.protocolrecords
/root/oozie-4.3.0/hadooplibs/hadoop-utils-2/src/main/java/org/apache/oozie/action/hadoop/LauncherMainHadoopUtils.java:[70,21] error: cannot find symbol
[ERROR] class LauncherMainHadoopUtils
/root/oozie-4.3.0/hadooplibs/hadoop-utils-2/src/main/java/org/apache/oozie/action/hadoop/LauncherMainHadoopUtils.java:[71,11] error: cannot find symbol
[INFO] 3 errors
...
我还尝试导出HADOOP_CLASSPATH
和CLASSPATH
变量以指向Hadoop库,但都失败并出现相同的错误。我不确定它是否失败,因为build命令无法找到hadoop库,或者它不支持Hadoop版本2.9.0。
有什么想法吗?
答案 0 :(得分:0)
观看我新创建的博客,逐步安装oozie-4.3.0
hadoop-2.9.0
,
Installing apache oozie-4.3.0 on existing apache hadoop-2.9.0
希望这会对你有所帮助。