All Products
Search
Document Center

ApsaraDB for HBase:Phoenix data sources

Last Updated:Jan 22, 2024

This topic describes how to add a Phoenix data source.

Scenarios

  • ApsaraDB for HBase clusters that run Phoenix4.x or Phoenix 5.x

  • User-created HBase clusters

  • E-MapReduce HBase clusters

Procedure

  1. Log on to the Lindorm Tunnel Service (LTS) web UI. In the left-side navigation pane, choose Data Source Manage > Add Data Source.

  2. On the Add data source page, set the following parameters.

    Parameter

    Description

    Name

    You can specify a custom name that contains only letters and digits.

    Data Source Type

    Select Phoenix.

    Parameters

    { queryserver:"http://xxxxx:8765", clusterKey:"xxxzkhost1.xxxzkhost2.xxxzkhost3:2181:/xxxhbase",hbaseDir:"/xxxhbase",hdfsUrl:"n1:8020","xxxnn2:8020"}
    • queryserver: the username

    • clusterKey: the ZooKeeper node, the port number, and the root node where your HBase cluster resides

    • hbaseDir: the root path of your HBase cluster on the Hadoop Distributed File System (HDFS)

    • hdfsUrl: the name and the port number of the NameNode

  3. Click Add.