cxzl25 commented on pull request #2113:
URL: 
https://github.com/apache/incubator-kyuubi/pull/2113#issuecomment-1066627951


   > is it possible change operation state dynamically through thrift protocol 
version ?
   > 
   > It seems we can check if the thrift protocol version <= 
[HIVE_CLI_SERVICE_PROTOCOL_V8](https://github.com/apache/hive/blob/branch-2.0/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java)
 and disable timeout, since Hive-2.1 introduce 
[HIVE_CLI_SERVICE_PROTOCOL_V9](https://github.com/apache/hive/commit/cfb11f8039c8d9176a77c2c1d7f3624f8d378474)
   
   
   Now I change to directly use the thrift protocol version to decide whether 
to convert `TIMEDOUT_STATE`.
   <= HIVE_CLI_SERVICE_PROTOCOL_V8 and disable timeout
   
   `HIVE_CLI_SERVICE_PROTOCOL_V8` in Hive 2.1.0
   `HIVE_CLI_SERVICE_PROTOCOL_V9` in Hive 2.1.1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to