Reply
psy
Explorer
Posts: 16
Registered: ‎06-16-2014

HadoopAccessorException: E0900: Jobtracker [hostname:8021] not allowed, not in Oozie

I have a cluster installed using Cloudera manager. Initially Oozie Mapreduce property is set to use mapreduce but when I configure oozie to use Yarn and sumbit the job, I'm getting the below error

 

HadoopAccessorException: E0900: Jobtracker [hostname:8021] not allowed, not in Oozies whitelist

 

What all the configurations changes to be made so that oozie will start submitting the job to YARN?

 

Thanks for the help

New Contributor
Posts: 9
Registered: ‎06-28-2014

Re: HadoopAccessorException: E0900: Jobtracker [hostname:8021] not allowed, not in Oozie

Yarn Jobtracker has a different Port then MRv1. Default is 8032 not 8021.

 

Property is "yarn.resourcemanager.address "

psy
Explorer
Posts: 16
Registered: ‎06-16-2014

Re: HadoopAccessorException: E0900: Jobtracker [hostname:8021] not allowed, not in Oozie

Yes, that property is set to 8032. Oozie reading the Mapreduce configuations not the yarn configuration.

New Contributor
Posts: 9
Registered: ‎06-28-2014

Re: HadoopAccessorException: E0900: Jobtracker [hostname:8021] not allowed, not in Oozie

You are using MRv1 and Yarn parallel on the same cluster?

 

You can set this with your oozie job config:

 

<property>
    <name>jobTracker</name>
    <value>hostname:8032</value>
</property>

psy
Explorer
Posts: 16
Registered: ‎06-16-2014

Re: HadoopAccessorException: E0900: Jobtracker [hostname:8021] not allowed, not in Oozie

[ Edited ]

How can I make Oozie automatically submit all the jobs to yarn, rather than specifying it in each workflow. In oozie configurations mapreduce property is set to yarn, but it is submitting job to MR1

Announcements