[ 
https://issues.apache.org/jira/browse/HIVE-21730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840522#comment-16840522
 ] 

Hive QA commented on HIVE-21730:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12968785/HIVE-21730.01.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 16010 tests passed

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/17225/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17225/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17225/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12968785 - PreCommit-HIVE-Build

> HiveStatement.getQueryId throws TProtocolException when response is null.
> -------------------------------------------------------------------------
>
>                 Key: HIVE-21730
>                 URL: https://issues.apache.org/jira/browse/HIVE-21730
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21730.01.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> HiveStatement.getQueryId is failing with below exception if query is closed 
> concurrently.
> {code}
> 24256 2019-05-14T02:09:01,355  INFO [HiveServer2-Background-Pool: 
> Thread-1829] ql.Driver: Executing 
> command(queryId=hive_20190514020858_530a33d9-0b19-4f72-ae08-b631fb4749cb): 
> create table household_demographics
>  24257 stored as orc as
>  24258 select * from household_demographics_txt
>  24259 2019-05-14T02:09:01,356  INFO [HiveServer2-Background-Pool: 
> Thread-1829] hooks.HiveProtoLoggingHook: Received pre-hook notification for: 
> hive_20190514020858_530a33d9-0b19-4f72-ae08-b631fb4749cb
>  24260 2019-05-14T02:09:01,356 ERROR [HiveServer2-Handler-Pool: Thread-131] 
> server.TThreadPoolServer: Thrift error occurred during processing of message.
>  24261 org.apache.thrift.protocol.TProtocolException: Required field 
> 'queryId' is unset! Struct:TGetQueryIdResp(queryId:null)
>                                                                               
>                                                                               
>                                                                 24216,1       
> 10%
>  24260 2019-05-14T02:09:01,356 ERROR [HiveServer2-Handler-Pool: Thread-131] 
> server.TThreadPoolServer: Thrift error occurred during processing of message.
>  24261 org.apache.thrift.protocol.TProtocolException: Required field 
> 'queryId' is unset! Struct:TGetQueryIdResp(queryId:null)
>  24262         at 
> org.apache.hive.service.rpc.thrift.TGetQueryIdResp.validate(TGetQueryIdResp.java:294)
>  ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24263         at 
> org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result.validate(TCLIService.java:18890)
>  ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24264         at 
> org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result$GetQueryId_resultStandardScheme.write(TCLIService.java:18947)
>  ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24265         at 
> org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result$GetQueryId_resultStandardScheme.write(TCLIService.java:18916)
>  ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24266         at 
> org.apache.hive.service.rpc.thrift.TCLIService$GetQueryId_result.write(TCLIService.java:18867)
>  ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24267         at 
> org.apache.thrift.ProcessFunction.process(ProcessFunction.java:53) 
> ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24268         at 
> org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
> ~[hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24269         at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
>  ~[hive-service-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24270         at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
>  [hive-exec-2.1.0.2.6.5.1150-19.jar:2.1.0.2.6.5.1150-19]
>  24271         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_161]
>  24272         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_161]
>  24273         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to