You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2015/09/25 09:50:04 UTC
[jira] [Commented] (HIVE-10646) ColumnValue does not handle
NULL_TYPE
[ https://issues.apache.org/jira/browse/HIVE-10646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907764#comment-14907764 ]
Lefty Leverenz commented on HIVE-10646:
---------------------------------------
Version note: This was also committed to branch-1.0 (for release 1.0.2) on September 24 with commit 0bb08b3cd86b9ddb3085552e3693d6e874efb1da and branch-1.2 (for release 1.2.2) on September 1 with commit b9a446485d1ab9b40426b4948ceb3ab531133617.
> ColumnValue does not handle NULL_TYPE
> -------------------------------------
>
> Key: HIVE-10646
> URL: https://issues.apache.org/jira/browse/HIVE-10646
> Project: Hive
> Issue Type: Bug
> Components: Thrift API
> Reporter: Yongzhi Chen
> Assignee: Yongzhi Chen
> Fix For: 1.3.0, 2.0.0
>
> Attachments: HIVE-10646.1.patch
>
>
> This will cause NPE if the thrift client use protocol V5 or older:
> {noformat}
> 1:46:07.199 PM ERROR org.apache.thrift.server.TThreadPoolServer
> Error occurred during processing of message.
> java.lang.NullPointerException
> at org.apache.hive.service.cli.thrift.TRow$TRowStandardScheme.write(TRow.java:388)
> at org.apache.hive.service.cli.thrift.TRow$TRowStandardScheme.write(TRow.java:338)
> at org.apache.hive.service.cli.thrift.TRow.write(TRow.java:288)
> at org.apache.hive.service.cli.thrift.TRowSet$TRowSetStandardScheme.write(TRowSet.java:605)
> at org.apache.hive.service.cli.thrift.TRowSet$TRowSetStandardScheme.write(TRowSet.java:525)
> at org.apache.hive.service.cli.thrift.TRowSet.write(TRowSet.java:455)
> at org.apache.hive.service.cli.thrift.TFetchResultsResp$TFetchResultsRespStandardScheme.write(TFetchResultsResp.java:550)
> at org.apache.hive.service.cli.thrift.TFetchResultsResp$TFetchResultsRespStandardScheme.write(TFetchResultsResp.java:486)
> at org.apache.hive.service.cli.thrift.TFetchResultsResp.write(TFetchResultsResp.java:412)
> at org.apache.hive.service.cli.thrift.TCLIService$FetchResults_result$FetchResults_resultStandardScheme.write(TCLIService.java:13272)
> at org.apache.hive.service.cli.thrift.TCLIService$FetchResults_result$FetchResults_resultStandardScheme.write(TCLIService.java:13236)
> at org.apache.hive.service.cli.thrift.TCLIService$FetchResults_result.write(TCLIService.java:13187)
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:53)
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
> at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBridge20S.java:677)
> at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Reproduce: Run: select NULL as col, * from jsmall limit 5; from a V5 client (for example some version of Hue).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)