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

Remove deprecated from description of kyuubi.frontend.bind.host #4005

Closed
wants to merge 2 commits into from

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Dec 19, 2022

Why are the changes needed?

Unlike kyuubi.frontend.bind.port, which is deprecated and replaced by kyuubi.frontend.thrift.binary.bind.port, kyuubi.frontend.bind.host is still encouraged to use, and it can be overwritten by kyuubi.frontend.<protocol>.bind.host, e.g. kyuubi.frontend.thrift.binary.bind.host, kyuubi.frontend.thrift.http.bind.host, kyuubi.frontend.rest.bind.host, kyuubi.frontend.mysql.bind.host

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

@@ -385,7 +385,7 @@ object KyuubiConf {
.createWithDefault(Seq(FrontendProtocols.THRIFT_BINARY.toString))

val FRONTEND_BIND_HOST: OptionalConfigEntry[String] = buildConf("kyuubi.frontend.bind.host")
.doc("(deprecated) Hostname or IP of the machine on which to run the thrift frontend service " +
.doc("Hostname or IP of the machine on which to run the thrift frontend service " +
Copy link
Member

Choose a reason for hiding this comment

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

Not thrift only?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, updated.

@codecov-commenter
Copy link

Codecov Report

Merging #4005 (9c3b127) into master (c577dc7) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #4005      +/-   ##
============================================
- Coverage     52.11%   52.08%   -0.03%     
  Complexity       13       13              
============================================
  Files           541      541              
  Lines         29468    29468              
  Branches       3938     3938              
============================================
- Hits          15357    15349       -8     
- Misses        12709    12715       +6     
- Partials       1402     1404       +2     
Impacted Files Coverage Δ
...in/scala/org/apache/kyuubi/config/KyuubiConf.scala 97.45% <100.00%> (-0.07%) ⬇️
...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala 61.53% <0.00%> (-6.16%) ⬇️
...ache/kyuubi/operation/KyuubiOperationManager.scala 80.00% <0.00%> (-2.67%) ⬇️
...apache/kyuubi/service/TBinaryFrontendService.scala 48.38% <0.00%> (-1.08%) ⬇️
...he/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala 68.50% <0.00%> (-0.56%) ⬇️
...g/apache/kyuubi/operation/BatchJobSubmission.scala 75.47% <0.00%> (ø)
...ain/scala/org/apache/kyuubi/engine/EngineRef.scala 74.40% <0.00%> (+0.80%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pan3793 pan3793 self-assigned this Dec 19, 2022
@pan3793 pan3793 added this to the v1.6.2 milestone Dec 19, 2022
@pan3793 pan3793 closed this in 6e5803c Dec 19, 2022
pan3793 added a commit that referenced this pull request Dec 19, 2022
…bind.host

### _Why are the changes needed?_

Unlike `kyuubi.frontend.bind.port`, which is deprecated and replaced by `kyuubi.frontend.thrift.binary.bind.port`, `kyuubi.frontend.bind.host` is still encouraged to use, and it can be overwritten by `kyuubi.frontend.<protocol>.bind.host`, e.g. `kyuubi.frontend.thrift.binary.bind.host`, `kyuubi.frontend.thrift.http.bind.host`, `kyuubi.frontend.rest.bind.host`, `kyuubi.frontend.mysql.bind.host`

### _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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4005 from pan3793/doc.

Closes #4005

9c3b127 [Cheng Pan] comments
0ef140e [Cheng Pan] Remove deprecated from description of kyuubi.frontend.bind.host

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit 6e5803c)
Signed-off-by: Cheng Pan <chengpan@apache.org>
@pan3793 pan3793 deleted the doc branch January 4, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:documentation Documentation is a feature! module:common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants