mirror of https://github.com/apache/druid.git
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:
parent
379ca87e6a
commit
6bed633121
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue