sijie opened a new issue #1335: LocalBookKeeper doesn't work with metadata 
service uri
URL: https://github.com/apache/bookkeeper/issues/1335
 
 
   
   
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do?
   
   run localbookie
   
   - What did you expect to see?
   
   the localbookie can start normally
   
   - What did you see instead?
   
   ```
   2018-04-11 13:35:56,700 - ERROR - [main:LocalBookKeeper@457] - Exiting
   LocalBookKeeper because of exception in main method
   java.lang.IllegalArgumentException: Illegal character in scheme name at
   index 0: "zk+hierarchical://localhost:2181/ledgers"
       at java.net.URI.create(URI.java:852)
       at
   
org.apache.bookkeeper.bookie.Bookie.instantiateMetadataDriver(Bookie.java:934)
       at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:626)
       at
   org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:115)
       at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:96)
       at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:77)
       at
   
org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:262)
       at
   
org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:158)
       at
   
org.apache.bookkeeper.util.LocalBookKeeper.startLocalBookiesInternal(LocalBookKeeper.java:359)
       at
   org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:454)
   Caused by: java.net.URISyntaxException: Illegal character in scheme name at
   index 0: "zk+hierarchical://localhost:2181/ledgers"
       at java.net.URI$Parser.fail(URI.java:2848)
       at java.net.URI$Parser.checkChars(URI.java:3021)
       at java.net.URI$Parser.checkChar(URI.java:3031)
       at java.net.URI$Parser.parse(URI.java:3047)
       at java.net.URI.<init>(URI.java:588)
       at java.net.URI.create(URI.java:850)
       ... 9 more
   java.lang.IllegalArgumentException: Illegal character in scheme name at
   index 0: "zk+hierarchical://localhost:2181/ledgers"
       at java.net.URI.create(URI.java:852)
       at
   
org.apache.bookkeeper.bookie.Bookie.instantiateMetadataDriver(Bookie.java:934)
       at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:626)
       at
   org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:115)
       at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:96)
       at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:77)
       at
   
org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:262)
       at
   
org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:158)
       at
   
org.apache.bookkeeper.util.LocalBookKeeper.startLocalBookiesInternal(LocalBookKeeper.java:359)
       at
   org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:454)
   Caused by: java.net.URISyntaxException: Illegal character in scheme name at
   index 0: "zk+hierarchical://localhost:2181/ledgers"
       at java.net.URI$Parser.fail(URI.java:2848)
       at java.net.URI$Parser.checkChars(URI.java:3021)
       at java.net.URI$Parser.checkChar(URI.java:3031)
       at java.net.URI$Parser.parse(URI.java:3047)
       at java.net.URI.<init>(URI.java:588)
       at java.net.URI.create(URI.java:850)
       ... 9 more
   [enrico.olivelli@dna101pc231 bookkeeper-all-4.7.0]$ bin/bookkeeper
   localbookie 10
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to