wget + 下载 ambari tar ball

问题描述

我们正在尝试下载 ambari 版本 2.6.1 但没有成功(根据 https://docs.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDF3/HDF-3.1.1/bk_installing-hdf-on-hdp-p..。)

wget http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.6.1.0
--2021-02-16 14:44:08-- http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.6.1.0
Resolving public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)... 13.225.255.100,13.225.255.128,13.225.255.124,...
Connecting to public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)|13.225.255.100|:80... connected.
HTTP request sent,awaiting response... 403 Forbidden
2021-02-16 14:44:09 ERROR 403: Forbidden.

知道为什么我们得到 ERROR 403: Forbidden 吗?

为什么我们不能从 hortonworks 站点下载 ambari 版本?

注意 - 但我们可以从其他网站下载

wget http://archive.apache.org/dist/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz

--2021-02-16 14:41:07--  http://archive.apache.org/dist/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz
Resolving archive.apache.org (archive.apache.org)... 138.201.131.134,2a01:4f8:172:2ec5::2
Connecting to archive.apache.org (archive.apache.org)|138.201.131.134|:80... connected.
HTTP request sent,awaiting response... 200 OK
Length: 131359986 (125M) [application/x-gzip]
Saving to: ‘apache-ambari-2.6.1-src.tar.gz’

100%[===================================================================================================================================================>] 131,359,986 12.6MB/s   in 10s

解决方法

hortonworks/cloudera 已关闭其存储库,自 2021 年 1 月 31 日起,他们不再提供未经许可/订阅的二进制文件。

,

Ambari 和 HDP 仍然非常耦合。即使您从源代码构建 ambari,HDP 仍然存在于 /var/lib/ambari-server/resources/stacks/ 中。在安装向导中,您必须提供一个堆栈结构,告诉 ambari 使用哪些版本。 Hortonworks 或 Cloudera 存储库的 ambari 的 HDP 版本已经包含 HDP 堆栈。

,

这里有开放版本:https://makeopensourcegreatagain.com/rpms/

有关于它的堆栈线程:How to build deb/rpm repos from open source Hadoop or publicly available HDP source code to be installed by ambari