My Oracle Support Banner

Oozie Jobs Raise "JA009: Cannot initialize Cluster. Please check your configuration for" on BDA V3.0 (Doc ID 1910911.1)

Last updated on MAY 16, 2022

Applies to:

Big Data Appliance Integrated Software - Version 3.0 and later


NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner. 


Running oozie jobs in Hue, on a Client/Edge server, or on the command line of a BDA raises:

2014-07-13 21:50:54,712 WARN
SERVER[] USER[<user>] GROUP[-] TOKEN[] APP[<app_name>]
JOB[0000005-140711162913661-oozie-oozi-W] ACTION[0000005-140711162913661-oozie-oozi-W@hive-node]
Error starting action [hive-node]. ErrorType [TRANSIENT], ErrorCode [JA009],
Message [JA009: bad conf file: top-level element not <configuration>]
org.apache.oozie.action.ActionExecutorException: JA009: bad conf file: top-level
element not <configuration>
at org.apache.oozie.action.ActionExecutor.convertExceptionHelper(
at org.apache.oozie.action.ActionExecutor.convertException(
at org.apache.oozie.action.hadoop.JavaActionExecutor.setupActionConf(
org.apache.oozie.action.ActionExecutorException: JA009: Cannot initialize Cluster.
Please check your configuration for and the correspond server addresses.
    at org.apache.oozie.action.ActionExecutor.convertExceptionHelper(
    at org.apache.oozie.action.ActionExecutor.convertException(
    at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(
    at org.apache.oozie.action.hadoop.JavaActionExecutor.start(
    at org.apache.oozie.service.CallableQueueService$
    at org.apache.oozie.service.CallableQueueService$
    at org.apache.oozie.service.CallableQueueService$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$


Debugging Tips for JA009 on BDA 3.0.1/CDH 5.0.*

Since the error states:  "Please check your configuration for and the correspond server addresses", some additional debugging tips are:

1. In Cloudera Manager (CM) verify the property in the mapred-site.xml for the Oozie service:

a) Navigate to the mapred-site.xml and check it.
home > oozie > Instances >  select 'Any Role Type': Oozie Server > Check the oozie_server (node 4) > Processes > expand Show > check  mapred-site.xml (yarn-conf/mapred-site.xml)

b) Verify that the property in mapred.xml supports YARN. Since mapred-site.xml applies to all MapReduce jobs an incorrect setting could cause the reported error.

The setting for BDA 3.0.1/CDH 5.0.1 is:


2. On Node 4 of the cluster, the Oozie Server, as 'root' user, grep for "HADOOP_MAPRED_HOME" in /var/log/oozie/oozie-instrumentation.log.

# grep HADOOP_MAPRED_HOME /var/log/oozie/oozie-instrumentation.log*

The expected output for BDA V3.0.1/CDH 5.0.* with a YARN implementation is like:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Debugging Tips for JA009 on BDA 3.0.1/CDH 5.0.*

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.