普通身份验证失败:没有为任何模拟配置用户impersonationuser:alluxio mapreduce的根目录

fdx2calv  于 2021-06-01  发布在  Hadoop
关注(0)|答案(1)|浏览(427)

原因:org.apache.thrift.transport.ttTransportException:普通身份验证失败:未为任何模拟配置用户。impersonationuser:根
当我用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

错误:alluxio.exception.status.unavailableexception:尝试44次后未能连接到filesystemmasterclient@quickstart.cloudera/172.17.0.2:19998

hiz5n14c

hiz5n14c1#

解决alluxio还需要在 alluxio-site.properties 设置

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

相关问题