尝试使用yum在AWS Linux上安装融合平台(kafka)3.1.1。收到PYCURL错误22-“请求的URL返回错误:404未找到” [英] 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"

查看:382
本文介绍了尝试使用yum在AWS Linux上安装融合平台(kafka)3.1.1。收到PYCURL错误22-“请求的URL返回错误:404未找到”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm following the instructions linked in this wiki doc to install the confluent platform on my EC2 instance running amazon linux (version 2016.09). I did everything it says including:

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

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

Created /etc/yum.repos.d/confluent.repo with these contents:

[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 。任何建议都将不胜感激,不知道在这一点上还有什么尝试。

It kind of looks like the rpm files just aren't at the location that the confluent docs say they are. It's not a problem with my internet connection or anything because when I change my confluent.repo file to point to http://packages.confluent.io/rpm/3.0 the kafka packages download just fine except for librdkafka. Any suggestions would be greatly appreciated, not sure what else to try at this point.

推荐答案

这似乎是暂时的故障此后已解决。 (否则,请报告。)

This looks to have been a temporary glitch which has been resolved since. (If not, please report back.)

另外:您可能想将这些问题报告给Confluent的邮件列表,与这些问题相比,您通常在此问题上得到更快的响应时间堆栈溢出:
https://groups.google .com / forum /?pli = 1#!forum / confluent-platform

Also: You may want to report such issues to Confluent's mailing list, where you typically get faster response times for such problems than on Stack Overflow: https://groups.google.com/forum/?pli=1#!forum/confluent-platform

这篇关于尝试使用yum在AWS Linux上安装融合平台(kafka)3.1.1。收到PYCURL错误22-“请求的URL返回错误:404未找到”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