You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/05/11 09:47:48 UTC

[GitHub] [incubator-kyuubi] hddong opened a new pull request, #2633: [KYUUBI #2631] Rename high availability config key to support muti discovery client

hddong opened a new pull request, #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633

   <!--
   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.
   -->
   Rename high availability config key to support muti discovery client
   
   ### _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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1129494288

   cc @yaooqinn @pan3793 
   changes:
   `kyuubi.ha.zookeeper.namespace` -> `kyuubi.ha.discovery.deploy.namespace`
   `kyuubi.ha.zookeeper.quorum` -> `kyuubi.ha.discovery.endpoints`
   `kyuubi.ha.service.discovery.client.class` -> `kyuubi.ha.discovery.client.class`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131459035

   > the code path your provide, I don't know very well but the client.class is duplicated with type
   
   How about
   ```
   kyuubi.ha. type=<zk|etcd|custom>
   kyuubi.ha.custom.class=Optional[String]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131462469

   why is zk so special?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131395000

   is kyuubi.ha.type duplicated with kyuubi.ha.client.class?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131454650

   > > if the class is provided, why do we need an extra type to specify it?
   > 
   > IMO, in project ,we always use type to choice built in classes (such as: auth, evnets).
   > 
   > https://github.com/apache/incubator-kyuubi/blob/33c816240d3c1eee744bad351c5ae25c54f64139/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiServer.scala#L56-L59
   > 
   > 
   > And in `KyuubiServer`, we need `create chroot path if necessary` when ues `ZK`. `ha.type` match may better than `client.class` equals to check if discovery client is zk.
   
   the code path your provide, I don't know very well
   but the client.class is duplicated with type


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131444578

   > if the class is provided, why do we need an extra type to specify it?
   
   IMO, in project ,we always use type to choice built in classes (such as: auth, evnets). 
   https://github.com/apache/incubator-kyuubi/blob/33c816240d3c1eee744bad351c5ae25c54f64139/kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiServer.scala#L56-L59
   And in `KyuubiServer`, we need `create chroot path if necessary` when ues `ZK`. `ha.type` match may better than `client.class` equals to check if discovery client is zk.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong closed pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong closed pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client
URL: https://github.com/apache/incubator-kyuubi/pull/2633


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] codecov-commenter commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1125605389

   # [Codecov](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#2633](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (a796ae7) into [master](https://codecov.io/gh/apache/incubator-kyuubi/commit/e4e88355d73e0ab0c63bd55fdf5297d925690dd3?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (e4e8835) will **decrease** coverage by `0.59%`.
   > The diff coverage is `89.65%`.
   
   > :exclamation: Current head a796ae7 differs from pull request most recent head 5fa3b16. Consider uploading reports for the commit 5fa3b16 to get more accurate results
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #2633      +/-   ##
   ============================================
   - Coverage     64.28%   63.69%   -0.60%     
     Complexity       80       80              
   ============================================
     Files           384      384              
     Lines         18605    18588      -17     
     Branches       2520     2515       -5     
   ============================================
   - Hits          11961    11840     -121     
   - Misses         5505     5627     +122     
   + Partials       1139     1121      -18     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...cala/org/apache/kyuubi/ctl/ServiceControlCli.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWN0bC9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9jdGwvU2VydmljZUNvbnRyb2xDbGkuc2NhbGE=) | `78.18% <50.00%> (ø)` | |
   | [.../scala/org/apache/kyuubi/server/KyuubiServer.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLXNlcnZlci9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9zZXJ2ZXIvS3l1dWJpU2VydmVyLnNjYWxh) | `64.13% <66.66%> (ø)` | |
   | [...apache/kyuubi/ctl/ServiceControlCliArguments.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWN0bC9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9jdGwvU2VydmljZUNvbnRyb2xDbGlBcmd1bWVudHMuc2NhbGE=) | `80.21% <100.00%> (ø)` | |
   | [...la/org/apache/kyuubi/ha/HighAvailabilityConf.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWhhL3NyYy9tYWluL3NjYWxhL29yZy9hcGFjaGUva3l1dWJpL2hhL0hpZ2hBdmFpbGFiaWxpdHlDb25mLnNjYWxh) | `99.00% <100.00%> (+0.09%)` | :arrow_up: |
   | [...org/apache/kyuubi/ha/client/ServiceDiscovery.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWhhL3NyYy9tYWluL3NjYWxhL29yZy9hcGFjaGUva3l1dWJpL2hhL2NsaWVudC9TZXJ2aWNlRGlzY292ZXJ5LnNjYWxh) | `91.66% <100.00%> (ø)` | |
   | [.../ha/client/zookeeper/ZookeeperClientProvider.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWhhL3NyYy9tYWluL3NjYWxhL29yZy9hcGFjaGUva3l1dWJpL2hhL2NsaWVudC96b29rZWVwZXIvWm9va2VlcGVyQ2xpZW50UHJvdmlkZXIuc2NhbGE=) | `68.11% <100.00%> (ø)` | |
   | [...ain/scala/org/apache/kyuubi/engine/EngineRef.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLXNlcnZlci9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9lbmdpbmUvRW5naW5lUmVmLnNjYWxh) | `77.35% <100.00%> (ø)` | |
   | [...c/main/java/org/apache/kyuubi/jdbc/hive/Utils.java](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWhpdmUtamRiYy9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUva3l1dWJpL2pkYmMvaGl2ZS9VdGlscy5qYXZh) | `2.34% <0.00%> (-33.84%)` | :arrow_down: |
   | [...g/apache/kyuubi/session/KyuubiSessionManager.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLXNlcnZlci9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9zZXNzaW9uL0t5dXViaVNlc3Npb25NYW5hZ2VyLnNjYWxh) | `87.65% <0.00%> (-7.41%)` | :arrow_down: |
   | [...k/authz/ranger/RuleReplaceShowObjectCommands.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXh0ZW5zaW9ucy9zcGFyay9reXV1Ymktc3BhcmstYXV0aHovc3JjL21haW4vc2NhbGEvb3JnL2FwYWNoZS9reXV1YmkvcGx1Z2luL3NwYXJrL2F1dGh6L3Jhbmdlci9SdWxlUmVwbGFjZVNob3dPYmplY3RDb21tYW5kcy5zY2FsYQ==) | `50.00% <0.00%> (-6.82%)` | :arrow_down: |
   | ... and [15 more](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [8de2f5f...5fa3b16](https://codecov.io/gh/apache/incubator-kyuubi/pull/2633?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131418081

   > > is kyuubi.ha.type duplicated with kyuubi.ha.client.class?
   > 
   > It will be used when type is custom, and be option
   
   if the class is provided, why do we need an extra type to specify it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1129495393

   kyuubi.ha.zookeeper.namespace -> kyuubi.ha.namespace
   kyuubi.ha.zookeeper.quorum -> kyuubi.ha.endpoints
   kyuubi.ha.service.discovery.client.class -> kyuubi.ha.client.class
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131466524

   check the code in kyuubi server again, it looks like it can be removed(it's a quite rare and odd case) or share with all discovery clients


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131472720

   > check the code in kyuubi server again, it looks like it can be removed(it's a quite rare and odd case) or share with all discovery clients
   
   Ok, will remove it when support etcd.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] yaooqinn commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
yaooqinn commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1135579676

   less is more, I prefer to remain less configurations


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131384314

   > kyuubi.ha.zookeeper.namespace -> kyuubi.ha.namespace
   > kyuubi.ha.zookeeper.quorum -> kyuubi.ha.addresses
   >kyuubi.ha.service.discovery.client.class -> kyuubi.ha.client.class
   
   Changed
   
   >`kyuubi.ha.type=<zookeeper|etcd|custom>
   
   This change had put in the next PR(supoort etcd) and will push resently, we can unify the name of some common configs first.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1135600708

   > less is more, I prefer to remain less configurations
   
   Had revert it.
   now:
   ```scala
   kyuubi.ha.namespace
   kyuubi.ha.addresses
   kyuubi.ha.client.class
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1131396389

   > is kyuubi.ha.type duplicated with kyuubi.ha.client.class?
   
   It wil used when type is custom, and be option


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] pan3793 commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
pan3793 commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1129496846

   WDYT the following style?
   ```
   kyuubi.ha.type=<zookeeper|etcd|custom>
   
   kyuubi.ha.zookeeper.k1=
   kyuubi.ha.zookeeper.k2=
   kyuubi.ha.etcd.k1=
   kyuubi.ha.etcd.k2=
   kyuubi.ha.custom.class=
   kyuubi.ha.custom.k1=
   kyuubi.ha.custom.k2=
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1136630333

   @yaooqinn @pan3793 thanks for review, merging to master


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] hddong commented on pull request #2633: [KYUUBI #2631] Rename high availability config key to support multi discovery client

Posted by GitBox <gi...@apache.org>.
hddong commented on PR #2633:
URL: https://github.com/apache/incubator-kyuubi/pull/2633#issuecomment-1135574115

   @yaooqinn @pan3793 
   The changes:
   ```scala
   kyuubi.ha.type = <zookeeper|custom> // etcd will add when etcd supported
   kyuubi.ha.namespace
   kyuubi.ha.addresses
   kyuubi.ha.custom.class
   ```
   and, removed `create chroot path if necessary`.
   
   `ha.type` may simpler than `class` for user to change discovery client.
   Or if `kyuubi.ha. client.class` is better, will revert it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org