You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2022/04/21 09:24:00 UTC

[jira] [Commented] (HADOOP-18213) create release docker builds failing with network issues retrieving artifacts

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

Steve Loughran commented on HADOOP-18213:
-----------------------------------------

stack overflow discussion on either disabling http connection reuse (this will make the build way slower) or limit lifespan of a connection

https://stackoverflow.com/questions/55899091/maven-retry-dependency-download-if-failed

maven network settings
https://maven.apache.org/guides/mini/guide-http-settings.html

if i can tune local settings.xml that will be enough; the SO discussion covers properties to pass in to the mvn build which would address it for all builds...that would be a patch. with a 2h delay before a failure, i;d rather do the local settings...

> create release docker builds failing with network issues retrieving artifacts
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-18213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18213
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 3.3.3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>
> the docker runs fail regularly when trying to retrieve artifacts off maven central due to (transient?) network errors
> Two examples. 
> {code}
> [ERROR] Failed to execute goal on project hadoop-hdfs-httpfs: Could not resolve dependencies for project org.apache.hadoop:hadoop-hdfs-httpfs:jar:3.3.3-SNAPSHOT: Failed to collect dependencies at com.googlecode.json-simple:json-simple:jar:1.1.1: Failed to read artifact descriptor for com.googlecode.json-simple:json-simple:jar:1.1.1: Could not transfer artifact com.googlecode.json-simple:json-simple:pom:1.1.1 from/to maven-central (https://repo1.maven.org/maven2): Connection reset -> [Help 1]
> {code}
> {code}
> [ERROR] Failed to execute goal on project hadoop-common: Could not resolve dependencies for project org.apache.hadoop:hadoop-common:jar:3.3.3-SNAPSHOT: The following artifacts could not be resolved: org.assertj:assertj-core:jar:3.12.2, org.apache.ant:ant:jar:1.10.11, com.google.protobuf:protobuf-java:jar:2.5.0, com.jcraft:jsch:jar:0.1.55, org.apache.curator:curator-recipes:jar:4.2.0, org.apache.sshd:sshd-core:jar:1.6.0, org.apache.ftpserver:ftpserver-core:jar:1.0.0, org.apache.ftpserver:ftplet-api:jar:1.0.0, org.apache.zookeeper:zookeeper:jar:tests:3.5.6, org.apache.commons:commons-compress:jar:1.21, org.codehaus.woodstox:stax2-api:jar:4.2.1, com.fasterxml.woodstox:woodstox-core:jar:5.3.0, com.squareup.okhttp3:mockwebserver:jar:3.7.0, com.squareup.okhttp3:okhttp:jar:3.7.0, com.squareup.okio:okio:jar:1.12.0, dnsjava:dnsjava:jar:2.1.7, org.xerial.snappy:snappy-java:jar:1.1.8.2, org.lz4:lz4-java:jar:1.7.1: Could not transfer artifact org.assertj:assertj-core:jar:3.12.2 from/to maven-central (https://repo1.maven.org/maven2): GET request of: org/assertj/assertj-core/3.12.2/assertj-core-3.12.2.jar from maven-central failed: Premature end of Content-Length delimited message body (expected: 4382102; received:
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org