Unable to start YARN daemons Error Could not find or load main class org apache hadoop yarn server resourcemanager ResourceManager

0 votes
Error: Could not find or load main class org.apache.hadoop.yarn.server.resourcemanager.ResourceManager

Installation process was smooth until I started YARM daemons. I see the above error while running the command. Can anyone help me on this please?
Nov 6, 2020 in Big Data Hadoop by Akshitha
• 120 points
509 views

2 answers to this question.

0 votes
Hey, @Akshitha,

Did you use start-all.sh command to start all your commands?

Try to stop them first with stop-dfs.sh and stop-yarn.sh
answered Nov 6, 2020 by Gitika
• 65,950 points
0 votes

Hi@Akshitha,

This seems like a path issue. you can add the following to your .bashrc file.

export HADOOP_CLASSPATH=$(cygpath -pw $(hadoop classpath)):$HADOOP_CLASSPATH
answered Nov 9, 2020 by MD
• 95,300 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hadoop: Error: Could not find or load main class org.apache.hadoop.util.VersionInfo

This seems like a path issue. Add the ...READ MORE

answered Nov 16, 2018 in Big Data Hadoop by Omkar
• 69,170 points
8,976 views
+1 vote
1 answer
0 votes
1 answer

Hadoop Mapreduce: Error: Could not find or load main class com.sun.tools.javac.Main

You have to add HADOOP_CLASSPATH environment parameter: expor ...READ MORE

answered Oct 30, 2018 in Big Data Hadoop by Omkar
• 69,170 points
2,017 views
0 votes
1 answer

Hadoop: Error: Could not find or load main class com.sun.tools.javac.Main

It looks like the path is not ...READ MORE

answered Nov 29, 2018 in Big Data Hadoop by Omkar
• 69,170 points
2,800 views
+2 votes
1 answer

windows 10 C:\Users\mk>hadoop -version output:- Error: Could not find or load main class P.

Hey, I guess the error you are facing ...READ MORE

answered May 10, 2019 in Big Data Hadoop by Gitika
• 65,950 points
1,381 views
0 votes
1 answer

Format HDFS Namenode Error: Could not find or load main class ”-Djava.library.path=.home.hadoop.hadoop-3.2.1.lib.native”

Hi@fwood, According to your configuration, you didn't set ...READ MORE

answered Jun 12, 2020 in Big Data Hadoop by MD
• 95,300 points
4,119 views
0 votes
1 answer

Hadoop MacOS: formatting namenode: Could not find or load main class

You need to point the HADOOP_PREFIX to ...READ MORE

answered Nov 13, 2018 in Big Data Hadoop by Omkar
• 69,170 points
487 views