adoroszlai opened a new pull request #2237:
URL: https://github.com/apache/ozone/pull/2237


   ## What changes were proposed in this pull request?
   
   Disable Maven HTTP connection pooling to avoid intermittent [download 
errors](https://github.com/apache/ozone/runs/2454639477#step:6:2576) like:
   
   ```
   [ERROR] Plugin org.apache.maven.plugins:maven-shade-plugin:3.2.4 or one of 
its dependencies could not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-shade-plugin:jar:3.2.4: Could not transfer 
artifact org.apache.maven.plugins:maven-shade-plugin:pom:3.2.4 from/to central 
(https://repo.maven.apache.org/maven2): Transfer failed for 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-shade-plugin/3.2.4/maven-shade-plugin-3.2.4.pom:
 Connection timed out (Read failed)
   ```
   
   The solution is taken from 
https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080
 and 
https://github.com/actions/virtual-environments/issues/1499#issuecomment-718396233.
   
   https://issues.apache.org/jira/browse/HDDS-5187
   
   ## How was this patch tested?
   
   Regular CI:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/830661774
   
   Compile/test without any cache:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/830829319


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to