Question
[Cloudera][HiveJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: Socket is closed by peer.
hi community cloudera,
i'm experiencing strange hive drive behaviour:
my app consequently performing `select` queries on multiple tables successfully. But at some point it gets an error:
java.sql.SQLException: [Cloudera][HiveJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: Socket is closed by peer. FetchResults for query "SELECT `iq***".
and when the app retries to reconnect (because java.sql.Connection.isValid() == false)
it constantly gets
[Cloudera][JDBC](10060) Connection has been closed.
java.sql.SQLNonTransientConnectionException: [Cloudera][JDBC](10060) Connection has been closed.
at com.cloudera.hiveserver2.exceptions.ExceptionConverter.toSQLException(Unknown Source)
at com.cloudera.hiveserver2.jdbc.common.SConnection.closeConnection(Unknown Source)
at com.cloudera.hiveserver2.jdbc.common.SConnection.abortInternal(Unknown Source)
at com.cloudera.hiveserver2.jdbc.common.SConnection.close(Unknown Source)
Since connection string is
jdbc:hive2://hive2host.loc:10000;AuthMech=3
I don't have access to Hive logs, so I can guess only.
Could it be relates to LDAP server issues? Or it is by some other reason?

