You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "qiaohaijun (JIRA)" <ji...@apache.org> on 2014/11/01 11:11:34 UTC

[jira] [Commented] (HIVE-4490) HS2 - 'select null ..' fails with NPE

    [ 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)