Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 81134200D56 for ; Tue, 12 Dec 2017 21:52:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7F9E1160C27; Tue, 12 Dec 2017 20:52:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BDAF2160BE7 for ; Tue, 12 Dec 2017 21:52:03 +0100 (CET) Received: (qmail 28497 invoked by uid 500); 12 Dec 2017 20:52:03 -0000 Mailing-List: contact commits-help@pulsar.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.incubator.apache.org Delivered-To: mailing list commits@pulsar.incubator.apache.org Received: (qmail 28485 invoked by uid 99); 12 Dec 2017 20:52:02 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2017 20:52:02 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] sijie commented on a change in pull request #961: Issue 922: allow run bookie together with broker Message-ID: <151311192244.668.4399890172571157750.gitbox@gitbox.apache.org> archived-at: Tue, 12 Dec 2017 20:52:04 -0000 sijie commented on a change in pull request #961: Issue 922: allow run bookie together with broker URL: https://github.com/apache/incubator-pulsar/pull/961#discussion_r156476944 ########## File path: pulsar-broker/src/main/java/org/apache/pulsar/PulsarBrokerStarter.java ########## @@ -44,8 +55,79 @@ private static ServiceConfiguration loadConfig(String configFile) throws Excepti return config; } + private static final Options OPTS = new Options(); + static { + OPTS.addOption("b", "bookie", false, "Run Bookie Server together"); Review comment: It seems the options don't match with `printUsage`. Can you make them consistent? `--run-bookie`, `--run-bookie-autorecovery`, `--bookie-conf` ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services