Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Caused by: java.io.IOException: Cannot initialize Cluster.
Labels:
- Labels:
-
Apache Accumulo
-
MapReduce
Explorer
Created on ‎08-15-2017 05:22 AM - edited ‎09-16-2022 05:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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: java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses. at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:120) at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82) at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75) at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1267) at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1263) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1692) at org.apache.hadoop.mapreduce.Job.connect(Job.java:1262) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1291) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1315)
Any clues on how to troubleshoot?
1 REPLY 1
Mentor
Created ‎09-06-2017 12:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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: https://www.cloudera.com/documentation/enterprise/latest/topics/cm_intro_primer.html#concept_fgj_tny...
Also ensure your submitting host has a YARN+MR2 gateway deployed on it: https://www.cloudera.com/documentation/enterprise/latest/topics/cm_intro_primer.html#concept_fgj_tny...
