maven - 在 Windows 上构建 Hadoop 问题

标签 maven hadoop

我正在尝试在 Windows 上构建 hadoop,我正在关注此链接 http://opensourceforu.efytimes.com/2015/03/getting-started-with-hadoop-on-windows/ .但是,当我尝试使用命令构建代码时
mvn package -Pdist,native-win -DskipTests Dtar
我收到以下错误

[DEBUG] Writing tracking file C:\Users\SS\.m2\repository\org\s
onatype\plexus\plexus-cipher\1.4\_remote.repositories
[DEBUG] Writing tracking file C:\Users\SS\.m2\repository\org\s
onatype\plexus\plexus-cipher\1.4\plexus-cipher-1.4.jar.lastUpdated
[DEBUG] Writing tracking file C:\Users\SS\.m2\repository\org\a
pache\maven\plugin-tools\maven-plugin-annotations\3.4\_remote.repositories
[DEBUG] Writing tracking file C:\Users\SS\.m2\repository\org\a
pache\maven\plugin-tools\maven-plugin-annotations\3.4\maven-plugin-annotations-3
.4.jar.lastUpdated
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:08 min
[INFO] Finished at: 2016-03-21T17:02:06+05:30
[INFO] Final Memory: 13M/173M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hadoop-maven-plugins: Could not resolv
e dependencies for project org.apache.hadoop:hadoop-maven-plugins:maven-plugin:2
.7.2: Could not transfer artifact org.apache.maven:maven-model:jar:3.0 from/to c
entral (https://repo.maven.apache.org/maven2): GET request of: org/apache/maven/
maven-model/3.0/maven-model-3.0.jar from central failed: SSL peer shut down inco
rrectly -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
n project hadoop-maven-plugins: Could not resolve dependencies for project org.a
pache.hadoop:hadoop-maven-plugins:maven-plugin:2.7.2: Could not transfer artifac
t org.apache.maven:maven-model:jar:3.0 from/to central (https://repo.maven.apach
e.org/maven2): GET request of: org/apache/maven/maven-model/3.0/maven-model-3.0.
jar from central failed
        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDe
pendencies(LifecycleDependencyResolver.java:221)
        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resol
veProjectDependencies(LifecycleDependencyResolver.java:127)
        at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAr
eResolved(MojoExecutor.java:245)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:199)

我使用的是 Windows 7 企业版 64 位机器,在 IE 中没有配置代理。有人可以帮我解决这个问题吗?

谢谢,

最佳答案

使用 openssl s_client -connect servername:443您可以通过强制使用 ssl2、ssl2 等标志来调试服务器支持的协议(protocol)并执行测试,检查 this

关于maven - 在 Windows 上构建 Hadoop 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36130679/

相关文章:

hadoop - Oracle Hadoop 连接器与 Sqoop

scala - 使用 Spark 选择特定列

hadoop - Hive 表列日期格式

hadoop - 基于Map Reduce的OWL文件推理

maven - 找不到 SpringApplicationConfiguration : Erroneous spring-boot-starter-test content?

android - 将Maven与AAR结合使用的Android项目没有Eclipse错误

java - 如何使用 Apache CXF Maven 插件链接到 XSD 文件?

java - 如何引入Android Context来测试?

maven - 如何正确配置 Selenium Maven 插件以与 Xvfb 一起运行以 headless 运行

scala - 如何使用 chill-avro 在 Spark 中加载 Avro GenericRecord?