Michael Armbrust created SPARK-2485:
---------------------------------------

             Summary: Usage of HiveClient not threadsafe.
                 Key: SPARK-2485
                 URL: https://issues.apache.org/jira/browse/SPARK-2485
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Michael Armbrust
            Assignee: Michael Armbrust


When making concurrent queries against the hive metastore, sometimes we get an 
exception that includes the following stack trace: 

{code}
Caused by: java.lang.Throwable: get_table failed: out of sequence response
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:76)
        at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_table(ThriftHiveMetastore.java:936)
{code}

Likely, we need to synchronize our use of HiveClient.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to