[ https://issues.apache.org/jira/browse/STORM-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Abreu updated STORM-3542: ----------------------------- Description: When {code:ruby} ui.disable.spout.lag.monitoring: false {code} storm-kafka-monitor execution fails with {code:java} Could not find or load main class org.apache.storm.kafka.monitor.KafkaOffsetLagUtil" {code} storm-kafka-monitor contains the following instruction: {code:bash} exec $JAVA $STORM_JAAS_CONF_PARAM $STORM_JAR_JVM_OPTS -cp $STORM_BASE_DIR/toollib/storm-kafka-monitor-*.jar org.apache.storm.kafka.monitor.KafkaOffsetLagUtil "$@"{code} When it should contain this one: {code:bash} exec $JAVA -Xms64m -Xmx64m $STORM_JAAS_CONF_PARAM -cp "$STORM_BASE_DIR/lib-tools/storm-kafka-monitor/*" org.apache.storm.kafka.monitor.KafkaOffsetLagUtil "$@" {code} was: When {code:ruby} ui.disable.spout.lag.monitoring: false {code} storm-kafka-monitor execution fails with {code:java} Could not find or load main class org.apache.storm.kafka.monitor.KafkaOffsetLagUtil" {code} storm-kafka-monitor contains the following instruction: {code:bash} exec $JAVA $STORM_JAAS_CONF_PARAM $STORM_JAR_JVM_OPTS -cp "$STORM_BASE_DIR/lib-tools/storm-kafka-monitor/*" org.apache.storm.kafka.monitor.KafkaOffsetLagUtil "$@"{code} When it should contain this one: {code:bash} exec $JAVA -Xms64m -Xmx64m $STORM_JAAS_CONF_PARAM -cp "$STORM_BASE_DIR/lib-tools/storm-kafka-monitor/*" org.apache.storm.kafka.monitor.KafkaOffsetLagUtil "$@" {code} > storm-kafka-monitor has wrong classpath > --------------------------------------- > > Key: STORM-3542 > URL: https://issues.apache.org/jira/browse/STORM-3542 > Project: Apache Storm > Issue Type: Bug > Components: storm-kaka-monitor > Affects Versions: 2.1.0 > Reporter: Rui Abreu > Priority: Major > > When > {code:ruby} > ui.disable.spout.lag.monitoring: false > {code} > storm-kafka-monitor execution fails with > {code:java} > Could not find or load main class > org.apache.storm.kafka.monitor.KafkaOffsetLagUtil" > {code} > > storm-kafka-monitor contains the following instruction: > {code:bash} > exec $JAVA $STORM_JAAS_CONF_PARAM $STORM_JAR_JVM_OPTS -cp > $STORM_BASE_DIR/toollib/storm-kafka-monitor-*.jar > org.apache.storm.kafka.monitor.KafkaOffsetLagUtil "$@"{code} > When it should contain this one: > {code:bash} > exec $JAVA -Xms64m -Xmx64m $STORM_JAAS_CONF_PARAM -cp > "$STORM_BASE_DIR/lib-tools/storm-kafka-monitor/*" > org.apache.storm.kafka.monitor.KafkaOffsetLagUtil "$@" > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)