Plain authentication failed: User yarn is not configured for any impersonation. impersonationUser: root in alluxio mapreduce

▼魔方 西西 提交于 2019-12-24 10:59:20

问题


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:


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


来源:https://stackoverflow.com/questions/52810985/plain-authentication-failed-user-yarn-is-not-configured-for-any-impersonation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!