From fd2506f6a8b19a16d95da51ec6b45f0588c40ad9 Mon Sep 17 00:00:00 2001 From: Oisin Kim Date: Wed, 2 Oct 2013 16:00:31 +0100 Subject: [PATCH 1/2] Typo in package within sample yaml --- conf/storm.yaml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/storm.yaml.example b/conf/storm.yaml.example index 1f1acaa3c..ac03051b9 100644 --- a/conf/storm.yaml.example +++ b/conf/storm.yaml.example @@ -24,7 +24,7 @@ ## Metrics Consumers # topology.metrics.consumer.register: -# - class: "backtype.storm.metrics.LoggingMetricsConsumer" +# - class: "backtype.storm.metric.LoggingMetricsConsumer" # parallelism.hint: 1 # - class: "org.mycompany.MyMetricsConsumer" # parallelism.hint: 1 From c411867ff1312d8c06f636632ca30f9bffc8a91e Mon Sep 17 00:00:00 2001 From: Oisin Kim Date: Wed, 2 Oct 2013 16:00:59 +0100 Subject: [PATCH 2/2] Typo in javadoc, package for class wrong. --- .../src/jvm/backtype/storm/metric/LoggingMetricsConsumer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storm-core/src/jvm/backtype/storm/metric/LoggingMetricsConsumer.java b/storm-core/src/jvm/backtype/storm/metric/LoggingMetricsConsumer.java index 2bff4ff97..9ff61609e 100644 --- a/storm-core/src/jvm/backtype/storm/metric/LoggingMetricsConsumer.java +++ b/storm-core/src/jvm/backtype/storm/metric/LoggingMetricsConsumer.java @@ -15,12 +15,12 @@ * Listens for all metrics, dumps them to log * * To use, add this to your topology's configuration: - * conf.registerMetricsConsumer(backtype.storm.metrics.LoggingMetricsConsumer.class, 1); + * conf.registerMetricsConsumer(backtype.storm.metric.LoggingMetricsConsumer.class, 1); * * Or edit the storm.yaml config file: * * topology.metrics.consumer.register: - * - class: "backtype.storm.metrics.LoggingMetricsConsumer" + * - class: "backtype.storm.metric.LoggingMetricsConsumer" * parallelism.hint: 1 * */