Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2302B18605 for ; Mon, 7 Mar 2016 05:01:41 +0000 (UTC) Received: (qmail 31413 invoked by uid 500); 7 Mar 2016 05:01:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 31390 invoked by uid 500); 7 Mar 2016 05:01:40 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 31372 invoked by uid 99); 7 Mar 2016 05:01:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 05:01:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ADB572C0453 for ; Mon, 7 Mar 2016 05:01:40 +0000 (UTC) Date: Mon, 7 Mar 2016 05:01:40 +0000 (UTC) From: "Chao Sun (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9313) thrift.transport.TTransportException [Spark Branch] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182587#comment-15182587 ] Chao Sun commented on HIVE-9313: -------------------------------- Hmm. Seems like an error during SASL handshake. Can you make sure that both sides (the SASL server and client) have security enabled? I saw this "hangs forever" thing happens before when a non-secure client tries to connect to a secure server. In this case, the server side handler thread may crash when it is processing the message from the client, before it could send anything back. The client will thus keep waiting indefinitely. > thrift.transport.TTransportException [Spark Branch] > --------------------------------------------------- > > Key: HIVE-9313 > URL: https://issues.apache.org/jira/browse/HIVE-9313 > Project: Hive > Issue Type: Sub-task > Components: Spark > Affects Versions: spark-branch > Reporter: Chao Sun > Assignee: Chao Sun > > Running beeline with TPC-DS queries sometimes give the following exception: > {noformat} > 2015-01-07 22:01:22,421 ERROR [HiveServer2-Handler-Pool: Thread-29]: server.TThreadPoolServer (TThreadPoolServer.java:run(296)) - Error occurred during processing of message. > java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status 71 > at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:268) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.thrift.transport.TTransportException: Invalid status 71 > at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232) > at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:184) > at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125) > at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271) > at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41) > at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216) > ... 4 more > {noformat} > We need to investigate on this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)