Hit this error when building via docker:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (dist) on project hadoop-kms: An Ant BuildException has occured: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
[ERROR] around Ant part ...<get dest="downloads/apache-tomcat-8.5.43.tar.gz" skipexisting="true" verbose="true" src="https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.43/bin/apache-tomcat-8.5.43.tar.gz"/>... @ 5:183 in /build/source/hadoop-common-project/hadoop-kms/target/antrun/build-main.xml
[ERROR] -> [Help 1]
Seems this is caused by
HADOOP-16323 which fetches via https.
This should only be an issue in branch-2 since this was removed for KMS in
HADOOP-13597, and httpfs in HDFS-10860