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

Managing HBase Tables Using Hue

Scenario

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

To operate HBase on the Hue web UI, the Thrift1Server instances of HBase must be deployed in the current MRS cluster.

The Thrift1Server instances are not installed by default. When you create a custom MRS cluster, you can select HBase and customize the cluster topology to add Thrift1Server instances. For details, see Configuring Custom Topology.

If the current cluster allows you to add services, you can deploy Thrift1Server instances when adding the HBase service for the first time. Then, restart the Hue service. For details, see Managing Services.

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