Why does Yarn ResourceManager always shutdown as I submit a job?

499 Views Asked by At

I am now learning how to build a Hadoop cluster and the first step is to try a Pseudo-Distributed cluster following the guide of https://hadoop.apache.org/docs/r3.3.1/hadoop-project-dist/hadoop-common/SingleCluster.html#Pseudo-Distributed_Operation. And I succeeded to start yarn by call $HADOOP_HOME/sbin/start-dfs.sh and $HADOOP_HOME/sbin/start-yarn.sh. The output of jps is

enter image description here

However, if I submit a job, which does nothing though, the ResouceManager shutdown immediately.

bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.1.jar wordcount input output The output of console is output of console and the log is log of resourcemanager

The result of strace to ResoruceManager is

+++ killed by SIGKILL +++

I struggled days and have not figured it out. Any insight advice would be welcome.

Oh I forgot to leave the version:

  • Hadoop 3.3.1
  • WSL: 2, Ubuntu 20.04
  • Windows 11: 22518.1000
0

There are 0 best solutions below