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 4AF34200BC5 for ; Mon, 7 Nov 2016 16:22:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 49858160AEC; Mon, 7 Nov 2016 15:22:01 +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 9093B160B10 for ; Mon, 7 Nov 2016 16:22:00 +0100 (CET) Received: (qmail 37059 invoked by uid 500); 7 Nov 2016 15:21:59 -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 36770 invoked by uid 99); 7 Nov 2016 15:21:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2016 15:21:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B4A6C2C0087 for ; Mon, 7 Nov 2016 15:21:58 +0000 (UTC) Date: Mon, 7 Nov 2016 15:21:58 +0000 (UTC) From: "Andy Braslavskiy (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15100) HiveSQLException: Invalid OperationHandle: OperationHandle [opType=EXECUTE_STATEMENT, getHandleIdentifier MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 07 Nov 2016 15:22:01 -0000 [ https://issues.apache.org/jira/browse/HIVE-15100?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1564= 4462#comment-15644462 ]=20 Andy Braslavskiy commented on HIVE-15100: ----------------------------------------- I have the same exceptions, when doing any interactions from Hue to Hive. This problems I have only on kerberised cluster, with Hadoop in Classic mod= e, and Hue 3.10. But, everything works fine with Hue 3.9 / non kerberised cluster / Hadoop i= n YARN mode. [~WillCup], can you provide any details, of your configuration? > HiveSQLException: Invalid OperationHandle: OperationHandle [opType=3DEXEC= UTE_STATEMENT, getHandleIdentifier > -------------------------------------------------------------------------= -------------------------------- > > Key: HIVE-15100 > URL: https://issues.apache.org/jira/browse/HIVE-15100 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 1.2.1 > Reporter: Will Chen > > I am using hue + hiveserver2.=20 > First I execute sql through Hue, this can be done correctly. But when I e= xport the result as csv file or excel file, an exception will appear in hiv= eserver2.log: > 2016-11-01 14:54:11,622 WARN [HiveServer2-Handler-Pool: Thread-47]: thri= ft.ThriftCLIService (ThriftCLIService.java:FetchResults(681)) - Error fetch= ing results:=20 > org.apache.hive.service.cli.HiveSQLException: Invalid OperationHandle: Op= erationHandle [opType=3DEXECUTE_STATEMENT, getHandleIdentifier()=3Dfeb55386= -72f0-445c-9774-dd8780acf442] > =09at org.apache.hive.service.cli.operation.OperationManager.getOperation= (OperationManager.java:154) > =09at org.apache.hive.service.cli.CLIService.fetchResults(CLIService.java= :456) > =09at org.apache.hive.service.cli.thrift.ThriftCLIService.FetchResults(Th= riftCLIService.java:672) > =09at org.apache.hive.service.cli.thrift.TCLIService$Processor$FetchResul= ts.getResult(TCLIService.java:1557) > =09at org.apache.hive.service.cli.thrift.TCLIService$Processor$FetchResul= ts.getResult(TCLIService.java:1542) > =09at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > =09at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > =09at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpA= ddressProcessor.java:56) > =09at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThrea= dPoolServer.java:285) > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1142) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:617) > =09at java.lang.Thread.run(Thread.java:745) > I add a few session related configurations: > hive.server2.idle.operatoin.timeout =3D 1 day > hive.server2.idle.session.timeout =3D 3 days > hive.server2.session.check.interval =3D 1 hour > And my operations log config like this: > hive.server2.loggging.operation.enabled=3Dtrue > hive.server2.loggging.operation.log.location=3D/tmp/hive/operation_logs > I try to remove all files in my operation_logs dir(/tmp/hive/operation_lo= gs)=EF=BC=8C and clean all session data in hue tables(beeswax_session, djan= go_session), then restart hiveserver2 and hue. But nothing getting better.. > Begging for ur help~ > Thanks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)