Skip to content

All attempts fail with ClassNotFoundException #39

@hadimansouri

Description

@hadimansouri

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions