Location Connection for Apache HDFS
This section lists and describes the connection details required for creating HDFS location in Fivetran HVR. For information about the pre-requisites, access privileges, and other configuration requirements for creating HDFS location, see Apache HDFS Requirements.
Field | Description | Equivalent Location Property |
---|---|---|
NAMENODE | Hostname of the HDFS NameNode. | HDFS_Namenode |
PORT | Port number on which the HDFS NAMENODE is expecting connections. | File_Port |
USER | Username for connecting HVR to the HDFS NAMENODE . | File_User |
KERBEROS TICKET CACHE | Directory path for the Kerberos ticket cache file. This field should be left blank if keytab file is used for authentication or if Kerberos is not used on the Hadoop cluster. For more information about using Kerberos authentication, see HDFS Authentication and Kerberos. | HDFS_Kerberos_Credential_Cache |
DIRECTORY | Directory path in the HDFS NAMENODE where the files are replicated to or captured from. | File_Path |
Hive External Tables | Enable/Disable Hive ODBC connection configuration for creating Hive external tables above HDFS. |
HVR supports the WebHDFS API for reading and writing files from and to HDFS.
Configuration for Hive External Tables
HVR uses the Hive ODBC driver to connect to Hive for creating Hive external tables above HDFS to perform compare with files that reside on the HDFS location. You can enable/disable the Hive configuration for HDFS in the New Location dialog using the Hive External Tables field.
Field | Description | Equivalent Location Property |
---|---|---|
HIVE SERVER TYPE | Type of the Hive server. Available options are:
| Hive_Server_Type |
HOST(S) | Hostname or IP-address of the server on which the database is running. | Database_Host |
PORT | Port number on which the Hive server is expecting connections. | Database_Port |
DATABASE | Name of the database. | Database_Name |
SERVICE DISCOVERY MODE | Mode for connecting HVR to Hive Server 2. This field is enabled only if HIVE SERVER TYPE is set to 2. Available options are:
| Hive_Service_Discovery_Mode |
ZOOKEEPER NAMESPACE | Namespace on ZooKeeper under which Hive Server 2 nodes are added. This field is enabled only if SERVICE DISCOVERY MODE is set to ZooKeeper. | Hive_Zookeeper_Namespace |
AUTHENTICATION METHOD | Authentication method for connecting HVR to Hive Server 2. This field is enabled only if HIVE SERVER TYPE is set to 2. Available options are:
| Hive_Authentication_Method |
USER | Username for connecting HVR to the database (defined in Database_Name). This field is enabled only when the AUTHENTICATION METHOD is set to User Name or User Name and Password. | Database_User |
PASSWORD | Password for the USER. | Database_Password |
SERVICE | Kerberos service principal name of the Hive server. This is the service name part of Kerberos principal of the Hive server. For example, if the principal is hive/example.host@EXAMPLE.REALM then "hive" should be specified here. This field is enabled only if AUTHENTICATION METHOD is set to Kerberos. | Hive_Kerberos_Service |
HOST | Fully Qualified Domain Name (FQDN) of the Hive server host. This is the host part of Kerberos principal of the Hive server. For example, if the principal is "hive/example.host@EXAMPLE.REALM" then "example.host" should be specified here. The value for this field may be set to _HOST to use the Hive server hostname as the domain name for Kerberos authentication. If SERVICE DISCOVERY MODE is set to None, then the driver uses the value specified in the Host connection attribute. | Hive_Kerberos_Host |
REALM | Realm of the Hive Server 2 host. It is not required to specify any value in this field if the realm of the Hive Server 2 host is defined as the default realm in Kerberos configuration. This field is enabled only if AUTHENTICATION METHOD is set to Kerberos. | Hive_Kerberos_Realm |
THRIFT TRANSPORT | Transport protocol to use in the Thrift layer. This field is enabled only if HIVE SERVER TYPE is set to Hive Server 2. Available options are:
| Hive_Thrift_Transport |
HTTP PATH | The partial URL corresponding to the Hive server. This field is required only if THRIFT TRANSPORT is set to HTTP. | Hive_HTTP_Path |
Enable SSL | Enable/disable (one way) SSL. If enabled, HVR authenticates the Hive server by validating the SSL certificate shared by the Hive server. | |
TRUSTED CA CERTIFICATE | Directory path where the .pem file containing the server's public SSL certificate signed by a trusted CA is located. Defining this property will enable (one way) SSL, which means, HVR will authenticate the Hive server by validating the SSL certificate shared by the Hive server. This property is also required for enabling two way SSL. | Database_Public_Certificate |
Two-way SSL | Enable/disable two way SSL. If enabled, both HVR and Hive server authenticate each other by validating each others SSL certificate. This field is enabled only if Enable SSL is selected. | |
CLIENT PUBLIC CERTIFICATE | Directory path where the .pem file containing the client's SSL public certificate is located. This field is enabled only if Two-way SSL is selected. | Database_Client_Public_Certificate |
CLIENT PRIVATE KEY | Directory path where the .pem file containing the client's SSL private key is located. This field is enabled only if Two-way SSL is selected. | Database_Client_Private_Key |
CLIENT PRIVATE KEY PASSWORD | Password of the client's SSL private key specified in CLIENT PRIVATE KEY. This field is enabled only if Two-way SSL is selected. | Database_Client_Private_Key_Password |
Hive Advanced Settings
Field | Description | Equivalent Location Property |
---|---|---|
LINUX / UNIX ODBC DRIVER MANAGER LIBRARY PATH | Directory path where the ODBC Driver Manager Library is installed. This field is applicable only for Linux/Unix operating system. For a default installation, the ODBC Driver Manager Library is available at /usr/lib64 and does not need to be specified. However, when UnixODBC is installed in for example /opt/unixodbc the value for this field would be /opt/unixodbc/lib. | ODBC_DM_Lib_Path |
LINUX / UNIX ODBCSYSINI | Directory path where the odbc.ini and odbcinst.ini files are located. This field is applicable only for Linux/Unix operating system. For a default installation, these files are available at /etc directory and do not need to be specified using this field. However, when UnixODBC is installed in for example /opt/unixodbc the value for this field would be /opt/unixodbc/etc. | ODBC_Sysini |
ODBC Driver | Name of the user defined (installed) ODBC driver used for connecting HVR to the Hive server. | ODBC_Driver |