ubuntu 13 编译hadoop 2.2.0源码出现问题及解决方法
来源:互联网 发布:广西网络教育 编辑:程序博客网 时间:2024/04/30 01:55
1.[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project hadoop-auth: Compilation failure: Compilation failure:[ERROR] /home/chuan/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[84,13] cannot access org.mortbay.component.AbstractLifeCycle[ERROR] class file for org.mortbay.component.AbstractLifeCycle not found解决方法https://issues.apache.org/jira/browse/HADOOP-10110Index: hadoop-common-project/hadoop-auth/pom.xml===================================================================--- hadoop-common-project/hadoop-auth/pom.xml(revision 1543124)+++ hadoop-common-project/hadoop-auth/pom.xml(working copy)@@ -54,6 +54,11 @@ </dependency> <dependency> <groupId>org.mortbay.jetty</groupId>+ <artifactId>jetty-util</artifactId>+ <scope>test</scope>+ </dependency>+ <dependency>+ <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> <scope>test</scope> </dependency>2.[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1:war (default-war) on project hadoop-auth-examples: Failed to copy file for artifact[org.apache.hadoop:hadoop-auth:jar:0.24.0-SNAPSHOT:compile]: /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-auth/target/classes (Is a directory) -> [Help 1]解决方法https://issues.apache.org/jira/browse/HADOOP-7768Index: dev-support/test-patch.sh===================================================================--- dev-support/test-patch.sh(revision 1189531)+++ dev-support/test-patch.sh(working copy)@@ -598,8 +598,8 @@ echo "" echo "" - echo "$MVN clean install test -Pnative -D${PROJECT_NAME}PatchProcess"- $MVN clean install test -Pnative -D${PROJECT_NAME}PatchProcess+ echo "$MVN clean install -Pnative -D${PROJECT_NAME}PatchProcess"+ $MVN clean install -Pnative -D${PROJECT_NAME}PatchProcess if [[ $? != 0 ]] ; then ### Find and format names of failed tests failed_tests=`find . -name 'TEST*.xml' | xargs $GREP -l -E "<failure|<error" | sed -e "s|.*target/surefire-reports/TEST-| |g" | sed -e "s|\.xml||g"`
其他错误:
http://blog.csdn.net/dingdn/article/details/12983193
0 0
- ubuntu 13 编译hadoop 2.2.0源码出现问题及解决方法
- chromium源码编译过程中出现的问题及解决方法
- ubuntu因为内存为0出现的问题及解决方法
- ubuntu 出现的问题,及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- hadoop-2.2.0源码编译
- hadoop-2.2.0源码编译
- ubuntu编译android源码出现的问题记录
- JRTPLIB编译说出现的问题及解决方法(转载)
- Linux 安装编译PHP出现的问题及解决方法
- windows下编译安装wireshark出现的问题及解决方法
- mount ,mkfs 工具详细说明(ext4,xfs)
- iOS UITableView 局部刷新
- 分式计算已知xyz=1 x+y+z=2
- 浅谈mysql分表
- Android之断点续传下载
- ubuntu 13 编译hadoop 2.2.0源码出现问题及解决方法
- Android AppWidget的分析与应用AppWidgetProvider
- autoconf 个别特殊程序的探测
- hibernate 系统找不到指定的文件 问题
- 实现一组buffer以便使用
- mysql user表root 用户误删除解决方法
- C++ 比较使用的一些知识
- 记录自己心中的彷徨时间,调整自我情绪
- 分享ppt: java7里的fork-join