Help Center/ MapReduce Service/ Developer Guide (Normal_3.x)/ HBase Development Guide (Normal Mode)/ More Information/ HBase of the Cluster in Normal Mode Access Configuration on Windows Using EIPs
Updated on 2023-04-10 GMT+08:00

HBase of the Cluster in Normal Mode Access Configuration on Windows Using EIPs

Scenario

This section describes how to bind Elastic IP addresses (EIPs) to a cluster and configure HBase files so that sample files can be compiled locally.

This section uses hbase-example as an example.

Procedure

  1. Apply for an EIP for each node in the cluster and add public IP addresses and corresponding host domain names of all nodes to the Windows local hosts file. (If a host name contains uppercase letters, change them to lowercase letters.)

    1. On the VPC console, apply for EIPs (the number of EIPs you buy should be equal to the number of nodes in the cluster), click the name of each node in the MRS cluster, and bind an EIP to each node on the EIPs page.

      For details, see Virtual Private Cloud > User Guide > EIP > Assigning an EIP and Binding It to an ECS.

    2. Record the mapping between the public IP addresses and private IP addresses. Change the private IP addresses in the hosts file to the corresponding public IP addresses.

  2. Configure security group rules for the cluster.

    1. On the Dashboard page, choose Add Security Group Rule > Manage Security Group Rule.

    2. On the Inbound Rules page, click Add Rule. On the displayed Add Inbound Rule page, configure Windows IP addresses and ports 21730TCP, 21731TCP/UDP, and 21732TCP/UDP.

  3. On Manager, choose Cluster > Services > HBase > More > Download Client, and copy the core-site.xml, hdfs-site.xml, and hbase-site.xml files on the client to the resources directory of the sample project.