尝试使用 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"

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

问题描述

我正在按照 this 中链接的说明进行操作wiki doc 在我运行 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 的邮件列表报告此类问题,在那里您通常会比 Stack Overflow 获得更快的响应时间: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天全站免登陆