We use the Cloudera ODBC Driver for Impala from c# .Net using an OdbcConnection. We are using MIT Kerberos on Windows and keytab authentication. Occasionally, the process begins throwing the bellow Exception. Over time, the exception seems to correct itself, however the only known fix to us is to restart the process (which is a problem..)
Exception:
[Cloudera][ThriftExtension] (3) Error occurred while contacting server: ETIMEDOUT. The connection has been configured to use a SASL mechanism for authentication. This error might be due to the server is not using SASL for authentication.
Connection String:
Driver={Cloudera ODBC Driver for Impala};Host=[ImpalaHostName];Port=21050;AuthMech=1;KrbRealm=[KerberosRealm];KrbServiceName=impala;UseKeytab=1;KrbFQDN=_HOST;UID=[UserName];UPNKeytabMappingFile=[jsonKeyTabMappingFile];UseNativeQuery=1;CurrentSchemaRestrictedMetadata=1;Schema=[Database];SocketTimeout=120
We have also occasionally seen the bellow exception, but these seem to be intermittent.
[Cloudera][ImpalaODBC] (450) Error when calling the Impala Thrift API ExecuteStatement: ETIMEDOUT