zinking commented on code in PR #37023:
URL: https://github.com/apache/arrow/pull/37023#discussion_r1286554564
##########
ci/docker/java-jni-manylinux-201x.dockerfile:
##########
@@ -34,7 +34,7 @@ RUN vcpkg install \
# Install Java
ARG java=1.8.0
-ARG maven=3.9.3
+ARG maven=3.9.4
RUN yum install -y java-$java-openjdk-devel && \
yum clean all && \
curl
https://dlcdn.apache.org/maven/maven-3/${maven}/binaries/apache-maven-${maven}-bin.tar.gz
| \
Review Comment:
this is the one with curl out piped to tar zxf
```
curl -v --location
https://www.apache.org/dyn/closer.lua\?action\=download\&filename\=maven/maven-3/$\{maven\}/binaries/apache-maven-$\{maven\}-bin.tar.gz
| \
pipe> tar xfz - -C /usr/local
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* About to connect() to www.apache.org port 443 (#0)
* Trying 151.101.2.132...
* Connected to www.apache.org (151.101.2.132) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:--
0* NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG)
* SSL received a record that exceeded the maximum permissible length.
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
* Closing connection 0
curl: (35) SSL received a record that exceeded the maximum permissible
length.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
```
this is the one downloaded to a target file first
```
curl -v --location
https://www.apache.org/dyn/closer.lua\?action\=download\&filename\=maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz
-o apache-maven-3.9.3-bin.tar.gz
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* About to connect() to www.apache.org port 443 (#0)
* Trying 151.101.2.132...
* Connected to www.apache.org (151.101.2.132) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=*.apache.org
* start date: Jun 12 16:01:34 2023 GMT
* expire date: Sep 10 16:01:33 2023 GMT
* common name: *.apache.org
* issuer: CN=R3,O=Let's Encrypt,C=US
> GET
/dyn/closer.lua?action=download&filename=maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz
HTTP/1.1
> User-Agent: curl/7.29.0
> Host: www.apache.org
> Accept: */*
>
< HTTP/1.1 302 Found
< Connection: keep-alive
< Content-Length: 0
< Server: Apache
< Cache-Control: private, max-age=3600
< Location:
https://archive.apache.org/dist/maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz
< Expires: Tue, 08 Aug 2023 04:17:27 GMT
< Content-Security-Policy: default-src 'self' 'unsafe-inline'
https://www.apachecon.com/ https://www.google.com/cse/ https://cse.google.com/
https://www.googleapis.com/generate_204 http://*.google.com/generate_204
https://afs.googlesyndication.com/ https://csp.withgoogle.com/
https://www.google.com/images/ https://ssl.gstatic.com/ui/
https://docs.google.com/forms/ https://www.youtube.com/embed/; script-src
'self' 'unsafe-inline' 'unsafe-eval' https://cse.google.com/
http://cse.google.com/adsense/search/async-ads.js https://www.google.com/cse/
https://partner.googleadservices.com/; style-src 'self' 'unsafe-inline'
https://www.google.com/cse/; frame-ancestors 'none';
< Strict-Transport-Security: max-age=31536000; preload
< Accept-Ranges: bytes
< Via: 1.1 varnish, 1.1 varnish
< Date: Tue, 08 Aug 2023 03:17:27 GMT
< X-Served-By: cache-hel1410020-HEL, cache-tyo11949-TYO
< X-Cache: MISS, MISS
< X-Cache-Hits: 0, 0
< X-Timer: S1691464647.113735,VS0,VE270
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host www.apache.org left intact
* Issue another request to this URL:
'https://archive.apache.org/dist/maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz'
* About to connect() to archive.apache.org port 443 (#1)
* Trying 65.108.204.189...
* Connected to archive.apache.org (65.108.204.189) port 443 (#1)
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:--
0* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=*.apache.org
* start date: Jul 25 00:00:00 2023 GMT
* expire date: Aug 24 23:59:59 2024 GMT
* common name: *.apache.org
* issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo
Limited,L=Salford,ST=Greater Manchester,C=GB
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:--
0> GET /dist/maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz HTTP/1.1
> User-Agent: curl/7.29.0
> Host: archive.apache.org
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Tue, 08 Aug 2023 03:17:28 GMT
< Server: Apache
< Vary: Slow,Glacial
< Last-Modified: Mon, 26 Jun 2023 11:09:31 GMT
< ETag: "8d4679-5ff06628e5bc7"
< Accept-Ranges: bytes
< Content-Length: 9258617
< Content-Type: application/x-gzip
<
{ [data not shown]
100 9041k 100 9041k 0 0 252k 0 0:00:35 0:00:35 --:--:--
508k
* Connection #1 to host archive.apache.org left intact
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]