You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2019/11/05 00:24:41 UTC

[GitHub] [bookkeeper] NavidMitchell edited a comment on issue #2194: Creating namespace throws error

NavidMitchell edited a comment on issue #2194: Creating namespace throws error
URL: https://github.com/apache/bookkeeper/issues/2194#issuecomment-549600327
 
 
   It turns out this was noob mistake. Missed this in the docs. I missed this since these docs are terribly outdated and I had been not using them as a reference.. 
   
   
   Step 3: Create a DistributedLog namespace
   
   Before using distributedlog, you need to create a distributedlog namespace to store your own list of streams. The zkServer for the local sandbox is 127.0.0.1:7000 and the bookkeeper's ledgers path is /ledgers. You could create a namespace pointing to the corresponding bookkeeper cluster.
   
   > ./distributedlog-proxy-server/bin/dlog admin bind -l /ledgers -s 127.0.0.1:7000 -c distributedlog://127.0.0.1:7000/messaging/my_namespace
   No bookkeeper is bound to distributedlog://127.0.0.1:7000/messaging/my_namespace
   Created binding on distributedlog://127.0.0.1:7000/messaging/my_namespace.
   
   If you don't want to create a separated namespace, you could use the default namespace distributedlog://127.0.0.1:7000/messaging/distributedlog.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services