my nodemanager stops after starting

2017-02-25T13:57:27

NodeManager in my slave node stops after starting. I have 3 node 1 master and 2 slaves when I use command start-yarn.sh my resourcemanager and nodemanagers start correctly but when I query in hive my mapreduce dont start running and stops at kill command when I check my nodemanager logs in both slaves I just saw that my nodemanagers are shutdown and this is my error:

FATAL org.apache.hadoop.yarn.server.nodemanager.NodeManager: Error starting NodeManager 
      org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.ConnectException: 
      Call From  to 0.0.0.0:8031 failed on connection exception: java.net.ConnectException: 
      Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

I have searched for this problem and I did not find any clue. How to solve this?

Thanks

Copyright License:
Author:「hiveuser」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/42452521/my-nodemanager-stops-after-starting

About “my nodemanager stops after starting” questions

NodeManager in my slave node stops after starting. I have 3 node 1 master and 2 slaves when I use command start-yarn.sh my resourcemanager and nodemanagers start correctly but when I query in hive my
I change some configuration and need to restart nodemanager. I get the following error message: Error starting NodeManager java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no
I have compiled the hadoop binaries on windows x64 machine.. I also built the native source in the path hadoop-2.6.0-src.tar\hadoop-2.6.0-src\hadoop-2.6.0-src\hadoop-common-project\hadoop-common\sr...
I am setting up a single node cluster. I am following the https://dev.to/awwsmm/installing-and-running-hadoop-and-spark-on-ubuntu-18-393h tutorial. However, My nodemanager is not starting. 14468
In my 2 node cluster, when I try to run /start-yarn.sh it starts NodeManager on both master and slave nodes. But, in slave node, it gets killed after some time. Here is what is found in log file: ...
I am trying to setup the latest Hadoop 2.2 single node cluster on Ubuntu 13.10 64 bit. the OS is a fresh installation, and I have tried using both java-6 64 bit and java-7 64 bit. After following ...
i am using hadoop and it was working fine. but today when i restarted the server, now jps command is showing something like 9801 NameNode 12142 Jps 10207 SecondaryNameNode i have reconfigured the...
I am facing an issue from past few days, If I use Hadoop 2.7.4, I am not able to start nodemanager's at slaves with this version, because of this I can't run any mapred jobs. When I use Hadoop 2....
I have Hadoop 2.7.4 installed on Ubuntu 16.04. I'm trying to run it in Pseudo Mode. I have a '/hadoop' partition mounted for all my hadoop files, NameNode and DataNode files. My core-site.xml is: ...
I'm trying to start a YARN NodeManager on my CDH 5.2.0 cluster using Cloudera Manager. All the other live nodes in the system started fine with the configuration in Cloudera Manager, but one node r...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.