Help Center/ MapReduce Service/ Troubleshooting/ Using HBase/ The Number of RegionServers Displayed on the Native Page Is Greater Than the Actual Number After HBase Is Started
Updated on 2022-12-09 GMT+08:00

The Number of RegionServers Displayed on the Native Page Is Greater Than the Actual Number After HBase Is Started

Symptom

After HBase is started, the number of RegionServers displayed on the HMaster native page is greater than the actual number.

The HMaster native page shows that four RegionServers are online, as shown in the following figure.

Cause Analysis

As shown in the following figure, the hostname of the node in the third row is controller-192-168-1-3 and that of the fourth row is eth0. The two carry the same information reported by RegionServer. Then, log in to the corresponding nodes to check the /etc/hosts file. It is found that the same IP address is configured for the two hostnames. For details, see the following figure:

Solution

Log in to the node where RegionServer resides, and modify the /etc/hosts file. Make sure that the same IP address can correspond to only one hostname.