登录到Hue时接收相同错误的多个
GSSError: (('Unspecified GSS failure. Minor code may provide more information', 851968),
('No Kerberos credentials available (default cache: /var/run/hue/hue_krb5_ccache)hue.ini配置为Kerberos
[[kerberos]]
hue_keytab=/etc/security/keytabs/hue.keytab
hue_principal=hue/_HOST@REALM
[beeswax]
auth_username=hue
use_sasl=true
[hadoop]
[[hdfs_clusters]]
[[[default]]]
security_enabled=true
[[yarn_clusters]]
[[[default]]]
# Change this if your YARN cluster is Kerberos-secured
security_enabled=trueHue作为hue用户运行,并访问配置中引用的凭据缓存目录和keytab。
发布于 2020-03-06 00:10:58
接收到此错误可能意味着kt_renewer服务没有运行。
这意味着kinit没有被执行,也没有存储用于Hue的凭据。
凭证缓存
默认情况下,Hue (4.6)将Kerberos凭据缓存在以下文件中:/var/run/hue/hue_krb5_ccache
若要验证是否缓存了任何凭据,可以使用klist
klist "/var/run/hue/hue_krb5_ccache"
Ticket cache: FILE:/var/run/hue/hue_krb5_ccache
Default principal: hue/_HOST@REALM
Valid starting Expires Service principal
03/05/2020 16:06:38 03/06/2020 16:06:38 krbtgt/_HOST@REALMkt_renewer
您还应该手动执行更新程序,以查看它是否引发任何错误,例如权限问题。
Run kt_renewer
/opt/hue/build/env/bin/hue kt_renewerhttps://stackoverflow.com/questions/60555777
复制相似问题