Link to HBase

Description

By creating an HBase link, you can extract data from or load data to HBase of MRS, FusionInsight HD, and Apache Hadoop.

Sample Link

{
  "links": [
    {
      "link-config-values": {
        "configs": [
          {
            "inputs": [
              {
                "name": "linkConfig.hbaseType",
                "value": "MRS"
              },
              {
                "name": "linkConfig.host",
                "value": "192.168.2.23"
              },
              {
                "name": "linkConfig.authType",
                "value": "SIMPLE"
              },
              {
                "name": "linkConfig.runMode",
                "value": "STANDALONE"
              }
            ],
            "name": "linkConfig"
          }
        ]
      },
      "name": "mrshbase",
      "connector-name": "hbase-connector"
    }
  ]
}

Link Parameters

Parameter

Mandatory

Type

Description

linkConfig.hbaseType

Yes

Enumeration

HBase type. The options are as follows:

  • CloudTable: link to CloudTable Service (CloudTable)
  • MRS: link to HBase of MRS
  • FusionInsight HD: link to HBase of FusionInsight HD
  • Apache Hadoop: link to HBase of Apache Hadoop

linkConfig.uri

No

String

NameNode URI required for the link to Apache Hadoop. The format is ip:port.

llinkConfig.host

No

String

IP address of Manager required for the link to MRS or FusionInsight HD

linkConfig.port

No

String

Port number of Manager required for the link to FusionInsight HD

linkConfig.casPort

No

String

Port number of CAS Server that connects to FusionInsight HD required for the link to FusionInsight HD

linkConfig.user

No

String

Username for accessing Manager. If SIMPLE authentication is used for connecting to MRS, you do not need to enter the username and password for accessing Manager.

linkConfig.password

No

String

Password for accessing Manager. If SIMPLE authentication is used for connecting to MRS, you do not need to enter the username and password for accessing Manager.

linkConfig.authType

No

Enumeration

Authentication method. The options are as follows:
  • Simple: for non-security mode
  • Kerberos: for security mode

linkConfig.principal

No

String

Account principal required for Kerberos authentication. You can contact the administrator to obtain the account.

linkConfig.keytab

No

FileContent

Local absolute path of the keytab file required for Kerberos authentication. You can contact the administrator to obtain the file.

linkConfig.serviceType

No

String

Service type

linkConfig.runMode

No

Enumeration

Running mode of the HBase link. Options are as follows:
  • EMBEDDED: The link instance runs with CDM. This mode delivers better performance.
  • STANDALONE: The link instance runs in an independent process. If CDM needs to connect to multiple Hadoop data sources (MRS, Hadoop, or CloudTable) with both Kerberos and Simple authentication methods, STANDALONE prevails.