尝试使用yum在aws linux上安装confluent platform(kafka)3.1.1获取pycurl错误22-“请求的url返回错误:404未找到”

68bkxrlz  于 2021-06-07  发布在  Kafka
关注(0)|答案(1)|浏览(354)

我按照wiki文档中链接的说明在运行amazon linux(版本2016.09)的ec2示例上安装confluent平台。我做了上面说的一切,包括:

$ sudo rpm --import http://packages.confluent.io/rpm/3.1/archive.key

使用以下内容创建/etc/yum.repos.d/confluent.repo:

[Confluent.dist]
name=Confluent repository (dist)
baseurl=http://packages.confluent.io/rpm/3.1/6
gpgcheck=1
gpgkey=http://packages.confluent.io/rpm/3.1/archive.key
enabled=1

[Confluent]
name=Confluent repository
baseurl=http://packages.confluent.io/rpm/3.1
gpgcheck=1
gpgkey=http://packages.confluent.io/rpm/3.1/archive.key
enabled=1

然后呢

$ sudo yum clean all
$ sudo yum install confluent-platform-2.11

但是,我遇到以下错误:

Downloading packages:
http://packages.confluent.io/rpm/3.1/confluent-camus-3.1.2-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://packages.confluent.io/rpm/3.1/confluent-kafka-2.11-0.10.1.1-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://packages.confluent.io/rpm/3.1/confluent-kafka-connect-elasticsearch-3.1.2-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://packages.confluent.io/rpm/3.1/confluent-kafka-connect-hdfs-3.1.2-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://packages.confluent.io/rpm/3.1/confluent-kafka-connect-jdbc-3.1.2-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://packages.confluent.io/rpm/3.1/confluent-kafka-rest-3.1.2-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://packages.confluent.io/rpm/3.1/confluent-platform-oss-2.11-3.1.2-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://packages.confluent.io/rpm/3.1/confluent-schema-registry-3.1.2-1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.

Error downloading packages:
  confluent-kafka-2.11-0.10.1.1-1.noarch: failure: confluent-kafka-2.11-0.10.1.1-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.
  confluent-camus-3.1.2-1.noarch: failure: confluent-camus-3.1.2-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.
  confluent-kafka-rest-3.1.2-1.noarch: failure: confluent-kafka-rest-3.1.2-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.
  confluent-kafka-connect-hdfs-3.1.2-1.noarch: failure: confluent-kafka-connect-hdfs-3.1.2-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.
  confluent-kafka-connect-elasticsearch-3.1.2-1.noarch: failure: confluent-kafka-connect-elasticsearch-3.1.2-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.
  confluent-platform-oss-2.11-3.1.2-1.noarch: failure: confluent-platform-oss-2.11-3.1.2-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.
  confluent-schema-registry-3.1.2-1.noarch: failure: confluent-schema-registry-3.1.2-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.
  confluent-kafka-connect-jdbc-3.1.2-1.noarch: failure: confluent-kafka-connect-jdbc-3.1.2-1.noarch.rpm from Confluent: [Errno 256] No more mirrors to try.

看起来rpm文件不在合流文档所说的位置。这不是我的互联网连接或任何问题,因为当我改变我的confluent.repo文件指向http://packages.confluent.io/rpm/3.0 除了librdkafka之外,kafka包下载得很好。如果您有任何建议,我们将不胜感激,目前还不知道还有什么可以尝试的。

e0bqpujr

e0bqpujr1#

这看起来是一个暂时的小故障,并已解决(如果没有,请报告。)
另外:您可能希望将此类问题报告给confluent的邮件列表,在该列表中,对于此类问题的响应时间通常比堆栈溢出时更快:https://groups.google.com/forum/?pli=1#!论坛/汇合平台

相关问题