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]
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 http://doc.mapr.com/display/MapR/Working+with+Oozie for more details.