HBase deployment is completed, but the Web UI interface cannot be opened. Effective solution

question:

1. HBase has been deployed and the jps viewing process exists, butHMaster always crashes

2、16010The interface cannot be opened (disavow link

3. Three nodes16030The interface is displayed as follows (regionserver is only initializing

                

Problem analysis: When I encountered this problem, I found many solutions, but they were all ineffective, and these solutions were ambiguous and not directly explained.

I checked the log and it showed znode data == null

Solution:

In the hadoop configuration file core-site.xml:

<property>
  <name>fs.defaultFS</name>
  <value>hdfs://master:8020</value>
</property>

In the configuration file hbase-site.xml of HBase-site.xml:

<property>
    <name>hbase.rootdir</name>
    <value>hdfs://master:8020/HBase</value>
  </property>

Make sure: the ports of the above two configuration files are consistent,Either they are all 8020, or they are all 9000

If you only modified HBase, then restart HBase

If you modify hadoop, you need to reformat the hadoop cluster

Related Posts

[SQLSERVER]How to solve the problem of Navicat Premium connecting to sqlserver2019 error

Java login Kerberos authentication expiration problem

node npm upgrade

How to create a table in SQL Server

Solve the problem of sorting after SQLite auto-increment ID modification:

How to start Redis

Performance optimization: MySQL usage optimization (1)

St. Regis takeaway project 1 + source code

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*