Creating a Hive Server 2 Connection Hangs When Saving

Problem

When creating a Hive Server 2 Connection in Datameer, the user completes all the required fields and then clicks Save. The next page doesn't load for several minutes and the following exception is logged in the conductor.log file:

[admin]  INFO [2016-01-01 11:00:06.975] [qtp492474367-34] (HiveServer2Client.java:110) - Creating transport for host:myserver.datameer.lab port:10000
[admin]  INFO [2016-01-01 11:00:06.979] [qtp492474367-34] (HiveServer2Client.java:148) - Created kerberos basesd SASL transport with principal hive/myserver.datameer.lab@DATAMEER.LAB, host c99p01.udex.haas.local and SASL properties {javax.security.sasl.qop=auth, javax.security.sasl.server.authentication=true}
[admin]  WARN [2016-01-01 11:00:07.259] [qtp492474367-34] (DataStore.java:196) - connection fails: java.lang.RuntimeException: org.apache.thrift.transport.TTransportException
datameer.com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: org.apache.thrift.transport.TTransportException 

Cause

The cause is unknown.

Solution

In one environment, this issue was worked around by restarting the Datameer application. Before restarting the service, Collect Data for Root Cause Analysis.

If restarting Datameer doesn't resolve the issue or further debugging is required, contact Datameer Technical Support with a copy of the conductor.log files demonstrating the exception and the additionally collected data.