From e668660a9ca77bc1bfc091967cc10975594d884e Mon Sep 17 00:00:00 2001 From: Fangjin Yang Date: Fri, 9 Nov 2012 15:48:26 -0800 Subject: [PATCH] fix strategy check in indexing coordinator --- .../druid/merger/coordinator/http/IndexerCoordinatorNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/http/IndexerCoordinatorNode.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/http/IndexerCoordinatorNode.java index f7e5fbe6c81..d7ab574b644 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/http/IndexerCoordinatorNode.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/http/IndexerCoordinatorNode.java @@ -480,7 +480,7 @@ public class IndexerCoordinatorNode ), configFactory.build(EC2AutoScalingStrategyConfig.class) ); - } else if (config.getStorageImpl().equalsIgnoreCase("noop")) { + } else if (config.getStrategyImpl().equalsIgnoreCase("noop")) { strategy = new NoopScalingStrategy(); } else { throw new ISE("Invalid strategy implementation: %s",config.getStrategyImpl());