CDH版本的hadoop编译源代码mvn eclipse:eclipse报错
[root@zhumac1 hadoop-mapreduce-client]# mvn eclipse:eclipse
[INFO] Scanning for projects...
Downloading: https://repository.cloudera.co ... 8.pom
Downloading: http://repository.jboss.org/ne ... 8.pom
Downloading: http://DX2:8081/nexus/content/ ... 8.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.servlet.jsp:jsp-api:jar -> duplicate declaration of version 2.1 @ org.apache.hadoop:hadoop-project:2.6.0-cdh5.4.8, /root/hadoop-cdh/hadoop-project/pom.xml, line 588, column 19
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-enforcer-plugin @ org.apache.hadoop:hadoop-project:2.6.0-cdh5.4.8, /root/hadoop-cdh/hadoop-project/pom.xml, line 1173, column 15
[FATAL] Non-resolvable parent POM for org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8: Could not transfer artifact com.cloudera.cdh:cdh-root:pom:5.4.8 from/to cdh.repo (https://repository.cloudera.co ... -repos): java.security.ProviderException: java.security.KeyException and 'parent.relativePath' points at wrong local POM @ org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8, /root/hadoop-cdh/pom.xml, line 19, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.hadoop:hadoop-mapreduce-client:2.6.0-cdh5.4.8 (/root/hadoop-cdh/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8: Could not transfer artifact com.cloudera.cdh:cdh-root:pom:5.4.8 from/to cdh.repo (https://repository.cloudera.co ... -repos): java.security.ProviderException: java.security.KeyException and 'parent.relativePath' points at wrong local POM @ org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8, /root/hadoop-cdh/pom.xml, line 19, column 11 -> [Help 2]
[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/conflu ... ption
[ERROR] [Help 2] http://cwiki.apache.org/conflu ... ption
[root@zhumac1 hadoop-mapreduce-client]#
已经下载好了CDH版本的源代码,想编译后导入到eclipse中,但是和昨天的apache版本一样,还是报错了,请老师帮忙看看。
[INFO] Scanning for projects...
Downloading: https://repository.cloudera.co ... 8.pom
Downloading: http://repository.jboss.org/ne ... 8.pom
Downloading: http://DX2:8081/nexus/content/ ... 8.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.servlet.jsp:jsp-api:jar -> duplicate declaration of version 2.1 @ org.apache.hadoop:hadoop-project:2.6.0-cdh5.4.8, /root/hadoop-cdh/hadoop-project/pom.xml, line 588, column 19
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-enforcer-plugin @ org.apache.hadoop:hadoop-project:2.6.0-cdh5.4.8, /root/hadoop-cdh/hadoop-project/pom.xml, line 1173, column 15
[FATAL] Non-resolvable parent POM for org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8: Could not transfer artifact com.cloudera.cdh:cdh-root:pom:5.4.8 from/to cdh.repo (https://repository.cloudera.co ... -repos): java.security.ProviderException: java.security.KeyException and 'parent.relativePath' points at wrong local POM @ org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8, /root/hadoop-cdh/pom.xml, line 19, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.hadoop:hadoop-mapreduce-client:2.6.0-cdh5.4.8 (/root/hadoop-cdh/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8: Could not transfer artifact com.cloudera.cdh:cdh-root:pom:5.4.8 from/to cdh.repo (https://repository.cloudera.co ... -repos): java.security.ProviderException: java.security.KeyException and 'parent.relativePath' points at wrong local POM @ org.apache.hadoop:hadoop-main:2.6.0-cdh5.4.8, /root/hadoop-cdh/pom.xml, line 19, column 11 -> [Help 2]
[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/conflu ... ption
[ERROR] [Help 2] http://cwiki.apache.org/conflu ... ption
[root@zhumac1 hadoop-mapreduce-client]#
已经下载好了CDH版本的源代码,想编译后导入到eclipse中,但是和昨天的apache版本一样,还是报错了,请老师帮忙看看。
14 个回复
fish - Hadooper
赞同来自: zhudejun_1985
fish - Hadooper
赞同来自: zhudejun_1985
fish - Hadooper
赞同来自:
zhudejun_1985 - 天下大事,必作于细
赞同来自:
zhudejun_1985 - 天下大事,必作于细
赞同来自:
fish - Hadooper
赞同来自:
zhudejun_1985 - 天下大事,必作于细
赞同来自:
zhudejun_1985 - 天下大事,必作于细
赞同来自:
fish - Hadooper
赞同来自:
zhudejun_1985 - 天下大事,必作于细
赞同来自:
fish - Hadooper
赞同来自:
zhudejun_1985 - 天下大事,必作于细
赞同来自:
fish - Hadooper
赞同来自:
zhudejun_1985 - 天下大事,必作于细
赞同来自: