You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I install mpich2-yarn on a small hadoop cluster with one master and two worker nodes.
All mpi tasks fail with following exception (log from attempts):
Error: A JNI error has occured, please check your installation and try again.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/client/api/async/AMRMClientAsync$CallbackHandler
.
.
.
caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.client.api.async.AMRMClientAsync$CallbackHandler
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
.
.
.
I have set path of all necessary files in share directory of Hadoop to CLASSPATH environment variable of all nodes. Also passphease-less ssh is set between nodes.
Can help me to resolve this problem?
thanks.
The text was updated successfully, but these errors were encountered:
@bfeng
Excuse me to answer so late. I have forget how I solve the problem because I test a lot of methods and now I do not remember what method solved my problem. But I think problem was related to version of mpich that I used.
You should use MPICH with Hidra process manager. I install another version of MPICH (mpich-3.1.4) that Hidra was its default process manager.
I install mpich2-yarn on a small hadoop cluster with one master and two worker nodes.
All mpi tasks fail with following exception (log from attempts):
Error: A JNI error has occured, please check your installation and try again.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/client/api/async/AMRMClientAsync$CallbackHandler
.
.
.
caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.client.api.async.AMRMClientAsync$CallbackHandler
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
.
.
.
I have set path of all necessary files in share directory of Hadoop to CLASSPATH environment variable of all nodes. Also passphease-less ssh is set between nodes.
Can help me to resolve this problem?
thanks.
The text was updated successfully, but these errors were encountered: