Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F35B310F8E for ; Wed, 28 May 2014 04:09:01 +0000 (UTC) Received: (qmail 52799 invoked by uid 500); 28 May 2014 04:09:01 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 52720 invoked by uid 500); 28 May 2014 04:09:01 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 52712 invoked by uid 500); 28 May 2014 04:09:01 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 52708 invoked by uid 99); 28 May 2014 04:09:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 04:09:01 +0000 Date: Wed, 28 May 2014 04:09:01 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7127) Handover more details on exception in hiveserver2 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-7127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010745#comment-14010745 ] Hive QA commented on HIVE-7127: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12646847/HIVE-7127.1.patch.txt {color:red}ERROR:{color} -1 due to 10 failed/errored test(s), 5467 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_combine2 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_parquet_decimal1 org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas org.apache.hadoop.hive.ql.exec.tez.TestTezTask.testSubmit org.apache.hive.beeline.TestBeelineArgParsing.testBeelineOpts org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimal org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimalX org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimalXY org.apache.hive.jdbc.TestJdbcDriver2.testErrorMessages {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/314/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/314/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-314/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 10 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12646847 > Handover more details on exception in hiveserver2 > ------------------------------------------------- > > Key: HIVE-7127 > URL: https://issues.apache.org/jira/browse/HIVE-7127 > Project: Hive > Issue Type: Improvement > Components: JDBC > Reporter: Navis > Assignee: Navis > Priority: Trivial > Attachments: HIVE-7127.1.patch.txt > > > NO_PRECOMMIT_TEST > Currently, JDBC hands over exception message and error codes. But it's not helpful for debugging. > {noformat} > org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:0 cannot recognize input near 'createa' 'asd' '' > at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:121) > at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:109) > at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:231) > at org.apache.hive.beeline.Commands.execute(Commands.java:736) > at org.apache.hive.beeline.Commands.sql(Commands.java:657) > at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:889) > at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:744) > at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:459) > at org.apache.hive.beeline.BeeLine.main(BeeLine.java:442) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.hadoop.util.RunJar.main(RunJar.java:160) > {noformat} > With this patch, JDBC client can get more details on hiveserver2. > {noformat} > Caused by: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:0 cannot recognize input near 'createa' 'asd' '' > at org.apache.hive.service.cli.operation.SQLOperation.prepare(Unknown Source) > at org.apache.hive.service.cli.operation.SQLOperation.run(Unknown Source) > at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(Unknown Source) > at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementAsync(Unknown Source) > at org.apache.hive.service.cli.CLIService.executeStatementAsync(Unknown Source) > at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(Unknown Source) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(Unknown Source) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(Unknown Source) > at org.apache.thrift.ProcessFunction.process(Unknown Source) > at org.apache.thrift.TBaseProcessor.process(Unknown Source) > at org.apache.hive.service.auth.TSetIpAddressProcessor.process(Unknown Source) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)