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

This commit is contained in:
Himanshu Gupta 2015-11-06 00:40:51 -06:00
parent 379ca87e6a
commit 6bed633121
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ import io.druid.data.input.Row;
import io.druid.data.input.Rows; import io.druid.data.input.Rows;
import io.druid.indexer.hadoop.SegmentInputRow; import io.druid.indexer.hadoop.SegmentInputRow;
import io.druid.query.aggregation.AggregatorFactory; 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.ProgressIndicator;
import io.druid.segment.QueryableIndex; import io.druid.segment.QueryableIndex;
import io.druid.segment.incremental.IncrementalIndex; import io.druid.segment.incremental.IncrementalIndex;
@ -446,7 +446,7 @@ public class IndexGeneratorJob implements Jobby
protected ProgressIndicator makeProgressIndicator(final Context context) protected ProgressIndicator makeProgressIndicator(final Context context)
{ {
return new LoggingProgressIndicator("IndexGeneratorJob") return new BaseProgressIndicator()
{ {
@Override @Override
public void progress() public void progress()