Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All attempts fail with ClassNotFoundException #39

Open
hadimansouri opened this issue Nov 7, 2015 · 2 comments
Open

All attempts fail with ClassNotFoundException #39

hadimansouri opened this issue Nov 7, 2015 · 2 comments

Comments

@hadimansouri
Copy link

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.

@bfeng
Copy link

bfeng commented Feb 29, 2016

@hadimansouri Seems you have solved this issue in Rnet. Could you mention how you have solved it?

@hadimansouri
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants