Apache Ranger无法安装在Kerberos Hadoop集群中

时间:2019-07-15 07:13:14

标签: kerberos ambari apache-ranger

我从Ambari 2.7.2启用了Kerberos,并从Kafka和HBase测试了身份验证。现在,我尝试安装Apache Ranger进行授权。在Unix中使用Mysql DB。已安装Ranger admin,但未安装Ranger用户同步。我在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)

0 个答案:

没有答案