Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1AE6C200B61 for ; Tue, 26 Jul 2016 00:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1989B160A91; Mon, 25 Jul 2016 22:06:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6723B160A7D for ; Tue, 26 Jul 2016 00:06:21 +0200 (CEST) Received: (qmail 78751 invoked by uid 500); 25 Jul 2016 22:06:20 -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 78728 invoked by uid 99); 25 Jul 2016 22:06:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2016 22:06:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 790892C0059 for ; Mon, 25 Jul 2016 22:06:20 +0000 (UTC) Date: Mon, 25 Jul 2016 22:06:20 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-14227) Investigate invalid SessionHandle and invalid OperationHandle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 25 Jul 2016 22:06:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15392741#comment-15392741 ] Aihua Xu commented on HIVE-14227: --------------------------------- Thanks [~vgumashta]. What I'm trying to do is to let session be aware of the connections. So if the session is bound to 3 connections, disconnecting 2 connections only unbind the session and the disconnection of the third connection will close the session. > Investigate invalid SessionHandle and invalid OperationHandle > ------------------------------------------------------------- > > Key: HIVE-14227 > URL: https://issues.apache.org/jira/browse/HIVE-14227 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 2.0.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-14227.1.patch > > > There are the following warnings. > {noformat} > WARN org.apache.hive.service.cli.thrift.ThriftCLIService: [HiveServer2-Handler-Pool: Thread-55]: Error executing statement: > org.apache.hive.service.cli.HiveSQLException: Invalid SessionHandle: SessionHandle [1bc00251-64e9-4a95-acb7-a7f53f773528] > at org.apache.hive.service.cli.session.SessionManager.getSession(SessionManager.java:318) > at org.apache.hive.service.cli.CLIService.executeStatementAsync(CLIService.java:258) > at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:506) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1313) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1298) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > {noformat} > {noformat} > WARN org.apache.hive.service.cli.thrift.ThriftCLIService: [HiveServer2-Handler-Pool: Thread-1060]: Error closing operation: > org.apache.hive.service.cli.HiveSQLException: Invalid OperationHandle: OperationHandle [opType=EXECUTE_STATEMENT, getHandleIdentifier()=13d930dd-316c-4c09-9f44-fee5f483e73d] > at org.apache.hive.service.cli.operation.OperationManager.getOperation(OperationManager.java:185) > at org.apache.hive.service.cli.CLIService.closeOperation(CLIService.java:408) > at org.apache.hive.service.cli.thrift.ThriftCLIService.CloseOperation(ThriftCLIService.java:664) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$CloseOperation.getResult(TCLIService.java:1513) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$CloseOperation.getResult(TCLIService.java:1498) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)