Hive Pii

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Database driver error...

Function Name : Connect


Database driver error...
Function Name : Connect
Database Error: Failed to connect to database using user [] and connection string
 https://knowledge.informatica.com/s/article/619084?language=en_US

 https://knowledge.informatica.com/s/article/609976?language=en_US
To resolve this issue, update the DIS properties with Service Principal Name and Keytab
information.

 https://knowledge.informatica.com/s/article/5004w000025k1cfAAA?
language=en_US&type=external
To resolve this issue, ensure krb5.conf is same on all EDC nodes as it is in hive hadoop servers. 
failed in adapter [/data/Informatica/10.5/plugins/dynamic/hiveruntime/libhive.so] with error code [-1]

 https://knowledge.informatica.com/s/article/000138414?language=en_US&type=external
This error can occur if the Distribution Version selected on the Cluster Configuration for the Hive
connection is a mismatch for the actual version of Hive on the target server. This causes a driver
mismatch as the Hive driver version used when connecting to profile data is determined by
the Cluster Configuration Distribution Version.
 
In this instance the default Distribution Version of 6.1 was selected but the Hive version was
5.16 resulting in a mismatch between the driver versions.
 
Solution
To resolve the issue, the Cluster Configuration Distribution Version needs to be updated to
match the version of Hive you will be reading data from. 
 
If an exact match is not available e.g. the Hive version is 5.16, but the list of Distribution Versions
you can select from only contains 5.15, then selecting the correct major version of the driver
should be enough to resove the problem.
Additional Information
To check the Hive version run hive --version on the Hive server.
 
To test the connection external to a profile/scan you can use the
INFA_HOME/tools/debugtools/jdbcc/ utility. Please review the readme.txt for details on using it.
In this case, setting the CLASSPATH to point to Hive driver version 6.1 generated an error when
the test was run - "Required field 'client_protocol' is unset" .
This error is associated with client mismatches.

ERROR com.infa.products.ldm.framework.scanner.execution.impl.ScannerTask- Scanner Executor failed


with error %s
 https://knowledge.informatica.com/s/article/000179266?language=en_US&type=external
Suggested to specify the file delimiter if the file from which you extract metadata uses a
delimiter other than the following list of delimiters:

Comma (,)
Horizontal tab (\t)
Semicolon (;)
Colon (:)
Pipe symbol (|)

Ensure that you enclose the delimiter in single quotes. For instance, '$'. Use a comma to
separate multiple delimiters. For instance, '$','%','&'

After enclosing the delimiter, issue got resolved.


 
Refer to the following documentation for your reference:

https://docs.informatica.com/data-catalog/enterprise-data-catalog/10-5-1/enterprise-data-
catalog-scanner-configuration-guide/configuring-data-engineering-resources/hdfs.html

You might also like