Support Questions
Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

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?


Master Guru
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: