AnsweredAssumed Answered

Oozie - can not impersonate different user

Question asked by rubenswise on Nov 27, 2013
Latest reply on Dec 6, 2013 by rubenswise
Hi,

i have an oozie instance (3.3.2) running with mapr user (the hadoop cluster management user).

i'm trying to schedule an oozie workflow, composed by a java MapReduce Job that has to run with a different user (wfuser).
from the mapr user, for security reasons, it is not possible to do sudo -u wfuser.

When oozie starts the workflow i received the following error:

> JA009: Can not impersonate different user

i tryed to add some "impersonation configuration" on oozie-site.xml:

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.mapr.hosts</name>
        <value>*</value>
        <description>
        </description>
    </property>

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.mapr.groups</name>
        <value>*</value>
        <description>
        </description>
    </property>

and into core-site.xml

    <property>
        <name>hadoop.proxyuser.mapr.hosts</name>
        <value>*</value>
    </property>

    <property>
         <name>hadoop.proxyuser.mapr.groups</name>
         <value>*</value>
    </property>

but it is not working...
any suggestions?
Thanks in advance.

Outcomes