Kerberos 设置给 Storm UI 错误

Kerberos setup giving error with Storm UI

我已经为 Apache Storm 使用 Active Directory 设置了 Kerberos 身份验证。 Supervisor 和 Nimbus 守护进程在 kerberos 设置后 运行 正常。 在 storm.yaml 文件中添加以下行:

ui.filter: "org.apache.hadoop.security.authentication.server.AuthenticationFilter"
ui.filter.params : {‘type’: ‘kerberos’,
                    ‘kerberos.principal’: ‘HTTP/ui.host.abc.com@XYZ.COM’,
                    ‘kerberos.keytab’: ‘/etc/security/keytabs/HTTP.keytab’,
                    ‘kerberos.name.rules’: ‘DEFAULT’}

在日志中出现以下错误:

Failed to login as [HTTP@DOMAIN.COM]
javax.security.auth.login.LoginException: No key to store
    org.apache.hadoop.security.authentication.client.AuthenticationException:
    javax.security.auth.login.LoginException: No key to store

我检查了HTTP.keytab。权限是正确的,并且它不是空的,具有有效的主体。

我什至可以在机器上使用 HTTP 用户进行 ssh 登录。

没有关于 Kerberos 与 Storm 集成的适当文档来讨论此问题。任何帮助将不胜感激。

原来是打错了。 必须将 HTTP/DOMAIN.COM 替换为主要占位符中的 HTTP@DOMAIN.COM。