From kafka-commits-return-112-apmail-incubator-kafka-commits-archive=incubator.apache.org@incubator.apache.org Mon Oct 3 15:50:03 2011 Return-Path: X-Original-To: apmail-incubator-kafka-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C40AC97A1 for ; Mon, 3 Oct 2011 15:50:03 +0000 (UTC) Received: (qmail 8501 invoked by uid 500); 3 Oct 2011 15:50:03 -0000 Delivered-To: apmail-incubator-kafka-commits-archive@incubator.apache.org Received: (qmail 8471 invoked by uid 500); 3 Oct 2011 15:50:03 -0000 Mailing-List: contact kafka-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-commits@incubator.apache.org Received: (qmail 8462 invoked by uid 99); 3 Oct 2011 15:50:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 15:50:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 15:49:58 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2579723888FD; Mon, 3 Oct 2011 15:49:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1178434 - /incubator/kafka/trunk/bin/kafka-server-start.sh Date: Mon, 03 Oct 2011 15:49:37 -0000 To: kafka-commits@incubator.apache.org From: junrao@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111003154937.2579723888FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: junrao Date: Mon Oct 3 15:49:36 2011 New Revision: 1178434 URL: http://svn.apache.org/viewvc?rev=1178434&view=rev Log: kafka-server-start.sh ignores JMX_PORT; patched by Mathias Herberts; reviewed by Jun Rao; KAFKA-144 Modified: incubator/kafka/trunk/bin/kafka-server-start.sh Modified: incubator/kafka/trunk/bin/kafka-server-start.sh URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-server-start.sh?rev=1178434&r1=1178433&r2=1178434&view=diff ============================================================================== --- incubator/kafka/trunk/bin/kafka-server-start.sh (original) +++ incubator/kafka/trunk/bin/kafka-server-start.sh Mon Oct 3 15:49:36 2011 @@ -6,6 +6,6 @@ then exit 1 fi -export JMX_PORT="9999" +export JMX_PORT=${JMX_PORT:-9999} $(dirname $0)/kafka-run-class.sh kafka.Kafka $@