Configuring HBase
Optionally, you can configure Tamr Core to use an external instance of HBase.
Tamr Core uses the Apache HBase Hadoop non-relational database management system. Single-node Tamr Core deployments include HBase as part of the standard installation. Alternatively, you can configure Tamr Core to use an external instance of HBase.
To install HBase on an external cluster, you configure the following configuration variables.
Configuration Variable | Description |
---|---|
TAMR_CONNECTION_INFO_TYPE | Set to hbase-site . |
TAMR_REMOTE_HBASE_ENABLED | A Boolean that indicates whether the HBase cluster is remote or not. Set to true . |
TAMR_HBASE_CONFIG_URIS | Indicates the location of the HBase configuration files (hbase-site.xml and core-site.xml ). The list is semicolon (;) separated, for example,file:///path/to/core-site.xml;file:///path/to/hbase-site.xml .If the configuration files are in ZooKeeper, you supply the list ZooKeeper URIs. |
TAMR_HBASE_KERBEROS_ENABLED | If HBase needs Kerberos authentication, set this variable to true and specify values for TAMR_KERBEROS_PRINCIPAL and TAMR_KERBEROS_KEYTAB. |
TAMR_KERBEROS_KEYTAB | Identifies the server location of your keytab credentials file. |
TAMR_KERBEROS_PRINCIPAL | Stores the principal in the keytab. To inspect your keytab file for the principal(s), use:klist -k <path to keytab> |
TAMR_HBASE_DATA_DIR | Identifies the location of the hbase.rootDir as stored in the hbase-site.xml file. For example,hdfs:///apps/hbase/data Note: Ensure that the Kerberos principal has permission to read that location. |
TAMR_FS_CONFIG_URIS TAMR_BACKUP_FS_CONFIG_URIS | Indicates the location of the XML configuration files you put on the server, including the hbase-site.xml file. The list is semicolon (;) separated, for example:file:///path/to/core-site.xml;file:///path/to/hdfs-site.xml;file:///path/to/yarn-site.xml;file:///path/to/hbase-site.xml If the configuration files are in ZooKeeper, you supply the list of ZooKeeper URIs. |
See Configuration Variable Reference for a complete list of Tamr Core configuration variables.
Updated about 3 years ago