linh 发表于 2015-11-11 12:12:53

org.apache.hadoop.ipc.RemoteException: User: root is not allowed to impersonate

解决方案:
在core-site.xml添加如下属性,其中hadoop.proxyuser.root.groups中的root是用户,value里面的root是group
<property>
      <name>hadoop.proxyuser.root.groups</name>
      <value>root</value>
      <description>Allow the superuser oozie to impersonate any members of the group group1 and group2</description>
</property>

<property>
      <name>hadoop.proxyuser.root.hosts</name>
      <value>localhost</value>
      <description>The superuser can connect only from host1 and host2 to impersonate a user</description>
</property>
页: [1]
查看完整版本: org.apache.hadoop.ipc.RemoteException: User: root is not allowed to impersonate