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 57701174AF for ; Sat, 1 Nov 2014 14:11:34 +0000 (UTC) Received: (qmail 65943 invoked by uid 500); 1 Nov 2014 10:11:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 65873 invoked by uid 500); 1 Nov 2014 10:11:34 -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 65860 invoked by uid 500); 1 Nov 2014 10:11:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 65857 invoked by uid 99); 1 Nov 2014 10:11:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2014 10:11:34 +0000 Date: Sat, 1 Nov 2014 10:11:34 +0000 (UTC) From: "qiaohaijun (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4490) HS2 - 'select null ..' fails with NPE 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-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193052#comment-14193052 ] qiaohaijun commented on HIVE-4490: ---------------------------------- +1 > HS2 - 'select null ..' fails with NPE > ------------------------------------- > > Key: HIVE-4490 > URL: https://issues.apache.org/jira/browse/HIVE-4490 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Thejas M Nair > > Eg, from beeline > {code} > > select null, i from t1 ; > Error: Error running query: java.lang.NullPointerException (state=,code=0) > Error: Error running query: java.lang.NullPointerException (state=,code=0) > {code} > In HS2 log > org.apache.hive.service.cli.HiveSQLException: Error running query: java.lang.NullPointerException > at org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:113) > at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:169) > at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hive.service.cli.session.HiveSessionProxy$1.run(HiveSessionProxy.java:62) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1178) > at org.apache.hadoop.hive.shims.HadoopShimsSecure.doAs(HadoopShimsSecure.java:524) > at org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:57) > at $Proxy8.executeStatement(Unknown Source) > at org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148) > at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:203) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBridge20S.java:565) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) -- This message was sent by Atlassian JIRA (v6.3.4#6332)