java - 无法安装 Hadoop:InvalidAlgorithmParameter 异常
问题描述
我从 github repo 下载了最新版本的 apache hadoop 并按照此处的步骤操作:
http://cleverowl.uk/2015/06/30/compiling-2-7-0-on-64-bit-linux/
我没有安装 protobuf 和 java,因为我已经在我的机器上安装了它们。使用命令安装时:
mvn package -Pdist,native -DskipTests -Dtar
出现以下错误:
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/2.5.0/maven-bundle-plugin-2.5.0.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.5.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.0 @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.hadoop:hadoop-main:3.0.2 (/home/andrew/hadoop-rel-release-3.0.2/pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.5.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.0: Could not transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.5.0 from/to central (https://repo.maven.apache.org/maven2): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -> [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/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
有什么帮助吗?
解决方案
推荐阅读
- .net - 兑换:在尝试获取服务器消息 ID 后,首次尝试在已发送项目上保存为失败
- javascript - Javascript Jquery函数未定义错误
- xampp - 如何在 xampp 中更改文档根目录
- angular - 模态中的额外内容类
- docker - Docker swarm - DNS 服务发现,寻找内部结构
- python-3.x - Python 3:对象没有属性
- python - 使用表单提交按钮 JQuery + Django 更改布尔值
- javascript - API 从城市名称中获取地区、州和国家名称
- jquery - 如何在不使用表标签的情况下将 jquery 数据表与 bootstrap jumbotron 一起使用
- javascript - 来自构造函数的 HTML 元素标记名称