Updated on 2024-10-08 GMT+08:00

Using HBase on the Hue Web UI

Scenario

You can use Hue to create or query HBase tables in a cluster and run tasks on the Hue web UI.

If you need to operate HBase on the Hue web UI, the Thrift1Server instance of HBase must be deployed in the MRS cluster.

Thrift1Server instances are not installed by default. When you create a custom MRS cluster, you can select the HBase component and adjust the custom topology of the cluster to add Thrift1Server instances. For details, see Buying a Custom Topology Cluster.

If the current cluster supports manual service adding, you can deploy a Thrift1Server instance when you add the HBase service for the first time. After the service is added, restart the Hue service. For details, see Adding a Service.

Accessing Job Browser

  1. Access the Hue web UI. For details, see Accessing the Hue Web UI.
  2. Click HBase . The HBase Browser page is displayed.

Creating an HBase Table

  1. Access the Hue web UI.
  2. Click HBase . The HBase Browser page is displayed.
  3. Click New Table on the right, enter the table name and column family parameters, and click Submit.

    Figure 1 Creating a table

Querying Data in an HBase Table

  1. Access the Hue web UI.
  2. Click HBase . The HBase Browser page is displayed.
  3. Click the HBase table to be queried. Then, click the key value next to search box in the upper part, and query the HBase table.

    Figure 2 Searching by key value