59ec7a20b0
### What changes were proposed in this pull request? This PR aims to use `keyserver.ubuntu.com` as a keyserver for CRAN. ### Why are the changes needed? Currently, both servers fail and K8s IT fails at SparkR image building phase. - https://amplab.cs.berkeley.edu/jenkins/view/Spark%20K8s%20Builds/job/spark-master-test-k8s/801/console ``` $ docker run -it --rm openjdk:11 /bin/bash root3e89a8d05378:/# echo "deb http://cloud.r-project.org/bin/linux/debian buster-cran35/" >> /etc/apt/sources.list root3e89a8d05378:/# (apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF' || apt-key adv --keyserver keys.openpgp.org --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF') Executing: /tmp/apt-key-gpghome.8lNIiUuhoE/gpg.1.sh --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF gpg: keyserver receive failed: No name Executing: /tmp/apt-key-gpghome.stxb8XUlx8/gpg.1.sh --keyserver keys.openpgp.org --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF gpg: key AD5F960A256A04AF: new key but contains no user ID - skipped gpg: Total number processed: 1 gpg: w/o user IDs: 1 root3e89a8d05378:/# apt-get update ... Err:3 http://cloud.r-project.org/bin/linux/debian buster-cran35/ InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE2A0E115C3D8A ... W: GPG error: http://cloud.r-project.org/bin/linux/debian buster-cran35/ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE2A0E115C3D8A E: The repository 'http://cloud.r-project.org/bin/linux/debian buster-cran35/ InRelease' is not signed. 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. ``` `keyserver.ubuntu.com` is a recommended backup server in CRAN document. - http://cloud.r-project.org/bin/linux/debian/ ``` $ docker run -it --rm openjdk:11 /bin/bash rootc9b183e45ffe:/# echo "deb http://cloud.r-project.org/bin/linux/debian buster-cran35/" >> /etc/apt/sources.list rootc9b183e45ffe:/# apt-key adv --keyserver keyserver.ubuntu.com --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF' Executing: /tmp/apt-key-gpghome.P6cxYkOge7/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF gpg: key AD5F960A256A04AF: public key "Johannes Ranke (Wissenschaftlicher Berater) <johannes.rankejrwb.de>" imported gpg: Total number processed: 1 gpg: imported: 1 rootc9b183e45ffe:/# apt-get update Get:1 http://deb.debian.org/debian buster InRelease [122 kB] Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:3 http://cloud.r-project.org/bin/linux/debian buster-cran35/ InRelease [4375 B] Get:4 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:5 http://cloud.r-project.org/bin/linux/debian buster-cran35/ Packages [53.3 kB] Get:6 http://security.debian.org/debian-security buster/updates/main arm64 Packages [287 kB] Get:7 http://deb.debian.org/debian buster/main arm64 Packages [7735 kB] Get:8 http://deb.debian.org/debian buster-updates/main arm64 Packages [14.5 kB] Fetched 8334 kB in 2s (4537 kB/s) Reading package lists... Done ``` ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass K8s IT Jenkins SparkR image building. Or, manually do the following. ``` $ bin/docker-image-tool.sh -R kubernetes/dockerfiles/spark/bindings/R/Dockerfile build ``` Closes #33071 from dongjoon-hyun/SPARK-35885. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> |
||
---|---|---|
.. | ||
bindings | ||
decom.sh | ||
Dockerfile | ||
entrypoint.sh |