HBase
Updated at:
Configure an HBase data source in DataWorks Data Integration using the connection string mode.
Property definition
Data source type:
hbaseSupported configuration mode (
ConnectionPropertiesMode): connection string mode (UrlMode)
Connection string mode
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
hbaseConfig | JSON object | Yes | — | The HBase client configuration. Specify the ZooKeeper quorum address and other HBase client settings as needed. |
securityProtocol | String | No | — | The authentication type. Valid values: authTypeNone, authTypeClientPassword, authTypeKerberos. |
username | String | No | — | The username. Required if securityProtocol is set to authTypeClientPassword. |
password | String | No | — | The password. Required if securityProtocol is set to authTypeClientPassword. |
kerberosFileConf | String | No | — | The IDs of the configuration files for Kerberos authentication. Required if securityProtocol is set to authTypeKerberos. |
kerberosFileKeytab | String | No | — | The ID of the keytab file for Kerberos authentication. Required if securityProtocol is set to authTypeKerberos. |
principal | String | No | — | The Kerberos principal. |
envType | String | Yes | — | 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"
}Is this page helpful?