0

我已经从 Ambari 2.7.2 启用了 Kerberos,并测试了来自 Kafka 和 HBase 的身份验证。现在我尝试安装 Apache Ranger 进行授权。使用基于 Unix 的 Mysql DB。ranger admin 已安装,但 ranger user-sync 未安装。我在 Ambari UI 中遇到错误。

RuntimeError: Failed to execute command '/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install ranger-3-1-0-0-78-admin', exited with code '100', message: 'E: Failed to fetch http://public-repo-1.hortonworks.com/HDP/ubuntu16/3.x/updates/3.1.0.0/pool/main/r/ranger/ranger-3-1-0-0-78-admin_1.2.0.3.1.0.0-78_all.deb  403  Forbidden

E: 无法获取一些档案,可能运行 apt-get update 或尝试使用 --fix-missing?

在 Ambari 审核日志中,我收到以下错误

2019-07-15T12:19:54.906+0530, User(admin), Operation(CUSTOM_COMMAND RANGER_USERSYNC), Details(RESTART RANGER/RANGER_USERSYNC), Status(ABORTED), RequestId(205), TaskId(969), Hostname(HOSTNAME)
2019-07-15T12:20:28.121+0530, User(admin), RemoteIp(192.168.14.203), Operation(INSTALLED: RANGER_USERSYNC/RANGER on HOSTNAME (TrinityHub)), Host name(HOSTNAME), RequestId(206), Status(Successfully queued)
2019-07-15T12:20:28.128+0530, User(admin), Operation(Install Ranger Usersync), Status(IN_PROGRESS), RequestId(206)
2019-07-15T12:20:28.128+0530, User(admin), Operation(INSTALL RANGER_USERSYNC), Status(QUEUED), RequestId(206), TaskId(970), Hostname(HOSTNAME)
2019-07-15T12:21:09.870+0530, User(admin), Operation(Install Ranger Usersync), Status(FAILED), RequestId(206)
2019-07-15T12:21:09.870+0530, User(admin), Operation(INSTALL RANGER_USERSYNC), Status(FAILED), RequestId(206), TaskId(970), Hostname(HOSTNAME)
2019-07-15T12:21:10.339+0530, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Preparing Operations), Status(ABORTED), RequestId(206), TaskId(971), Hostname(null)
2019-07-15T12:21:10.339+0530, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(CHECK_KEYTABS KERBEROS/KERBEROS_CLIENT), Status(ABORTED), RequestId(206), TaskId(972), Hostname(HOSTNAME)
4

0 回答 0