gpt4 book ai didi

security - 如何从命令行向 Hadoop 进行身份验证?删除 `ls: SIMPLE authentication is not enabled` 错误

转载 作者:可可西里 更新时间:2023-11-01 15:11:08 26 4
gpt4 key购买 nike

我正在 Hadoop 集群上设置 Kerberos 身份验证。在集群外的一台机器上,每当我执行 hadoop fs -ls 时,我都会收到以下消息:ls: SIMPLE authentication is not enabled。可用:[TOKEN, KERBEROS],这很好,因为这就是我想要的。但现在我的问题是,我如何真正成功地执行该命令?我知道如果我不进行身份验证我将无法继续,但我如何从命令行进行身份验证?

最佳答案

尝试以下步骤

服务器

kadmin.local
addprinc user@realm.com

客户端

kinit user@realm.com

klist 查看主体

关于security - 如何从命令行向 Hadoop 进行身份验证?删除 `ls: SIMPLE authentication is not enabled` 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39499720/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com