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

ASF GitHub Bot commented on HADOOP-19659:
-----------------------------------------

pan3793 opened a new pull request, #7898:
URL: https://github.com/apache/hadoop/pull/7898

   <!--
     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
   
   Debian 10 EOL, and the apt repo is unavailable, this PR upgrades it to 
Debian 11
   
   ```
   docker run --rm -it debian:10 bash
   root@bc2a4c509cb3:/# apt update
   Ign:1 http://deb.debian.org/debian buster InRelease
   Ign:2 http://deb.debian.org/debian-security buster/updates InRelease
   Ign:3 http://deb.debian.org/debian buster-updates InRelease
   Err:4 http://deb.debian.org/debian buster Release
     404  Not Found [IP: 151.101.90.132 80]
   Err:5 http://deb.debian.org/debian-security buster/updates Release
     404  Not Found [IP: 151.101.90.132 80]
   Err:6 http://deb.debian.org/debian buster-updates Release
     404  Not Found [IP: 151.101.90.132 80]
   Reading package lists... Done
   E: The repository 'http://deb.debian.org/debian buster Release' does not 
have a Release file.
   N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
   N: See apt-secure(8) manpage for repository creation and user configuration 
details.
   E: The repository 'http://deb.debian.org/debian-security buster/updates 
Release' does not have a Release file.
   N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
   N: See apt-secure(8) manpage for repository creation and user configuration 
details.
   E: The repository 'http://deb.debian.org/debian buster-updates Release' does 
not have a Release file.
   N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
   N: See apt-secure(8) manpage for repository creation and user configuration 
details.
   root@bc2a4c509cb3:/#
   ```
   
   [Debian 11 will be EOL after 31 Aug 2026](https://endoflife.date/debian). I 
didn't switch it to Debian 12 or 13 because the new version does not have 
`openjdk-11-jdk` in the apt repo.
   
   ### How was this patch tested?
   
   ```
   $ ./start-build-env.sh debian_11
   ...
    _   _           _                    ______
   | | | |         | |                   |  _  \
   | |_| | __ _  __| | ___   ___  _ __   | | | |_____   __
   |  _  |/ _` |/ _` |/ _ \ / _ \| '_ \  | | | / _ \ \ / /
   | | | | (_| | (_| | (_) | (_) | |_) | | |/ /  __/\ V /
   \_| |_/\__,_|\__,_|\___/ \___/| .__/  |___/ \___| \_(_)
                                 | |
                                 |_|
   
   This is the standard Hadoop Developer build environment.
   This has all the right tools installed required to build
   Hadoop from source.
   
   chengpan@c85a4426ba52:~/hadoop$
   ```
   
   ```
   $ mvn clean install -DskipTests -Pnative -Pyarn-ui -DskipShade
   ...
   [INFO] Reactor Summary for Apache Hadoop Main 3.5.0-SNAPSHOT:
   [INFO]
   [INFO] Apache Hadoop Main ................................. SUCCESS [  0.662 
s]
   [INFO] Apache Hadoop Build Tools .......................... SUCCESS [  1.010 
s]
   [INFO] Apache Hadoop Project POM .......................... SUCCESS [  0.592 
s]
   [INFO] Apache Hadoop Annotations .......................... SUCCESS [  0.618 
s]
   [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  0.069 
s]
   [INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.109 
s]
   [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  1.754 
s]
   [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [  0.416 
s]
   [INFO] Apache Hadoop Auth ................................. SUCCESS [  2.437 
s]
   [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  0.581 
s]
   [INFO] Apache Hadoop Common ............................... SUCCESS [ 22.868 
s]
   [INFO] Apache Hadoop NFS .................................. SUCCESS [  1.273 
s]
   [INFO] Apache Hadoop KMS .................................. SUCCESS [  1.393 
s]
   [INFO] Apache Hadoop Registry ............................. SUCCESS [  1.533 
s]
   [INFO] Apache Hadoop Common Project ....................... SUCCESS [  0.040 
s]
   [INFO] Apache Hadoop HDFS Client .......................... SUCCESS [ 11.693 
s]
   [INFO] Apache Hadoop HDFS ................................. SUCCESS [ 22.103 
s]
   [INFO] Apache Hadoop HDFS Native Client ................... SUCCESS [02:13 
min]
   [INFO] Apache Hadoop HttpFS ............................... SUCCESS [  2.320 
s]
   [INFO] Apache Hadoop HDFS-NFS ............................. SUCCESS [  1.312 
s]
   [INFO] Apache Hadoop YARN ................................. SUCCESS [  0.042 
s]
   [INFO] Apache Hadoop YARN API ............................. SUCCESS [  7.877 
s]
   [INFO] Apache Hadoop YARN Common .......................... SUCCESS [  6.436 
s]
   [INFO] Apache Hadoop YARN Server .......................... SUCCESS [  0.038 
s]
   [INFO] Apache Hadoop YARN Server Common ................... SUCCESS [  5.022 
s]
   [INFO] Apache Hadoop YARN ApplicationHistoryService ....... SUCCESS [  2.078 
s]
   [INFO] Apache Hadoop YARN Timeline Service ................ SUCCESS [  1.541 
s]
   [INFO] Apache Hadoop YARN Web Proxy ....................... SUCCESS [  1.331 
s]
   [INFO] Apache Hadoop YARN ResourceManager ................. SUCCESS [ 13.285 
s]
   [INFO] Apache Hadoop YARN NodeManager ..................... SUCCESS [ 24.058 
s]
   [INFO] Apache Hadoop YARN Server Tests .................... SUCCESS [  1.467 
s]
   [INFO] Apache Hadoop YARN Client .......................... SUCCESS [  2.682 
s]
   [INFO] Apache Hadoop MapReduce Client ..................... SUCCESS [  0.682 
s]
   [INFO] Apache Hadoop MapReduce Core ....................... SUCCESS [  5.570 
s]
   [INFO] Apache Hadoop MapReduce Common ..................... SUCCESS [  2.672 
s]
   [INFO] Apache Hadoop MapReduce Shuffle .................... SUCCESS [  1.767 
s]
   [INFO] Apache Hadoop MapReduce App ........................ SUCCESS [  3.697 
s]
   [INFO] Apache Hadoop MapReduce HistoryServer .............. SUCCESS [  2.380 
s]
   [INFO] Apache Hadoop MapReduce JobClient .................. SUCCESS [  4.119 
s]
   [INFO] Apache Hadoop Distributed Copy ..................... SUCCESS [  2.581 
s]
   [INFO] Apache Hadoop Mini-Cluster ......................... SUCCESS [  1.206 
s]
   [INFO] Apache Hadoop Federation Balance ................... SUCCESS [  1.630 
s]
   [INFO] Apache Hadoop HDFS-RBF ............................. SUCCESS [ 15.224 
s]
   [INFO] Apache Hadoop HDFS Project ......................... SUCCESS [  0.035 
s]
   [INFO] Apache Hadoop YARN SharedCacheManager .............. SUCCESS [  1.195 
s]
   [INFO] Apache Hadoop YARN Timeline Plugin Storage ......... SUCCESS [  1.104 
s]
   [INFO] Apache Hadoop YARN TimelineService HBase Backend ... SUCCESS [  0.034 
s]
   [INFO] Apache Hadoop YARN TimelineService HBase Common .... SUCCESS [  1.532 
s]
   [INFO] Apache Hadoop YARN TimelineService HBase Client .... SUCCESS [  4.403 
s]
   [INFO] Apache Hadoop YARN TimelineService HBase Servers ... SUCCESS [  0.039 
s]
   [INFO] Apache Hadoop YARN TimelineService HBase Server 2.5  SUCCESS [  1.835 
s]
   [INFO] Apache Hadoop YARN TimelineService HBase tests ..... SUCCESS [  1.916 
s]
   [INFO] Apache Hadoop YARN Router .......................... SUCCESS [  2.665 
s]
   [INFO] Apache Hadoop YARN TimelineService DocumentStore ... SUCCESS [  1.284 
s]
   [INFO] Apache Hadoop YARN GlobalPolicyGenerator ........... SUCCESS [  1.474 
s]
   [INFO] Apache Hadoop YARN Applications .................... SUCCESS [  0.033 
s]
   [INFO] Apache Hadoop YARN DistributedShell ................ SUCCESS [  1.413 
s]
   [INFO] Apache Hadoop YARN Unmanaged Am Launcher ........... SUCCESS [  0.925 
s]
   [INFO] Apache Hadoop YARN Services ........................ SUCCESS [  0.033 
s]
   [INFO] Apache Hadoop YARN Services Core ................... SUCCESS [  3.138 
s]
   [INFO] Apache Hadoop YARN Services API .................... SUCCESS [  1.914 
s]
   [INFO] Apache Hadoop YARN Application Catalog ............. SUCCESS [  0.038 
s]
   [INFO] Apache Hadoop YARN Application Catalog Webapp ...... SUCCESS [ 11.624 
s]
   [INFO] Apache Hadoop YARN Application Catalog Docker Image  SUCCESS [  0.048 
s]
   [INFO] Apache Hadoop YARN Application MaWo ................ SUCCESS [  0.035 
s]
   [INFO] Apache Hadoop YARN Application MaWo Core ........... SUCCESS [  0.991 
s]
   [INFO] Apache Hadoop YARN Site ............................ SUCCESS [  0.075 
s]
   [INFO] Apache Hadoop YARN Registry ........................ SUCCESS [  0.458 
s]
   [INFO] Apache Hadoop YARN UI .............................. SUCCESS [02:07 
min]
   [INFO] Apache Hadoop YARN CSI ............................. SUCCESS [  3.403 
s]
   [INFO] Apache Hadoop YARN Project ......................... SUCCESS [  1.283 
s]
   [INFO] Apache Hadoop MapReduce HistoryServer Plugins ...... SUCCESS [  1.046 
s]
   [INFO] Apache Hadoop MapReduce NativeTask ................. SUCCESS [ 18.413 
s]
   [INFO] Apache Hadoop MapReduce Uploader ................... SUCCESS [  1.040 
s]
   [INFO] Apache Hadoop MapReduce Examples ................... SUCCESS [  1.912 
s]
   [INFO] Apache Hadoop MapReduce ............................ SUCCESS [  1.140 
s]
   [INFO] Apache Hadoop MapReduce Streaming .................. SUCCESS [  2.034 
s]
   [INFO] Apache Hadoop Client Aggregator .................... SUCCESS [  0.728 
s]
   [INFO] Apache Hadoop Dynamometer Workload Simulator ....... SUCCESS [  1.363 
s]
   [INFO] Apache Hadoop Dynamometer Cluster Simulator ........ SUCCESS [  1.878 
s]
   [INFO] Apache Hadoop Dynamometer Block Listing Generator .. SUCCESS [  1.241 
s]
   [INFO] Apache Hadoop Dynamometer Dist ..................... SUCCESS [  1.161 
s]
   [INFO] Apache Hadoop Dynamometer .......................... SUCCESS [  0.034 
s]
   [INFO] Apache Hadoop Archives ............................. SUCCESS [  1.310 
s]
   [INFO] Apache Hadoop Archive Logs ......................... SUCCESS [  1.536 
s]
   [INFO] Apache Hadoop Rumen ................................ SUCCESS [  1.914 
s]
   [INFO] Apache Hadoop Gridmix .............................. SUCCESS [  1.920 
s]
   [INFO] Apache Hadoop Data Join ............................ SUCCESS [  1.347 
s]
   [INFO] Apache Hadoop Extras ............................... SUCCESS [  1.377 
s]
   [INFO] Apache Hadoop Pipes ................................ SUCCESS [  2.679 
s]
   [INFO] Apache Hadoop Amazon Web Services support .......... SUCCESS [  7.690 
s]
   [INFO] Apache Hadoop Kafka Library support ................ SUCCESS [  0.901 
s]
   [INFO] Apache Hadoop Azure support ........................ SUCCESS [  5.553 
s]
   [INFO] Apache Hadoop Aliyun OSS support ................... SUCCESS [  1.183 
s]
   [INFO] Apache Hadoop Scheduler Load Simulator ............. SUCCESS [  1.679 
s]
   [INFO] Apache Hadoop Resource Estimator Service ........... SUCCESS [  1.213 
s]
   [INFO] Apache Hadoop Azure Data Lake support .............. SUCCESS [  1.156 
s]
   [INFO] Apache Hadoop Image Generation Tool ................ SUCCESS [  1.256 
s]
   [INFO] Apache Hadoop Tools Dist ........................... SUCCESS [  0.704 
s]
   [INFO] Apache Hadoop OpenStack support .................... SUCCESS [  0.047 
s]
   [INFO] Apache Hadoop Common Benchmark ..................... SUCCESS [  9.812 
s]
   [INFO] Apache Hadoop Compatibility Benchmark .............. SUCCESS [  0.853 
s]
   [INFO] Apache Hadoop Tools ................................ SUCCESS [  0.032 
s]
   [INFO] Apache Hadoop Client API ........................... SUCCESS [  0.911 
s]
   [INFO] Apache Hadoop Client Runtime ....................... SUCCESS [  0.763 
s]
   [INFO] Apache Hadoop Client Packaging Invariants .......... SUCCESS [  0.367 
s]
   [INFO] Apache Hadoop Client Test Minicluster .............. SUCCESS [  0.756 
s]
   [INFO] Apache Hadoop Client Packaging Invariants for Test . SUCCESS [  0.174 
s]
   [INFO] Apache Hadoop Client Packaging Integration Tests ... SUCCESS [  0.778 
s]
   [INFO] Apache Hadoop Distribution ......................... SUCCESS [  0.493 
s]
   [INFO] Apache Hadoop Client Modules ....................... SUCCESS [  0.034 
s]
   [INFO] Apache Hadoop Tencent COS Support .................. SUCCESS [ 56.113 
s]
   [INFO] Apache Hadoop OBS support .......................... SUCCESS [  1.335 
s]
   [INFO] Apache Hadoop Volcano Engine Services support ...... SUCCESS [  2.005 
s]
   [INFO] Apache Hadoop Cloud Storage ........................ SUCCESS [  0.444 
s]
   [INFO] Apache Hadoop Cloud Storage Project ................ SUCCESS [  0.032 
s]
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  10:25 min
   [INFO] Finished at: 2025-08-26T05:03:57Z
   [INFO] 
------------------------------------------------------------------------
   ```
   
   ### For code changes:
   
   - [x] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] 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?
   
   




