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 2021/12/02 10:41:48 UTC

[GitHub] [pulsar] murong00 opened a new pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

murong00 opened a new pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089


   ### Motivation
   
   Currently, the bookkeeper client used by can not be initialized correctly when using a separated bookkeeper cluster via `bookkeeperMetadataServiceUri` whose zookkeeper connection may be different with pulsar zookkeeper servers.  e.g.
   ```
   17:08:07.661 [ForkJoinPool.commonPool-worker-43] WARN  org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl - Failed to find 1 bookies : excludeBookies [], allBookies [].
   17:08:07.662 [ForkJoinPool.commonPool-worker-43] ERROR org.apache.bookkeeper.client.LedgerCreateOp - Not enough bookies to create ledger with ensembleSize=1, writeQuorumSize=1 and ackQuorumSize=1
   17:08:07.662 [ForkJoinPool.commonPool-worker-43] ERROR org.apache.distributedlog.bk.SimpleLedgerAllocator - Error creating ledger for allocating /kobe/pulsar/packages/function/public/default/redis/v1.0/meta/<default>/allocation :
   org.apache.bookkeeper.client.BKException$BKNotEnoughBookiesException: Not enough non-faulty bookies available
           at org.apache.bookkeeper.client.BKException.create(BKException.java:72) ~[org.apache.bookkeeper-bookkeeper-server-4.14.3.jar:4.14.3]
           at org.apache.distributedlog.BookKeeperClient$1.createComplete(BookKeeperClient.java:223) ~[org.apache.distributedlog-distributedlog-core-4.14.3.jar:4.14.3]
           at org.apache.bookkeeper.client.LedgerCreateOp.createComplete(LedgerCreateOp.java:272) ~[org.apache.bookkeeper-bookkeeper-server-4.14.3.jar:4.14.3]
           at org.apache.bookkeeper.client.LedgerCreateOp.initiate(LedgerCreateOp.java:166) ~[org.apache.bookkeeper-bookkeeper-server-4.14.3.jar:4.14.3]
   ```
   ### Modifications
   
   Use the correct `BKDLConfig` from property `bookkeeperMetadataServiceUri`.
   
   
   


-- 
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] murong00 commented on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 commented on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-986454455


   /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] codelipenghui merged pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089


   


-- 
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] murong00 commented on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 commented on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-985195462


   /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 #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

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


   @murong00:Thanks for your contribution. For this PR, do we need to update docs?
   (The [PR template contains info about doc](https://github.com/apache/pulsar/blob/master/.github/PULL_REQUEST_TEMPLATE.md#documentation), which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)


-- 
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] murong00 commented on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 commented on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-985142559


   /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] murong00 commented on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 commented on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-985236297


   /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] murong00 commented on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 commented on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-985576709


   @codelipenghui Please help to take a look, thanks.


-- 
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] murong00 commented on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 commented on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-986360199


   /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] murong00 commented on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 commented on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-986619005


   @codelipenghui PTAL, thanks!


-- 
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] murong00 removed a comment on pull request #13089: [pulsar-package-management] Support to access a separated bookkeeper cluster

Posted by GitBox <gi...@apache.org>.
murong00 removed a comment on pull request #13089:
URL: https://github.com/apache/pulsar/pull/13089#issuecomment-985142559


   /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