0

我正在按照此 wiki 文档中链接的说明在运行 amazon linux(版本 2016.09)的 EC2 实例上安装融合平台。我做了它所说的一切,包括:

$ 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时,kafka 包下载得很好,除了librdkafka。任何建议将不胜感激,不知道此时还有什么可以尝试的。

4

1 回答 1

1

这似乎是一个暂时的故障,此后已得到解决。(如果没有,请反馈。)

另外:您可能希望将此类问题报告给 Confluent 的邮件列表,对于此类问题,您通常可以获得比 Stack Overflow 更快的响应时间: https ://groups.google.com/forum/?pli=1#!forum/confluent -平台

于 2017-01-23T07:37:18.377 回答