> Upgrade Debian 10 to 11 in build env Dockerfile
> -----------------------------------------------
>
>                 Key: HADOOP-19659
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19659
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.5.0
>            Reporter: Cheng Pan
>            Priority: Major
>
> Debian 10 EOL, and the apt repo is unavailable
> {code:bash}
> docker run --rm -it debian:10 bash
> root@bc2a4c509cb3:/# apt update
> Ign:1 http://deb.debian.org/debian buster InRelease
> Ign:2 http://deb.debian.org/debian-security buster/updates InRelease
> Ign:3 http://deb.debian.org/debian buster-updates InRelease
> Err:4 http://deb.debian.org/debian buster Release
>   404  Not Found [IP: 151.101.90.132 80]
> Err:5 http://deb.debian.org/debian-security buster/updates Release
>   404  Not Found [IP: 151.101.90.132 80]
> Err:6 http://deb.debian.org/debian buster-updates Release
>   404  Not Found [IP: 151.101.90.132 80]
> Reading package lists... Done
> E: The repository 'http://deb.debian.org/debian buster Release' does not have 
> a Release file.
> N: Updating from such a repository can't be done securely, and is therefore 
> disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration 
> details.
> E: The repository 'http://deb.debian.org/debian-security buster/updates 
> Release' does not have a Release file.
> N: Updating from such a repository can't be done securely, and is therefore 
> disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration 
> details.
> E: The repository 'http://deb.debian.org/debian buster-updates Release' does 
> not have a Release file.
> N: Updating from such a repository can't be done securely, and is therefore 
> disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration 
> details.
> root@bc2a4c509cb3:/#
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to