Getting below error Message with Oozie in Edureka VM:
[edureka@localhost oozie-4.0.0]$ oozie job -oozie http://localhost:11000/oozie -config /home/edureka/Desktop/LMS/Oozie/WordCountTest/job.properties -run
Error: E0501 : E0501: Could not perform authorization operation, User: edureka is not allowed to impersonate edureka
The above error indicates that User Edureka is not authorized to run Oozie job.
Before we proceed further make sure that the oozie is running.
We can check if Oozie is running or not by opening Mozilla Firefox browser in the Edureka VM, and give the
Start the Oozie with the help of below steps:
- Change your directory to oozie
Command: cd /usr/lib/oozie-4.0.0
Start the oozie :
To overcome the above error, please follow the below steps:
While running a job in Oozie, we need to be as oozie user. Please use the below command to login as oozie user.
Command: sudo su - oozie
After you login as oozie user, try to run oozie jobs and check.
Please feel free to revert if you need any further help