[KYUUBI #2960] TFrontendService.SERVER_VERSION shall be HIVE_CLI_SERVICE_PROTOCOL_V11

### _Why are the changes needed?_
1. bugfix for issue #2960

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #2961 from CavemanIV/kyuubi-2960.

Closes #2960

8aa38eb9 [zhangliang] TFrontendService always use newest hive cli TProtocolVersion
25e5110e [zhangliang] [KYUUBI #2960] TFrontendService.SERVER_VERSION shall be HIVE_CLI_SERVICE_PROTOCOL_V11

Authored-by: zhangliang <zhangliang@trip.com>
Signed-off-by: Fei Wang <fwang12@ebay.com>
(cherry picked from commit cf27278fd9)
Signed-off-by: Fei Wang <fwang12@ebay.com>
This commit is contained in:
zhangliang 2022-06-29 15:01:45 +08:00 committed by Fei Wang
parent ff05cf8934
commit 2580572ebe

View File

@ -544,7 +544,7 @@ private[kyuubi] object TFrontendService {
final val CURRENT_SERVER_CONTEXT = new ThreadLocal[FeServiceServerContext]()
final val SERVER_VERSION = TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V10
final val SERVER_VERSION = TProtocolVersion.values.max
class FeServiceServerContext extends ServerContext {
private var sessionHandle: SessionHandle = _