From 06e09a1eb5b3af880ccf93c312282a553ca81c04 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Wed, 15 May 2013 01:27:05 -0700 Subject: [PATCH] HadoopDruidIndexerJob: Logic is hard --- .../java/com/metamx/druid/indexer/HadoopDruidIndexerJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerJob.java b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerJob.java index b1eb877205a..d9dc0bb1e11 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerJob.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerJob.java @@ -102,7 +102,7 @@ public class HadoopDruidIndexerJob implements Jobby } } - if (failedMessage != null) { + if (failedMessage == null) { publishedSegments = IndexGeneratorJob.getPublishedSegments(config); }