incubator-kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject svn commit: r1178434 - /incubator/kafka/trunk/bin/kafka-server-start.sh
Date Mon, 03 Oct 2011 15:49:37 GMT
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 $@



Mime
View raw message