Posts: 8
Registered: ‎05-18-2015

Caused by: Cannot initialize Cluster.

My cluster is all configured and managed with Cloudera Express.


I am trying to run a new job on accumulo and get this error.


Caused by: Cannot initialize Cluster. Please check your configuration for and the correspond server addresses.
	at org.apache.hadoop.mapreduce.Cluster.initialize(
	at org.apache.hadoop.mapreduce.Cluster.<init>(
	at org.apache.hadoop.mapreduce.Cluster.<init>(
	at org.apache.hadoop.mapreduce.Job$
	at org.apache.hadoop.mapreduce.Job$
	at Method)
	at org.apache.hadoop.mapreduce.Job.connect(
	at org.apache.hadoop.mapreduce.Job.submit(
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(

Any clues on how to troubleshoot?

Posts: 1,903
Kudos: 435
Solutions: 305
Registered: ‎07-31-2013

Re: Caused by: Cannot initialize Cluster.

How are you invoking your job? Do you use 'hadoop jar …' to invoke your jar, or are you triggering it with a more raw 'java -cp …' style CLI? If the latter, ensure you also pass the directory '/etc/hadoop/conf/' as an early element on your -cp/CLASSPATH-env.

Also ensure your submitting host has a YARN+MR2 gateway deployed on it: