From 6bed63312118eb2dbd34cad78de4fa90b8810453 Mon Sep 17 00:00:00 2001 From: Himanshu Gupta Date: Fri, 6 Nov 2015 00:40:51 -0600 Subject: [PATCH] do not use LoggingProcessIndicator in IndexGeneratorJob because that uses Stopwatch methods from guava not available in older guava versions, this makes the behavior same as LegacyIndexGeneratorJob --- .../src/main/java/io/druid/indexer/IndexGeneratorJob.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java b/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java index 97a33bf5b09..efa24f9cc5f 100644 --- a/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java +++ b/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java @@ -35,7 +35,7 @@ import io.druid.data.input.Row; import io.druid.data.input.Rows; import io.druid.indexer.hadoop.SegmentInputRow; import io.druid.query.aggregation.AggregatorFactory; -import io.druid.segment.LoggingProgressIndicator; +import io.druid.segment.BaseProgressIndicator; import io.druid.segment.ProgressIndicator; import io.druid.segment.QueryableIndex; import io.druid.segment.incremental.IncrementalIndex; @@ -446,7 +446,7 @@ public class IndexGeneratorJob implements Jobby protected ProgressIndicator makeProgressIndicator(final Context context) { - return new LoggingProgressIndicator("IndexGeneratorJob") + return new BaseProgressIndicator() { @Override public void progress()