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/07/25 10:04:16 UTC

[GitHub] [pulsar] hangc0276 opened a new pull request, #16775: Upgrade the BookKeeper version to 4.12.1

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

   ### Motivation
   When running `bin/bookkeeper shell cookie_update` command, we get the following exception.
   ```
   $ bin/bookkeeper shell cookie_update -h
   JMX enabled by default
   Exception in thread "main" java.lang.NoSuchMethodError: com.beust.jcommander.JCommander.usage(Ljava/lang/StringBuilder;)V
     at org.apache.bookkeeper.tools.framework.Cli.setupCli(Cli.java:142)
     at org.apache.bookkeeper.tools.framework.Cli.<init>(Cli.java:53)
     at org.apache.bookkeeper.tools.framework.Cli.runCli(Cli.java:243)
     at org.apache.bookkeeper.tools.common.BKCommand.apply(BKCommand.java:64)
     at org.apache.bookkeeper.tools.cli.helpers.BookieShellCommand.runCmd(BookieShellCommand.java:46)
     at org.apache.bookkeeper.bookie.BookieShell.run(BookieShell.java:2235)
     at org.apache.bookkeeper.bookie.BookieShell.main(BookieShell.java:2326)
   ```
   
   The reason is that in BookKeeper 4.12.0, it depends on the `com.beust. commander` version `1.48`, however, in Pulsar, we depend on the `com.beust. commander` version `1.78`. The Pulsar depends version overrides the BookKeeper's depends version.  
   
   However, `com.beust. commander` 1.78 version's interface has been changed, which leads to the BookKeeper shell command can't be executed.
   
   In BookKeeper 4.12.1, it upgrades the `com.beust. commander` version to 1.78 in https://github.com/apache/bookkeeper/pull/2523. So we can upgrade BookKeeper dependency from 4.12.0 to 4.12.1 to solve this bug.
   
   ### Modification
   Upgrade the BookKeeper version from 4.12.0 to 4.12.1
   
   
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [ ] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


-- 
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] Technoboy- merged pull request #16775: [branch-2.7] Upgrade the BookKeeper version to 4.12.1

Posted by GitBox <gi...@apache.org>.
Technoboy- merged PR #16775:
URL: https://github.com/apache/pulsar/pull/16775


-- 
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] hangc0276 commented on pull request #16775: Upgrade the BookKeeper version to 4.12.1

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

   /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] hangc0276 commented on pull request #16775: Upgrade the BookKeeper version to 4.12.1

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

   /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