You can use the Hue web UI to create and query HBase tables in a cluster through a graphical interface. This topic uses an EMR-4.9.0 cluster to demonstrate how to create and delete HBase tables.
Prerequisites
-
You have created a cluster and selected the HBase service.
-
You have opened port 8888 in the security group of your cluster.
ImportantWhen you configure security group rules, grant access only to a specific range of IP addresses. Do not open the port to all IP addresses by using 0.0.0.0/0.
Limitations
The cluster must have the HBase service.
Considerations
For Hadoop clusters that run EMR V3.35.0 or later, or EMR V4.9.0 or later, you must remove hbase from the value of the app_blacklist parameter on the Hue configuration tab.
Access the HBase browser
-
Go to the cluster details page.
-
Log on to the E-MapReduce console.
-
In the top navigation bar, select your cluster's region and resource group.
-
Click the Clusters tab.
-
On the Clusters page, find your cluster and click Details in the Actions column.
-
-
Modify the configuration.
-
In the navigation pane on the left, choose .
-
In the Configuration Filter section, search for the app_blacklist parameter.
-
Delete hbase from the value of the app_blacklist parameter.
-
In the upper-right corner, click Save.
-
In the Confirm dialog box, enter a reason in the Execution Reason field and click OK.
-
-
Restart the Hue service.
-
In the upper-right corner, choose .
-
In the Cluster Activities dialog box, enter a reason in the Execution Reason field and click OK.
-
In the Confirm dialog box, click OK.
-
-
In the navigation pane on the left, click Access Links and Ports.
-
On the Access Links and Ports page, click the Hue service link.
Enter your Hue username and password to access the web UI.
NoteFor your initial login to the Hue web UI, you must obtain the initial password for the admin account. For more information, see View the initial password.
-
In the navigation pane on the left of the Hue UI, click the
icon.The HBase browser page appears.
Create an HBase table
-
On the HBase browser page, click New Table in the upper-right corner.
-
In the Create New Table dialog box, specify the following parameters.
Parameter
Description
Table Name
The unique name for the table.
Column Families
One or more column families for the table.
-
Click Submit.
Delete HBase tables
-
On the HBase browser page, select the tables that you want to delete.
-
Click Drop above the table list.
-
In the Confirm Delete dialog box, click Confirm.