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/05/03 12:15:34 UTC

[GitHub] [bookkeeper] hugomiguelabreu commented on a change in pull request #2081: Added zookeeper host configuration. Closes #1960

hugomiguelabreu commented on a change in pull request #2081: Added zookeeper host configuration. Closes #1960
URL: https://github.com/apache/bookkeeper/pull/2081#discussion_r280751485
 
 

 ##########
 File path: stream/distributedlog/core/src/main/java/org/apache/distributedlog/LocalDLMEmulator.java
 ##########
 @@ -308,13 +308,15 @@ public static URI createDLMURI(String zkServers, String path) throws Exception {
     public static void main(String[] args) throws Exception {
         try {
             if (args.length < 1) {
-                System.out.println("Usage: LocalDLEmulator <zk_port>");
+                System.out.println("Usage: LocalDLEmulator <zk_host> <zk_port>");
                 System.exit(-1);
             }
 
-            final int zkPort = Integer.parseInt(args[0]);
+            final String zkHost = args[0];
+            final int zkPort = Integer.parseInt(args[1]);
 
 Review comment:
   Done 😄

----------------------------------------------------------------
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