Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KYUUBI #2960] TFrontendService.SERVER_VERSION shall be HIVE_CLI_SERVICE_PROTOCOL_V11 #2961

Closed
wants to merge 2 commits into from

Conversation

CavemanIV
Copy link
Contributor

@CavemanIV CavemanIV commented Jun 29, 2022

Why are the changes needed?

  1. bugfix for issue [Bug] TFrontendService.SERVER_VERSION shall be HIVE_CLI_SERVICE_PROTOCOL_V11 #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 locally before make a pull request

Copy link
Member

@pan3793 pan3793 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending CI

@pan3793 pan3793 changed the title [Kyuubi #2960] TFrontendService.SERVER_VERSION shall be HIVE_CLI_SERVICE_PROTOCOL_V11 [KYUUBI #2960] TFrontendService.SERVER_VERSION shall be HIVE_CLI_SERVICE_PROTOCOL_V11 Jun 29, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jun 29, 2022

Codecov Report

Merging #2961 (ff4c241) into branch-1.5 (ff05cf8) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head ff4c241 differs from pull request most recent head 25e5110. Consider uploading reports for the commit 25e5110 to get more accurate results

@@               Coverage Diff                @@
##             branch-1.5    #2961      +/-   ##
================================================
- Coverage         61.18%   61.17%   -0.02%     
  Complexity           69       69              
================================================
  Files               302      302              
  Lines             15095    15095              
  Branches           1952     1952              
================================================
- Hits               9236     9234       -2     
  Misses             5080     5080              
- Partials            779      781       +2     
Impacted Files Coverage Δ
...a/org/apache/kyuubi/service/TFrontendService.scala 92.77% <ø> (ø)
...ache/kyuubi/operation/KyuubiOperationManager.scala 92.50% <0.00%> (-2.50%) ⬇️
...in/scala/org/apache/kyuubi/config/KyuubiConf.scala 96.26% <0.00%> (-0.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff05cf8...25e5110. Read the comment docs.

@CavemanIV CavemanIV changed the base branch from branch-1.5 to master June 29, 2022 05:58
@@ -623,7 +623,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.HIVE_CLI_SERVICE_PROTOCOL_V11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use TProtocolVersion.values.max once and for all

@turboFei turboFei closed this in cf27278 Jun 29, 2022
turboFei pushed a commit that referenced this pull request Jun 29, 2022
…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>
@turboFei turboFei modified the milestones: 1.5.3, v1.6.0 Jun 29, 2022
@turboFei
Copy link
Member

thanks, merged to branch-1.5 and master

@turboFei
Copy link
Member

turboFei commented Jun 29, 2022

Hi @CavemanIV

could you bind the email(zhangliang@trip.com) with your github account?

Now your account is not bound.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants