Databricks Apache Spark HTTP 请求已发送,等待响应... 404 未找到

Databricks Apache Spark HTTP request sent, awaiting response... 404 Not Found

我尝试使用 wget 在 Apache Spark 上使用 Databricks 下载图像,但出现如下错误:

%sh
wget https://www.mirrorservice.org/sites/ftp.apache.org/kafka/2.7.0/kafka_2.13-2.7.0.tgz

--2022-03-16 20:06:17--  https://www.mirrorservice.org/sites/ftp.apache.org/kafka/2.7.0/kafka_2.13-2.7.0.tgz
Resolving www.mirrorservice.org (www.mirrorservice.org)... 212.219.56.184, 2001:630:341:12::184
Connecting to www.mirrorservice.org (www.mirrorservice.org)|212.219.56.184|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-03-16 20:06:17 ERROR 404: Not Found.

有什么想法吗?

如果您查看更高级别 (https://www.mirrorservice.org/sites/ftp.apache.org/kafka/),您会发现此镜像没有 2.7.0 - 通常只镜像几个最新版本,而不是全部。如果你需要这个旧版本,你需要使用主 Apache 存档