Help Center> MapReduce Service> User Guide (ME-Abu Dhabi Region)> Troubleshooting> Cluster Management> It Takes a Long Time to Access HBase from a Client Installed on a Node Outside the Security Cluster
Updated on 2022-12-08 GMT+08:00

It Takes a Long Time to Access HBase from a Client Installed on a Node Outside the Security Cluster

Issue

The cluster client is installed on a node outside the security cluster. When a user runs the hbase shell command on the client to access HBase, it is found that the access is very slow.

Symptom

A user creates a security cluster, installs a cluster client on a node outside the cluster, and runs the hbase shell command to access HBase. It is found that the access to HBase is very slow.

Cause Analysis

Kerberos authentication is required for a security cluster. You need to configure the hosts file on the client node to ensure that the access speed is not affected. An example of the hosts configuration is as follows:

1.1.1.1 hadoop.782670e3_1364_47e2_8c70_1b61bb80479c.com
1.1.1.1 hadoop.hadoop.com
1.1.1.1 hacluster
1.1.1.1 haclusterX
1.1.1.1 haclusterX1
1.1.1.1 haclusterX2
1.1.1.1 haclusterX3
1.1.1.1 haclusterX4
1.1.1.1 ClusterX
1.1.1.1 manager
ip1 hostname1
ip2 hostname2
ip3 hostname3
ip4 hostname4

Procedure

Copy the content of the hosts file on the cluster node to the hosts file on the node where the client is installed.