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 #1439] Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl. #1440

Closed
wants to merge 2 commits into from

Conversation

wForget
Copy link
Member

@wForget wForget commented Nov 23, 2021

Why are the changes needed?

Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl. For details: #1439.

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

@yaooqinn
Copy link
Member

  • Check all kyuubi configs *** FAILED ***

3000 java.lang.AssertionError: assertion failed: /home/runner/work/incubator-kyuubi/incubator-kyuubi/docs/deployment/settings.md out of date, please update doc with KYUUBI_UPDATE=1 build/mvn clean install -Pspark-provided -DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration

@wForget
Copy link
Member Author

wForget commented Nov 24, 2021

MySQLAuthPacketSuite:
- encode MySQLHandshakePacket *** FAILED ***
  UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 103, cap: 256) did not equal UnpooledHeapByteBuf(ridx: 0, widx: 103, cap: 103/103) (MySQLCodecHelper.scala:43)
- decode MySQLHandshakeResponse41Packet
- encode MySQLAuthSwitchRequestPacket
- decode MySQLAuthSwitchResponsePacket

@yaooqinn ,it doesn’t seem to be caused by this PR, can you recheck it?

@pan3793
Copy link
Member

pan3793 commented Nov 24, 2021

MySQLAuthPacketSuite:
- encode MySQLHandshakePacket *** FAILED ***
  UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 103, cap: 256) did not equal UnpooledHeapByteBuf(ridx: 0, widx: 103, cap: 103/103) (MySQLCodecHelper.scala:43)
- decode MySQLHandshakeResponse41Packet
- encode MySQLAuthSwitchRequestPacket
- decode MySQLAuthSwitchResponsePacket

@yaooqinn ,it doesn’t seem to be caused by this PR, can you recheck it?

Fixed in master by #1442, please rebase master

@codecov-commenter
Copy link

Codecov Report

Merging #1440 (bbbf1f2) into master (c85d640) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1440   +/-   ##
=========================================
  Coverage     58.88%   58.88%           
  Complexity      155      155           
=========================================
  Files           232      232           
  Lines         11931    11931           
  Branches       1460     1460           
=========================================
  Hits           7026     7026           
  Misses         4313     4313           
  Partials        592      592           

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 c85d640...bbbf1f2. Read the comment docs.

@yaooqinn yaooqinn closed this in b7e94ff Nov 24, 2021
@yaooqinn yaooqinn added this to the v1.4.0 milestone Nov 24, 2021
yaooqinn pushed a commit that referenced this pull request Nov 24, 2021
…ubi-ctl.

<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->

Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl. For details: #1439.

### _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

- [X] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1440 from wForget/KYUUBI-1439.

Closes #1439

bbbf1f2 [wForget] [KYUUBI-1439] Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl. update settings.md
da7779a [wForget] [KYUUBI-1439] Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl.

Authored-by: wForget <643348094@qq.com>
Signed-off-by: Kent Yao <yao@apache.org>
(cherry picked from commit b7e94ff)
Signed-off-by: Kent Yao <yao@apache.org>
@yaooqinn
Copy link
Member

thanks merged to master and 1.4

turboFei pushed a commit that referenced this pull request Nov 24, 2021
…ubi-ctl.

<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->

Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl. For details: #1439.

### _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

- [X] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1440 from wForget/KYUUBI-1439.

Closes #1439

bbbf1f2 [wForget] [KYUUBI-1439] Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl. update settings.md
da7779a [wForget] [KYUUBI-1439] Add KYUUBI_CTL_JAVA_OPTS to configure java opts of kyuubi-ctl.

Authored-by: wForget <643348094@qq.com>
Signed-off-by: Kent Yao <yao@apache.org>
(cherry picked from commit b7e94ff)
Signed-off-by: Kent Yao <yao@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants