hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10999) [ERROR] Failed to execute goal on project hadoop-common
Date Sun, 24 Aug 2014 20:39:58 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108584#comment-14108584
] 

Masatake Iwasaki commented on HADOOP-10999:
-------------------------------------------

It seems to be network ow server-side problem of maven repository from error messages.
Can you try it again? The command line of mvn worked for me on apache-maven-3.2.3. 

> [ERROR] Failed to execute goal on project hadoop-common
> -------------------------------------------------------
>
>                 Key: HADOOP-10999
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10999
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: OS: Ubuntu Server 14.04 64bit
> JDK: Java 7.0.67 64 bit
> Maven: apache-maven-3.2.3-bin.tar.gz
> Ant: apache-ant-1.9.4-bin.tar.gz
> $ sudo apt-get install autoconf automake libtool cmake
> $ sudo apt-get install openssl
> $ sudo apt-get install libssl-dev
> $ sudo apt-get install libncurses5-dev
> $ sudo apt-get install gcc*
> $ sudo apt-get install build-essential
> $ sudo apt-get install g++
> $ sudo apt-get install pkg-config
> $ tar zxvf protobuf-2.5.0.tar.gz
> $ cd protobuf-2.5.0
> $ sudo ./configure 
> $ sudo make 
> $ sudo make check 
> $ sudo make install 
> $ cd hadoop-2.5.0-src
> $ mvn package -Pdist,native -DskipTests -Dtar -e
>            Reporter: fernandoX
>
> [ERROR] Failed to execute goal on project hadoop-common: Could not resolve dependencies
for project org.apache.hadoop:hadoop-common:jar:2.5.0: Could not transfer artifact org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13
from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots):
Remote host closed connection during handshake: SSL peer shut down incorrectly -> [Help
1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project
hadoop-common: Could not resolve dependencies for project org.apache.hadoop:hadoop-common:jar:2.5.0:
Could not transfer artifact org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 from/to apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots): Remote host closed connection
during handshake
> 	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
> 	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve
dependencies for project org.apache.hadoop:hadoop-common:jar:2.5.0: Could not transfer artifact
org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots):
Remote host closed connection during handshake
> 	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
> 	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
> 	... 22 more
> Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not transfer
artifact org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 from/to apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots): Remote host closed connection
during handshake
> 	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
> 	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
> 	... 23 more
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer
artifact org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 from/to apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots): Remote host closed connection
during handshake
> 	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
> 	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
> 	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
> 	... 24 more
> Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer
artifact org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13 from/to apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots): Remote host closed connection
during handshake
> 	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1016)
> 	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
> 	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
> 	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.maven.wagon.TransferFailedException: Remote host closed connection
during handshake
> 	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:935)
> 	at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
> 	at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
> 	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
> 	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:660)
> 	... 4 more
> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during
handshake
> 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)
> 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
> 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
> 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
> 	at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:261)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:118)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute(MainClientExec.java:218)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute(RetryExec.java:85)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
> 	at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
> 	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:756)
> 	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:854)
> 	... 8 more
> Caused by: java.io.EOFException: SSL peer shut down incorrectly
> 	at sun.security.ssl.InputRecord.read(InputRecord.java:482)
> 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
> 	... 23 more
> [ERROR] 
> [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/DependencyResolutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hadoop-common



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message