Reputation: 379
I am new to oozie and was following this for my first oozie hive job. As per given in tutorial ,i made following files in a directory:
hive-default.xml
hive_job1.hql
job.properties
But when i run this command:
oozie job -oozie http://localhost:11000/ -config /home/ec2-user/ankit/oozie_job1/job.properties -submit
I get following error:
Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, Authentication failed, status: 404, message: Not Found
I tried finding solution for this on internet ,but none solved the problem.(Might have missed something)
Please let me know where i am going wrong and what additional information will be required more from my side to understand the problem.
Upvotes: 0
Views: 9780
Reputation: 13402
The error is because of the incorrect value for -oozie
parameter. You forgot to add the oozie
in the end. It should be -oozie http://localhost:11000/oozie
oozie job -oozie http://localhost:11000/oozie -config /home/ec2-user/ankit/oozie_job1/job.properties -submit
Upvotes: 3
Reputation: 20830
Please try setting following properties in core-site.xml:
<property>
<name>hadoop.proxyuser.oozie.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.oozie.groups</name>
<value>*</value>
</property>
where *
represents to all users.
Restart the hadoop cluster after making above changes.
Upvotes: 1