gpt4 book ai didi

hadoop - 普通身份验证失败 : User yarn is not configured for any impersonation. impersonationUser:alluxio mapreduce 中的 root

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

Caused by: org.apache.thrift.transport.TTransportException: Plain authentication failed: User yarn is not configured for any impersonation .模拟用户:root

当我使用 alluxio 在本地运行 wordcount 程序时它工作正常。我也通过了集成测试,但是当我使用 alluxio 客户端 jar 运行相同的 Hadoop 程序时它给我一个错误

bin/hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar wordcount -libjars /usr/lib/hadoop-mapreduce/alluxio-1.8.1-client.jar alluxio://172.17.0.2:19998/wordcount/input.txt alluxio://172.17.0.2:19998/wordcount/output

Error: alluxio.exception.status.UnavailableException: Failed to connect to FileSystemMasterClient @ quickstart.cloudera/172.17.0.2:19998 after 44 attempts

最佳答案

解决了alluxio也需要在alluxio-site.properties set中模拟

alluxio.master.security.impersonation.root.users=*
alluxio.master.security.impersonation.root.groups=*
alluxio.master.security.impersonation.client.users=*
alluxio.master.security.impersonation.client.groups=*
alluxio.security.login.impersonation.username=none

关于hadoop - 普通身份验证失败 : User yarn is not configured for any impersonation. impersonationUser:alluxio mapreduce 中的 root,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52810985/

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