1、hadoop启动时,namenode没有启动起来

1、删除 namenode产生的临时文件 tmp
2、删除datanode的数据,否则也不行。(如果datanode有数据,请自己备份)
./bin/hdfs namenode -format  #进行格式化

2、hbase连接不上报一下错

  a)master.HMaster: hbase:meta,,1.1588230740 is NOT online;

进入zk , 将原有的/hbase/meta-region-server删除,即 rmr /habse/meta-region-server

  b)2019-08-14 17:35:21.221 INFO 12884 --- [hared--pool1-t1] o.a.h.hbase.client.RpcRetryingCaller : Call exception, tries=11, retries=35, started=50096 ms ago, cancelled=false, msg=localhost.localdomain row 'nias:bus_receiver,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=localhost.localdomain,16020,1565769181448, seqNum=0

表明你只能进行本机连接,无法进行远程连接。解决方法:
    在hbase-site.xml文件钟添加
            <property>
          <name>hbase.regionserver.hostname</name>
          <value>medecineit</value>
       </property>

 



相关文章:

  • 2021-07-04
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-19
  • 2021-05-04
猜你喜欢
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2021-10-28
  • 2021-08-05
  • 2021-07-27
  • 2021-05-08
相关资源
相似解决方案