Runing Oozie Examples on MapR Hits ErrorCode [JA002]

Document created by mufeed Employee on Feb 13, 2016
Version 1Show Document
  • View in full screen mode

Author: Mufeed Usman

 

Original Publication Date: February 17, 2015

 

Symptom:

Oozie fails with the following event registered in the oozie.log file.

Oozie job submission throwing the following error,  
ErrorCode [JA002], Message [JA002: User: mapr is not allowed to impersonate root]

 

Root Cause:

Improper configuration in place for Oozie impersonation will cause this to surface.

 

Solution:

Have the following configured on all the nodes and restart Warden to resolve the issue. By using '*' in the example below for the properties hadoop.proxyuser.mapr.hosts and hadoop.proxyuser.mapr.groups we're granting impersonation requests initiated from any hosts and also by users belonging to any groups respectively. To restrict it to specific hosts or user groups refer http://doc.mapr.com/display/MapR/Working+with+Oozie for more details.

 

vi /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/core-site.xml

 

<property>

<name>hadoop.proxyuser.mapr.hosts</name>

<value>*</value>

</property>

 

<property>

<name>hadoop.proxyuser.mapr.groups</name>

<value>*</value>

</property>

Attachments

    Outcomes