maven - Oozie 安装错误-bin/mkdistro.sh -DskipTests
问题描述
hduser@kas-XX:/usr/lib/Oozie/oozie-4.3.0$ bin/mkdistro.sh -DskipTests
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
Downloading from central: http://repo1.maven.org/maven2/org/apache/apache/17/apache-17.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.oozie:oozie-main:4.3.0: Could not transfer artifact org.apache:apache:pom:17 from/to central (http://repo1.maven.org/maven2): Failed to transfer file: http://repo1.maven.org/maven2/org/apache/apache/17/apache-17.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. and 'parent.relativePath' points at wrong local POM @ line 21, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.oozie:oozie-main:4.3.0 (/usr/lib/Oozie/oozie-4.3.0/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.oozie:oozie-main:4.3.0: Could not transfer artifact org.apache:apache:pom:17 from/to central (http://repo1.maven.org/maven2): Failed to transfer file: http://repo1.maven.org/maven2/org/apache/apache/17/apache-17.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [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/UnresolvableModelException
ERROR, Oozie distro creation failed
版本信息:
Hadoop 3.1.2,
openjdk version "11.0.5" ,
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.5, vendor: Private Build, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_IN, platform encoding: UTF-8
OS name: "linux", version: "5.3.0-26-generic", arch: "amd64", family: "unix",
Ubuntu 18.04
{个人hadoop环境和单节点}
解决方案
推荐阅读
- javascript - 无法将变量传递给 Ajax 调用
- unix - sybase 在 unix 中选择查询
- javascript - wix 以编程方式将表格连接到产品页面
- javascript - 就近
使用 JavaScript 标记文本
- spring-boot - Spring Boot 应用程序中 Swagger2 和 jackson-datatype-jsr310 之间的冲突
- laravel - 下载了laravel项目,无法登录你能帮帮我吗?
- tfs - Tfssecurity - 为发布和部署组设置权限
- sql - SQL for XML Path 使用节点名称和嵌套的数据值
- mysql - mysql:具有授予选项和通配符的数据库特定用户权限委托
- angular - Angular,在同一模板的另一个地方使用模板变量不起作用