【问题标题】:Trying to install confluent platform (kafka) 3.1.1 on aws linux using yum. Getting PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"尝试使用 yum 在 aws linux 上安装融合平台 (kafka) 3.1.1。获取 PYCURL 错误 22 -“请求的 URL 返回错误:404 未找到”
【发布时间】:2017-01-23 15:37:18
【问题描述】:

我正在按照this wiki doc 中链接的说明在我的运行 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。任何建议都将不胜感激,目前不知道还有什么可以尝试的。

【问题讨论】:

    标签: amazon-web-services apache-kafka rpm yum confluent-platform


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2017-11-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-05
      • 2021-03-31
      • 2018-09-05
      • 1970-01-01
      相关资源
      最近更新 更多