Hadoop ERRORS

to see oriartical with pictures

  1. format namenode fail
    check:
    1)if /etc/hostname is localhost
    2)if $HADOOP_HOME/etc/hadoop/coresite.xml host=localhost
    2)if /etc/hosts hava 127.0.0.1 localhost
    delete:
    1. /tmp/hadoop-*
    2. $HADOOP_HOME/tmp/*
    3. $HADOOP_HOME/log/*
      reformat namenode

2.jps shows nothing
chmod -R 755 /tmp/hsperfdata_*
chmod -R 755 $HADOOP_HOME/tmp

3.browse localhost:50070 error

stop your firewall how to do
jps check if it has six result:Jps,NameNode.DataNode.SecondaryNameNode,nodemanager ,ResourceManager
look I have four only.This is why I failed.

[root@localhost hadoop-3.1.1]# jps
13472 SecondaryNameNode
13065 NameNode
14238 Jps
13231 DataNode
[root@localhost hadoop-3.1.1]# 

refers to

4.how to do if you fail to start NodeManager?
1)someone tells memory is too small

 https://blog.csdn.net/ling811/article/details/51887569
https://blog.csdn.net/u013641234/article/details/51123648

how to adjust xms
2)someone says port is occupyed

[root@localhost logs]# netstat -anp|grep 8040
[root@localhost logs]# netstat -anp|grep 8041
[root@localhost logs]# netstat -anp|grep 8042
[root@localhost logs]# 

3)someone say it is because of jdk

[root@localhost logs]# java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
[root@localhost logs]# 

4)someone say the port is error
I succeed with this blog 's dissguss
but there is still no nodemanager

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值