分享

oozie编译报错

guxingyu 发表于 2016-1-25 15:06:02 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 9 22381
我下的是oozie-4.2.0.tar.gz的版本,编译用的是./mkdistro.sh -DskipTests  -Puber -P hadoop-2 命令
下下来后,没有修改任何一个配置文件:
出现了下面的错误:
[INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [ 14.723 s]
[INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [03:27 min]
[INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [  3.965 s]
[INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [  2.654 s]
[INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [ 53.861 s]
[INFO] Apache Oozie Examples .............................. SUCCESS [  2.332 s]
[INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [  2.726 s]
[INFO] Apache Oozie Share Lib ............................. SUCCESS [  6.825 s]
[INFO] Apache Oozie Docs .................................. FAILURE [ 59.747 s]
[INFO] Apache Oozie WebApp ................................ SKIPPED
[INFO] Apache Oozie Tools ................................. SKIPPED
[INFO] Apache Oozie MiniOozie ............................. SKIPPED
[INFO] Apache Oozie Distro ................................ SKIPPED
[INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:03 h
[INFO] Finished at: 2016-01-25T14:49:38+08:00
[INFO] Final Memory: 203M/745M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:2.0-beta-6:site (default) on project oozie-docs: Error parsing site descriptor: Unrecognised tag: 'html' (position: START_TAG seen <html>... @1:6) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluen ... oExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :oozie-docs

ERROR, Oozie distro creation failed
哪位大神知道怎么解决了?????

已有(9)人评论

跳转到指定楼层
wscl1213 发表于 2016-1-25 15:44:29
maven版本 的问题
回复

使用道具 举报

guxingyu 发表于 2016-1-25 16:11:24

那要使用那个版本?
回复

使用道具 举报

when30 发表于 2016-1-25 16:23:45
也可能是jdk的问题,Linux确保不是多个版本。然后保证jdk是1.7
回复

使用道具 举报

guxingyu 发表于 2016-1-26 09:52:31
when30 发表于 2016-1-25 16:23
也可能是jdk的问题,Linux确保不是多个版本。然后保证jdk是1.7

Linux是CentOs6.5的版本,jdk后来改成1.7了,还是不能编译通过
回复

使用道具 举报

when30 发表于 2016-1-26 13:04:16
guxingyu 发表于 2016-1-26 09:52
Linux是CentOs6.5的版本,jdk后来改成1.7了,还是不能编译通过

把maven和jdk信息版本信息都贴出截图来。

回复

使用道具 举报

guxingyu 发表于 2016-1-26 13:47:26
when30 发表于 2016-1-26 13:04
把maven和jdk信息版本信息都贴出截图来。


上图是我进行修改之后的,之前是Jdk1.6版本,我改成1.7了

oozie.png
回复

使用道具 举报

when30 发表于 2016-1-26 20:29:29
guxingyu 发表于 2016-1-26 13:47
上图是我进行修改之后的,之前是Jdk1.6版本,我改成1.7了

不是这里,是你安装的系统版本
回复

使用道具 举报

guxingyu 发表于 2016-1-27 09:20:11
when30 发表于 2016-1-26 20:29
不是这里,是你安装的系统版本


这是我的操作系统,在Ubuntu系统上编译不通过,后来我又到Centos上面编译还是不通过
下面是centos系统版本:



回复

使用道具 举报

hapjin 发表于 2016-3-28 15:17:55
很可能是Maven的 mirror 总是下载不了相应的jar包。。。编译过程中需要下载一些jar包下来的,如果下不下来就失败,这种情况多重试几次就可以了,或者换一个更好的mirror。
不像是其他原因,因为,前面有些工程已经编译成功了。我以前编译Hadoop2.6.0就遇到过这种情况。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条