From issues-return-157823-archive-asf-public=cust-asf.ponee.io@hive.apache.org Wed May 15 11:44:07 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 21495180782 for ; Wed, 15 May 2019 13:44:07 +0200 (CEST) Received: (qmail 51856 invoked by uid 500); 15 May 2019 11:44:06 -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 51847 invoked by uid 99); 15 May 2019 11:44:06 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2019 11:44:06 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A02F9E2BEE for ; Wed, 15 May 2019 11:44:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2015025815 for ; Wed, 15 May 2019 11:44:00 +0000 (UTC) Date: Wed, 15 May 2019 11:44:00 +0000 (UTC) From: "Sankar Hariappan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-21730) HiveStatement.getQueryId throws TProtocolException when response is null. 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-21730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sankar Hariappan updated HIVE-21730: ------------------------------------ Status: Patch Available (was: Open) > HiveStatement.getQueryId throws TProtocolException when response is null. > ------------------------------------------------------------------------- > > Key: HIVE-21730 > URL: https://issues.apache.org/jira/browse/HIVE-21730 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Priority: Major > Attachments: HIVE-21730.01.patch > > > HiveStatement.getQueryId is failing with below exception if query is closed concurrently. > {code} > 24256 2019-05-14T02:09:01,355 INFO [HiveServer2-Background-Pool: Thread-1829] ql.Driver: Executing command(queryId=hive_20190514020858_530a33d9-0b19-4f72-ae08-b631fb4749cb): create table household_demographics > 24257 stored as orc as > 24258 select * from household_demographics_txt > 24259 2019-05-14T02:09:01,356 INFO [HiveServer2-Background-Pool: Thread-1829] hooks.HiveProtoLoggingHook: Received pre-hook notification for: hive_20190514020858_530a33d9-0b19-4f72-ae08-b631fb4749cb > 24260 2019-05-14T02:09:01,356 ERROR [HiveServer2-Handler-Pool: Thread-131] server.TThreadPoolServer: Thrift error occurred during processing of message. > 24261 org.apache.thrift.protocol.TProtocolException: Required field 'queryId' is unset! Struct:TGetQueryIdResp(queryId:null) > 24216,1 10% > 24260 2019-05-14T02:09:01,356 ERROR [HiveServer2-Handler-Pool: Thread-131] server.TThreadPoolServer: Thrift error occurred during processing of message. > 24261 org.apache.thrift.protocol.TProtocolException: Required field 'queryId' is unset! Struct:TGetQueryIdResp(queryId:null) > 24262 at org.apache.hive.service.rpc.thrift.TGetQueryIdResp.validate(TGetQueryIdResp.java:294) ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24263 at org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result.validate(TCLIService.java:18890) ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24264 at org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result$GetQueryId_resultStandardScheme.write(TCLIService.java:18947) ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24265 at org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result$GetQueryId_resultStandardScheme.write(TCLIService.java:18916) ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24266 at org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result.write(TCLIService.java:18867) ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24267 at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:53) ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24268 at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24269 at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56) ~[hive-service-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24270 at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286) [hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19] > 24271 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161] > 24272 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161] > 24273 at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)