Plain authentication failed: User yarn is not conf

2019-07-23 06:38发布

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

It works fine when I run wordcount program locally with alluxio . I also passed the integration test but when I run the same Hadoop program with alluxio client jar it gives me an error

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

1条回答
我想做一个坏孩纸
2楼-- · 2019-07-23 07:25

Solved alluxio also needs an impersonation in 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
查看更多
登录 后发表回答