Skip to content

Commit

Permalink
[KYUUBI #2960] TFrontendService.SERVER_VERSION shall be HIVE_CLI_SERV…
Browse files Browse the repository at this point in the history
…ICE_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

8aa38eb [zhangliang] TFrontendService always use newest hive cli TProtocolVersion
25e5110 [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 cf27278)
Signed-off-by: Fei Wang <fwang12@ebay.com>
  • Loading branch information
CavemanIV authored and turboFei committed Jun 29, 2022
1 parent ff05cf8 commit 2580572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = _
Expand Down

0 comments on commit 2580572

Please sign in to comment.