org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException)

               

Error: User: hadoop is not allowed to impersonate hadoop

Stack trace for the error was (for debug purposes):
--------------------------------------
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: xx is not allowed to impersonate xx

  Hadoop配置文件 core-site.xml错误
             
 
 
    hadoop.proxyuser.admin.hosts
     *
 

 
   
        hadoop.proxyuser.admin.groups
         *
   

解决方案:将admin改为xx。

PS:集群所有节点都需要配置,配置完成后需要重启节点,否则不生效。

你可能感兴趣的:(大数据)