我正在尝试从 Ambari 控制台将新的 DataNode 添加到正在运行的集群中。主机>操作>添加新主机。
提供datanode的FQDN>SSH私钥>用户root>22>注册并确认。它因以下日志而失败。请帮助
=========================== 正在创建目标目录...
命令开始时间 2021-04-21 07:29:50 chmod: cannot access '/var/lib/ambari-agent/data': No such file or directory
与 IP.compute.internal 的连接已关闭。SSH命令执行完毕host=IP.compute.internal,exitcode=0命令结束时间2021-04-21 07:29:51
=========================== 正在复制 ambari sudo 脚本...
命令开始时间 2021-04-21 07:29:51
scp /var/lib/ambari-server/ambari-sudo.sh host=IP.compute.internal, exitcode=0 命令结束时间 2021-04-21 07:29:51
=========================== 复制常用功能脚本...
命令开始时间 2021-04-21 07:29:51
scp /usr/lib/ambari-server/lib/ambari_commons host=IP.compute.internal, exitcode=0 命令结束时间 2021-04-21 07:29:52
=========================== 正在复制 create-python-wrap 脚本...
命令开始时间 2021-04-21 07:29:52
scp /var/lib/ambari-server/create-python-wrap.sh host=IP.compute.internal, exitcode=0 命令结束时间 2021-04-21 07:29:52
=========================== 正在复制操作系统类型检查脚本...
命令开始时间 2021-04-21 07:29:52
scp /usr/lib/ambari-server/lib/ambari_server/os_check_type.py host=IP.compute.internal, exitcode=0 命令结束时间 2021-04-21 07:29:53
=========================== 运行 create-python-wrap 脚本...
命令开始时间 2021-04-21 07:29:53
与 IP.compute.internal 的连接已关闭。SSH命令执行完毕host=IP.compute.internal,exitcode=0命令结束时间2021-04-21 07:29:53
=========================== 正在运行操作系统类型检查...
命令开始时间 2021-04-21 07:29:53 集群主/集群操作系统系列为 redhat7,本地/当前操作系统系列为 redhat7
与 IP.compute.internal 的连接已关闭。SSH命令执行完毕host=IP.compute.internal,exitcode=0命令结束时间2021-04-21 07:29:53
=========================== 检查远程主机上的“sudo”包...
命令开始时间 2021-04-21 07:29:53
与 IP.compute.internal 的连接已关闭。SSH命令执行完毕host=IP.compute.internal,exitcode=0命令结束时间2021-04-21 07:29:53
=========================== 正在将 repo 文件复制到 'tmp' 文件夹...
命令开始时间 2021-04-21 07:29:53
scp /etc/yum.repos.d/ambari.repo host=IP.compute.internal, exitcode=0 命令结束时间 2021-04-21 07:29:54
=========================== 将文件移动到回购目录...
命令开始时间 2021-04-21 07:29:54
与 IP.compute.internal 的连接已关闭。SSH命令执行完毕host=IP.compute.internal, exitcode=0 命令结束时间2021-04-21 07:29:54
=========================== 更改 ambari.repo 的权限...
命令开始时间 2021-04-21 07:29:54
与 IP.compute.internal 的连接已关闭。SSH命令执行完毕host=IP.compute.internal, exitcode=0 命令结束时间2021-04-21 07:29:54
=========================== 正在复制安装脚本文件...
命令开始时间 2021-04-21 07:29:54
scp /usr/lib/ambari-server/lib/ambari_server/setupAgent.py host=IP.compute.internal, exitcode=0 命令结束时间 2021-04-21 07:29:55
=========================== 正在运行安装代理脚本...
命令开始时间 2021-04-21 07:29:55 http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml : [Errno 14 ] HTTP 错误 403 - 禁止尝试其他镜像。要解决此问题,请参阅以下 wiki 文章
https://wiki.centos.org/yum-errors
如果以上文章不能帮助解决这个问题,请使用https://bugs.centos.org/。
配置的存储库之一失败(ambari 版本 - ambari-2.7.0.0),并且 yum 没有足够的缓存数据来继续。在这一点上,yum 能做的唯一安全的事情就是失败。有几种方法可以“解决”这个问题:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=ambari-2.7.0.0 ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable ambari-2.7.0.0
or
subscription-manager repos --disable=ambari-2.7.0.0
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=ambari-2.7.0.0.skip_if_unavailable=true
失败:来自 ambari-2.7.0.0 的 repodata/repomd.xml:[Errno 256] 没有更多镜像可以尝试。 http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml:[Errno 14] HTTP 错误 403 - 禁止 http://public-repo -1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml:[Errno 14] HTTP 错误 403 - 禁止尝试其他镜像。要解决此问题,请参阅以下 wiki 文章
https://wiki.centos.org/yum-errors
如果以上文章不能帮助解决这个问题,请使用https://bugs.centos.org/。
配置的存储库之一失败(ambari 版本 - ambari-2.7.0.0),并且 yum 没有足够的缓存数据来继续。在这一点上,yum 能做的唯一安全的事情就是失败。有几种方法可以“解决”这个问题:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=ambari-2.7.0.0 ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable ambari-2.7.0.0
or
subscription-manager repos --disable=ambari-2.7.0.0
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=ambari-2.7.0.0.skip_if_unavailable=true
失败:来自 ambari-2.7.0.0 的 repodata/repomd.xml:[Errno 256] 没有更多镜像可以尝试。 http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml:[Errno 14] HTTP 错误 403 - 禁止所需版本 (2.7.0.0) ambari-agent 包不可用。
与 IP.compute.internal 的连接已关闭。SSH命令执行完毕 host=IP.compute.internal, exitcode=1 命令结束时间 2021-04-21 07:29:59
错误:主机 IP.compute.internal 的引导失败,因为先前的操作以非零退出代码完成 (1) 错误消息:与 IP.compute.internal 的连接已关闭。
标准输出:http ://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml:[Errno 14] HTTP 错误 403 - 禁止尝试其他镜像。要解决此问题,请参阅以下 wiki 文章
https://wiki.centos.org/yum-errors
如果以上文章不能帮助解决这个问题,请使用https://bugs.centos.org/。
配置的存储库之一失败(ambari 版本 - ambari-2.7.0.0),并且 yum 没有足够的缓存数据来继续。在这一点上,yum 能做的唯一安全的事情就是失败。有几种方法可以“解决”这个问题:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=ambari-2.7.0.0 ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable ambari-2.7.0.0
or
subscription-manager repos --disable=ambari-2.7.0.0
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=ambari-2.7.0.0.skip_if_unavailable=true
失败:来自 ambari-2.7.0.0 的 repodata/repomd.xml:[Errno 256] 没有更多镜像可以尝试。 http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml:[Errno 14] HTTP 错误 403 - 禁止 http://public-repo -1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml:[Errno 14] HTTP 错误 403 - 禁止尝试其他镜像。要解决此问题,请参阅以下 wiki 文章
https://wiki.centos.org/yum-errors
如果以上文章不能帮助解决这个问题,请使用https://bugs.centos.org/。
配置的存储库之一失败(ambari 版本 - ambari-2.7.0.0),并且 yum 没有足够的缓存数据来继续。在这一点上,yum 能做的唯一安全的事情就是失败。有几种方法可以“解决”这个问题:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=ambari-2.7.0.0 ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable ambari-2.7.0.0
or
subscription-manager repos --disable=ambari-2.7.0.0
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=ambari-2.7.0.0.skip_if_unavailable=true
失败:来自 ambari-2.7.0.0 的 repodata/repomd.xml:[Errno 256] 没有更多镜像可以尝试。 http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.0.0/repodata/repomd.xml:[Errno 14] HTTP 错误 403 - 禁止所需版本 (2.7.0.0) ambari-agent 包不可用。
与 IP.compute.internal 的连接已关闭。