HBase

Updated at:

Configure an HBase data source in DataWorks Data Integration using the connection string mode.

Property definition

  • Data source type: hbase

  • Supported configuration mode (ConnectionPropertiesMode): connection string mode (UrlMode)

Connection string mode

ParameterTypeRequiredDefaultDescription
hbaseConfigJSON objectYes—The HBase client configuration. Specify the ZooKeeper quorum address and other HBase client settings as needed.
securityProtocolStringNo—The authentication type. Valid values: authTypeNone, authTypeClientPassword, authTypeKerberos.
usernameStringNo—The username. Required if securityProtocol is set to authTypeClientPassword.
passwordStringNo—The password. Required if securityProtocol is set to authTypeClientPassword.
kerberosFileConfStringNo—The IDs of the configuration files for Kerberos authentication. Required if securityProtocol is set to authTypeKerberos.
kerberosFileKeytabStringNo—The ID of the keytab file for Kerberos authentication. Required if securityProtocol is set to authTypeKerberos.
principalStringNo—The Kerberos principal.
envTypeStringYes—The data source environment. Valid values: Dev (development environment), Prod (production environment).

Configuration examples

Connection string mode

The following example uses password-based authentication (authTypeClientPassword) in the development environment.

{
  "hbaseConfig": {
    "hbase.zookeeper.quorum": "localhost:2181",
    "hbaseVersion": "0.9.4"
  },
  "securityProtocol": "authTypeClientPassword",
  "username": "xxxxx",
  "password": "xxxxx",
  "envType": "Dev"
}