pan3793 opened a new pull request, #8244:
URL: https://github.com/apache/hadoop/pull/8244
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
Reduce boost source code download size by switching from
https://sourceforge.net/projects/boost/files/boost/1.86.0/boost_1_86_0.tar.bz2/download
(120M) to
https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-b2-nodocs.tar.gz
(61M)
I see relatively frequent failure in downloading boost source code from
sourceforge.net, not sure if it's my own network issue ... but it's always good
to reduce the download size
```
=> ERROR [11/17] RUN pkg-resolver/install-boost.sh ubuntu:noble
641.0s
------
> [11/17] RUN pkg-resolver/install-boost.sh ubuntu:noble:
0.193 % Total % Received % Xferd Average Speed Time Time Time
Current
0.193 Dload Upload Total Spent Left
Speed
100 623 100 623 0 0 1142 0 --:--:-- --:--:-- --:--:--
1141
100 365 100 365 0 0 336 0 0:00:01 0:00:01 --:--:--
336
1 120M 1 2063k 0 0 3300 0 10:37:28 0:10:40 10:26:48
4187
640.5 curl: (18) transfer closed with 124107374 bytes remaining to read
------
--------------------
91 | RUN pkg-resolver/install-maven.sh ubuntu:noble
92 | RUN pkg-resolver/install-spotbugs.sh ubuntu:noble
93 | >>> RUN pkg-resolver/install-boost.sh ubuntu:noble
94 | RUN pkg-resolver/install-protobuf.sh ubuntu:noble
95 | RUN pkg-resolver/install-hadolint.sh ubuntu:noble
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -o pipefail -c
pkg-resolver/install-boost.sh ubuntu:noble" did not complete successfully: exit
code: 18
```
### How was this patch tested?
TODO
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(HADOOP-19812)?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
### AI Tooling
No AI usage.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]