Bug: mvn install -DskipTests failed about hadoop@3.3.1
Status: Resolved | Priority: Major | Resolution: Cannot Reproduce
Created: 30/Jun/21 09:16
Affects Version/s: 3.3.1

{panel:title=mvn install -DskipTests failed about hadoop@3.3.1}
mvn install -DskipTests failed
{panel}
[root@centos8 spack-src]# mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.4.1/maven-3.6.3-bnannw7m3zq6axy7nmovnlhjawdy6pzt
Java version: 1.8.0_191, vendor: AdoptOpenJdk, runtime: /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.4.1/openjdk-1.8.0_191-b12-fidptihybskgklbjoo4lagkacm6n6lod/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.18.0-240.22.1.el8_3.aarch64", arch: "aarch64", family: "unix"
[root@centos8 spack-src]# java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.191-b12, mixed mode)
[root@centos8 spack-src]#mvn install -DskipTests
……
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-yarn-applications-catalog-webapp ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /root/6/hadoop-trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/target/test-dir
[INFO] Executed tasks
[INFO]
[INFO] --- maven-dependency-plugin:3.0.2:copy (default) @ hadoop-yarn-applications-catalog-webapp ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (banned-illegal-imports) @ hadoop-yarn-applications-catalog-webapp ---
[INFO]
[INFO] --- replacer:1.5.3:replace (replace-generated-sources) @ hadoop-yarn-applications-catalog-webapp ---
[INFO] Skipping
[INFO]
[INFO] --- replacer:1.5.3:replace (replace-sources) @ hadoop-yarn-applications-catalog-webapp ---
[INFO] Skipping
[INFO]
[INFO] --- replacer:1.5.3:replace (replace-guava) @ hadoop-yarn-applications-catalog-webapp ---
[INFO] Replacement run on 22 files.
[INFO]
[INFO] --- frontend-maven-plugin:1.11.2:install-node-and-yarn (install node and yarn) @ hadoop-yarn-applications-catalog-webapp ---
[INFO] Installing node version v8.11.3
[INFO] Downloading https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-arm64.tar.gz to /root/.m2/repository/com/github/eirslett/node/8.11.3/node-8.11.3-linux-arm64.tar.gz
[INFO] No proxies configured
[INFO] No proxy was configured, downloading directly
Jun 30, 2021 4:56:30 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://nodejs.org:443: Network is unreachable (connect failed)
Jun 30, 2021 4:56:30 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://nodejs.org:443
Jun 30, 2021 5:00:56 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://nodejs.org:443: Network is unreachable (connect failed)
Jun 30, 2021 5:00:56 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://nodejs.org:443
Jun 30, 2021 5:05:22 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://nodejs.org:443: Network is unreachable (connect failed)
Jun 30, 2021 5:05:22 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://nodejs.org:443
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Hadoop Main 3.4.0-SNAPSHOT:
[INFO]
[INFO] Apache Hadoop Main ................................. SUCCESS [  1.394 s]
[INFO] Apache Hadoop Build Tools .......................... SUCCESS [  1.139 s]
[INFO] Apache Hadoop Project POM .......................... SUCCESS [  1.138 s]
[INFO] Apache Hadoop Annotations .......................... SUCCESS [  1.608 s]
[INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  0.117 s]
[INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.144 s]
[INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  3.554 s]
[INFO] Apache Hadoop MiniKDC .............................. SUCCESS [  0.875 s]
[INFO] Apache Hadoop Auth ................................. SUCCESS [  3.514 s]
[INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  1.086 s]
[INFO] Apache Hadoop Common ............................... SUCCESS [ 32.955 s]
[INFO] Apache Hadoop NFS .................................. SUCCESS [  1.536 s]
[INFO] Apache Hadoop KMS .................................. SUCCESS [  1.799 s]
[INFO] Apache Hadoop Registry ............................. SUCCESS [  1.746 s]
[INFO] Apache Hadoop Common Project ....................... SUCCESS [  0.068 s]
[INFO] Apache Hadoop HDFS Client .......................... SUCCESS [ 35.859 s]
[INFO] Apache Hadoop HDFS ................................. SUCCESS [ 41.663 s]
[INFO] Apache Hadoop HDFS Native Client ................... SUCCESS [  0.482 s]
[INFO] Apache Hadoop HttpFS ............................... SUCCESS [  2.553 s]
[INFO] Apache Hadoop HDFS-NFS ............................. SUCCESS [  1.263 s]
[INFO] Apache Hadoop YARN ................................. SUCCESS [  0.071 s]
[INFO] Apache Hadoop YARN API ............................. SUCCESS [ 16.292 s]
[INFO] Apache Hadoop YARN Common .......................... SUCCESS [ 12.975 s]
[INFO] Apache Hadoop YARN Server .......................... SUCCESS [  0.067 s]
[INFO] Apache Hadoop YARN Server Common ................... SUCCESS [  7.767 s]
[INFO] Apache Hadoop YARN ApplicationHistoryService ....... SUCCESS [  2.587 s]
[INFO] Apache Hadoop YARN Timeline Service ................ SUCCESS [  1.853 s]
[INFO] Apache Hadoop YARN Web Proxy ....................... SUCCESS [  1.426 s]
[INFO] Apache Hadoop YARN ResourceManager ................. SUCCESS [ 26.982 s]
[INFO] Apache Hadoop YARN NodeManager ..................... SUCCESS [ 10.825 s]
[INFO] Apache Hadoop YARN Server Tests .................... SUCCESS [  1.875 s]
[INFO] Apache Hadoop YARN Client .......................... SUCCESS [  3.608 s]
[INFO] Apache Hadoop MapReduce Client ..................... SUCCESS [  0.457 s]
[INFO] Apache Hadoop MapReduce Core ....................... SUCCESS [  6.434 s]
[INFO] Apache Hadoop MapReduce Common ..................... SUCCESS [  4.141 s]
[INFO] Apache Hadoop MapReduce Shuffle .................... SUCCESS [  1.973 s]
[INFO] Apache Hadoop MapReduce App ........................ SUCCESS [  4.802 s]
[INFO] Apache Hadoop MapReduce HistoryServer .............. SUCCESS [  2.877 s]
[INFO] Apache Hadoop MapReduce JobClient .................. SUCCESS [  6.246 s]
[INFO] Apache Hadoop Distributed Copy ..................... SUCCESS [  3.060 s]
[INFO] Apache Hadoop Mini-Cluster ......................... SUCCESS [  1.293 s]
[INFO] Apache Hadoop Federation Balance ................... SUCCESS [  2.601 s]
[INFO] Apache Hadoop HDFS-RBF ............................. SUCCESS [  7.814 s]
[INFO] Apache Hadoop HDFS Project ......................... SUCCESS [  0.069 s]
[INFO] Apache Hadoop YARN SharedCacheManager .............. SUCCESS [  1.363 s]
[INFO] Apache Hadoop YARN Timeline Plugin Storage ......... SUCCESS [  1.484 s]
[INFO] Apache Hadoop YARN TimelineService HBase Backend ... SUCCESS [  0.061 s]
[INFO] Apache Hadoop YARN TimelineService HBase Common .... SUCCESS [  2.148 s]
[INFO] Apache Hadoop YARN TimelineService HBase Client .... SUCCESS [  2.850 s]
[INFO] Apache Hadoop YARN TimelineService HBase Servers ... SUCCESS [  0.064 s]
[INFO] Apache Hadoop YARN TimelineService HBase Server 1.2  SUCCESS [  2.887 s]
[INFO] Apache Hadoop YARN TimelineService HBase tests ..... SUCCESS [  2.953 s]
[INFO] Apache Hadoop YARN Router .......................... SUCCESS [  2.013 s]
[INFO] Apache Hadoop YARN TimelineService DocumentStore ... SUCCESS [  1.233 s]
[INFO] Apache Hadoop YARN Applications .................... SUCCESS [  0.060 s]
[INFO] Apache Hadoop YARN DistributedShell ................ SUCCESS [  1.584 s]
[INFO] Apache Hadoop YARN Unmanaged Am Launcher ........... SUCCESS [  2.965 s]
[INFO] Apache Hadoop YARN Services ........................ SUCCESS [  0.066 s]
[INFO] Apache Hadoop YARN Services Core ................... SUCCESS [  3.973 s]
[INFO] Apache Hadoop YARN Services API .................... SUCCESS [  1.708 s]
[INFO] Apache Hadoop YARN Application Catalog ............. SUCCESS [  0.059 s]
[INFO] Apache Hadoop YARN Application Catalog Webapp ...... FAILURE [18:02 min]
[INFO] Apache Hadoop YARN Application Catalog Docker Image  SKIPPED
[INFO] Apache Hadoop YARN Application MaWo ................ SKIPPED
[INFO] Apache Hadoop YARN Application MaWo Core ........... SKIPPED
[INFO] Apache Hadoop YARN Site ............................ SKIPPED
[INFO] Apache Hadoop YARN Registry ........................ SKIPPED
[INFO] Apache Hadoop YARN UI .............................. SKIPPED
[INFO] Apache Hadoop YARN CSI ............................. SKIPPED
[INFO] Apache Hadoop YARN Project ......................... SKIPPED
[INFO] Apache Hadoop MapReduce HistoryServer Plugins ...... SKIPPED
[INFO] Apache Hadoop MapReduce NativeTask ................. SKIPPED
[INFO] Apache Hadoop MapReduce Uploader ................... SKIPPED
[INFO] Apache Hadoop MapReduce Examples ................... SKIPPED
[INFO] Apache Hadoop MapReduce ............................ SKIPPED
[INFO] Apache Hadoop MapReduce Streaming .................. SKIPPED
[INFO] Apache Hadoop Client Aggregator .................... SKIPPED
[INFO] Apache Hadoop Dynamometer Workload Simulator ....... SKIPPED
[INFO] Apache Hadoop Dynamometer Cluster Simulator ........ SKIPPED
[INFO] Apache Hadoop Dynamometer Block Listing Generator .. SKIPPED
[INFO] Apache Hadoop Dynamometer Dist ..................... SKIPPED
[INFO] Apache Hadoop Dynamometer .......................... SKIPPED
[INFO] Apache Hadoop Archives ............................. SKIPPED
[INFO] Apache Hadoop Archive Logs ......................... SKIPPED
[INFO] Apache Hadoop Rumen ................................ SKIPPED
[INFO] Apache Hadoop Gridmix .............................. SKIPPED
[INFO] Apache Hadoop Data Join ............................ SKIPPED
[INFO] Apache Hadoop Extras ............................... SKIPPED
[INFO] Apache Hadoop Pipes ................................ SKIPPED
[INFO] Apache Hadoop OpenStack support .................... SKIPPED
[INFO] Apache Hadoop Amazon Web Services support .......... SKIPPED
[INFO] Apache Hadoop Kafka Library support ................ SKIPPED
[INFO] Apache Hadoop Azure support ........................ SKIPPED
[INFO] Apache Hadoop Aliyun OSS support ................... SKIPPED
[INFO] Apache Hadoop Scheduler Load Simulator ............. SKIPPED
[INFO] Apache Hadoop Resource Estimator Service ........... SKIPPED
[INFO] Apache Hadoop Azure Data Lake support .............. SKIPPED
[INFO] Apache Hadoop Image Generation Tool ................ SKIPPED
[INFO] Apache Hadoop Tools Dist ........................... SKIPPED
[INFO] Apache Hadoop Tools ................................ SKIPPED
[INFO] Apache Hadoop Client API ........................... SKIPPED
[INFO] Apache Hadoop Client Runtime ....................... SKIPPED
[INFO] Apache Hadoop Client Packaging Invariants .......... SKIPPED
[INFO] Apache Hadoop Client Test Minicluster .............. SKIPPED
[INFO] Apache Hadoop Client Packaging Invariants for Test . SKIPPED
[INFO] Apache Hadoop Client Packaging Integration Tests ... SKIPPED
[INFO] Apache Hadoop Distribution ......................... SKIPPED
[INFO] Apache Hadoop Client Modules ....................... SKIPPED
[INFO] Apache Hadoop Tencent COS Support .................. SKIPPED
[INFO] Apache Hadoop OBS support .......................... SKIPPED
[INFO] Apache Hadoop Cloud Storage ........................ SKIPPED
[INFO] Apache Hadoop Cloud Storage Project ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22:55 min
[INFO] Finished at: 2021-06-30T17:09:48+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.2:install-node-and-yarn (install node and yarn) on project hadoop-yarn-applications-catalog-webapp: Could not download Node.js: Could not download https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-arm64.tar.gz: Network is unreachable (connect failed) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :hadoop-yarn-applications-catalog-webapp

----
Can you help me find out what caused it and how to solve it?