You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/23 11:15:17 UTC

[GitHub] [pulsar] wangjialing218 opened a new pull request, #15717: Add bk rack info setting in cluster metadata setup

wangjialing218 opened a new pull request, #15717:
URL: https://github.com/apache/pulsar/pull/15717

   ### Motivation
   
   Currently we have only Admin API  `Bookies.updateBookieRackInfo()` to config rack info. 
   If we want to setup up a pulsar cluster with some rack info config, we need to start brokers first,  wait for brokers start, then call Admin API.
   It's better to provide a way to do the config before start brokers to make the deployment more easier.
   
   ### Modifications
   
   Add rack info setting in cluster metadata setup like:
   ```
   bin/pulsar initialize-cluster-metadata \
                   --cluster clusterName \
                   --zookeeper 127.0.0.1:2181 \
                   --configuration-store 127.0.0.1:2181 \
                   --web-service-url http://127.0.0.1:8080 \
                   --broker-service-url pulsar://127.0.0.1:6650 \
                   --rack-info address:127.0.0.1:3181,rack:/rack1;address:127.0.0.2:3181,rack:/rack2
   ```
   
   ### Verifying this change
   This change added tests and can be verified as follows:
   ClusterMetadataSetupTest.testSetupWithBkRackInfo
   
   ### Documentation
   
   - [x] `doc-required` 
   (Your PR needs to update docs and you will update later)
     


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] wangjialing218 commented on pull request #15717: Add bk rack info setting in cluster metadata setup

Posted by GitBox <gi...@apache.org>.
wangjialing218 commented on PR #15717:
URL: https://github.com/apache/pulsar/pull/15717#issuecomment-1159914805

   /pulsarbot run-failure-checks


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] wangjialing218 closed pull request #15717: Add bk rack info setting in cluster metadata setup

Posted by GitBox <gi...@apache.org>.
wangjialing218 closed pull request #15717: Add bk rack info setting in cluster metadata setup 
URL: https://github.com/apache/pulsar/pull/15717


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] wangjialing218 commented on pull request #15717: Add bk rack info setting in cluster metadata setup

Posted by GitBox <gi...@apache.org>.
wangjialing218 commented on PR #15717:
URL: https://github.com/apache/pulsar/pull/15717#issuecomment-1135498637

   /pulsarbot run-failure-checks


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] github-actions[bot] commented on pull request #15717: Add bk rack info setting in cluster metadata setup

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #15717:
URL: https://github.com/apache/pulsar/pull/15717#issuecomment-1218915954

   The pr had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

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