Runing Oozie Examples on MapR Hits ErrorCode [JA002]

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

Author: Mufeed Usman


Original Publication Date: February 17, 2015



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.



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 for more details.


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