From 6c27cd2e8efd2afd0744ed719aa21d943252c223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Scheibe?= Date: Sun, 7 Apr 2013 23:30:13 +0200 Subject: [PATCH] cleanup - removed unused imports --- client/src/main/java/com/metamx/druid/SearchBinaryFn.java | 1 - .../src/main/java/com/metamx/druid/client/DataSegment.java | 1 - .../src/main/java/com/metamx/druid/client/DruidServer.java | 1 - .../java/com/metamx/druid/client/InventoryManager.java | 1 - .../druid/client/indexing/IndexingServiceClient.java | 1 - client/src/main/java/com/metamx/druid/query/Queries.java | 1 - .../java/com/metamx/druid/query/filter/DimFilters.java | 2 -- .../com/metamx/druid/query/metadata/ColumnAnalysis.java | 1 - .../druid/query/metadata/ListColumnIncluderator.java | 3 --- .../druid/query/search/LexicographicSearchSortSpec.java | 1 - .../com/metamx/druid/query/search/SearchQuerySpec.java | 3 --- .../metamx/druid/query/search/StrlenSearchSortSpec.java | 3 +-- .../com/metamx/druid/query/timeseries/TimeseriesQuery.java | 3 +-- .../query/timeseries/TimeseriesQueryQueryToolChest.java | 1 - .../java/com/metamx/druid/zk/PropertiesZkSerializer.java | 1 - .../com/metamx/druid/aggregation/JavaScriptAggregator.java | 1 - .../druid/aggregation/post/FieldAccessPostAggregator.java | 1 - .../java/com/metamx/druid/jackson/DefaultObjectMapper.java | 4 ---- .../main/java/com/metamx/druid/log/LogLevelAdjuster.java | 4 ---- .../main/java/com/metamx/druid/utils/CompressionUtils.java | 2 -- .../main/java/druid/examples/RandomFirehoseFactory.java | 2 -- .../druid/index/serde/BitmapIndexColumnPartSupplier.java | 1 - .../druid/index/serde/LongGenericColumnSupplier.java | 2 -- .../com/metamx/druid/index/v1/IncrementalIndexAdapter.java | 3 +-- .../main/java/com/metamx/druid/index/v1/IndexMerger.java | 2 -- .../main/java/com/metamx/druid/index/v1/MMappedIndex.java | 1 - .../com/metamx/druid/index/v1/MetricColumnSerializer.java | 2 -- .../main/java/com/metamx/druid/kv/EmptyIndexedInts.java | 1 - .../java/com/metamx/druid/indexer/HadoopDruidIndexer.java | 1 - .../metamx/druid/indexer/HadoopDruidIndexerAzkWrapper.java | 3 --- .../com/metamx/druid/indexer/HadoopDruidIndexerJob.java | 1 - .../com/metamx/druid/indexer/HadoopDruidIndexerNode.java | 1 - .../druid/indexer/granularity/UniformGranularitySpec.java | 3 --- .../druid/indexer/path/GranularUnprocessedPathSpec.java | 3 --- .../com/metamx/druid/indexer/rollup/DataRollupSpec.java | 1 - .../metamx/druid/merger/common/actions/LockListAction.java | 4 ---- .../merger/common/actions/RemoteTaskActionClient.java | 1 - .../druid/merger/common/actions/TaskActionToolbox.java | 1 - .../com/metamx/druid/merger/common/config/TaskConfig.java | 1 - .../com/metamx/druid/merger/coordinator/DbTaskStorage.java | 5 +---- .../metamx/druid/merger/coordinator/LocalTaskRunner.java | 7 ------- .../druid/merger/coordinator/TaskStorageQueryAdapter.java | 1 - .../java/com/metamx/druid/merger/coordinator/ZkWorker.java | 1 - .../coordinator/config/IndexerCoordinatorConfig.java | 2 -- .../druid/merger/coordinator/setup/WorkerSetupData.java | 2 -- .../src/main/java/com/metamx/druid/realtime/Schema.java | 1 - .../main/java/com/metamx/druid/realtime/plumber/Sink.java | 1 - server/src/main/java/com/metamx/TsvToJson.java | 2 -- .../src/main/java/com/metamx/druid/http/ComputeNode.java | 1 - .../main/java/com/metamx/druid/http/RedirectFilter.java | 4 ---- .../java/com/metamx/druid/loading/SingleSegmentLoader.java | 1 - .../java/com/metamx/druid/master/BalancerCostAnalyzer.java | 1 - .../main/java/com/metamx/druid/master/MergerWhitelist.java | 1 - .../main/java/com/metamx/druid/master/rules/LoadRule.java | 1 - .../java/com/metamx/druid/query/QueryRunnerFactory.java | 1 - .../com/metamx/druid/query/group/GroupByQueryEngine.java | 1 - .../com/metamx/druid/query/metadata/SegmentAnalyzer.java | 1 - 57 files changed, 4 insertions(+), 100 deletions(-) diff --git a/client/src/main/java/com/metamx/druid/SearchBinaryFn.java b/client/src/main/java/com/metamx/druid/SearchBinaryFn.java index bf87f20bbb3..b9ebe74b705 100644 --- a/client/src/main/java/com/metamx/druid/SearchBinaryFn.java +++ b/client/src/main/java/com/metamx/druid/SearchBinaryFn.java @@ -26,7 +26,6 @@ import com.metamx.druid.query.search.SearchHit; import com.metamx.druid.query.search.SearchSortSpec; import com.metamx.druid.result.Result; import com.metamx.druid.result.SearchResultValue; -import org.joda.time.DateTime; import java.util.TreeSet; diff --git a/client/src/main/java/com/metamx/druid/client/DataSegment.java b/client/src/main/java/com/metamx/druid/client/DataSegment.java index 2c0a8d14acc..fec47128cf7 100644 --- a/client/src/main/java/com/metamx/druid/client/DataSegment.java +++ b/client/src/main/java/com/metamx/druid/client/DataSegment.java @@ -28,7 +28,6 @@ import com.google.common.base.Predicate; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; -import com.google.common.collect.Lists; import com.metamx.common.Granularity; import com.metamx.druid.jackson.CommaListJoinDeserializer; import com.metamx.druid.jackson.CommaListJoinSerializer; diff --git a/client/src/main/java/com/metamx/druid/client/DruidServer.java b/client/src/main/java/com/metamx/druid/client/DruidServer.java index ff565e04fce..934028d5a78 100644 --- a/client/src/main/java/com/metamx/druid/client/DruidServer.java +++ b/client/src/main/java/com/metamx/druid/client/DruidServer.java @@ -24,7 +24,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.collect.ImmutableMap; import com.metamx.common.logger.Logger; -import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; diff --git a/client/src/main/java/com/metamx/druid/client/InventoryManager.java b/client/src/main/java/com/metamx/druid/client/InventoryManager.java index 2b19bbe80f5..63dc3a8e083 100644 --- a/client/src/main/java/com/metamx/druid/client/InventoryManager.java +++ b/client/src/main/java/com/metamx/druid/client/InventoryManager.java @@ -28,7 +28,6 @@ import com.metamx.phonebook.PhoneBook; import com.metamx.phonebook.PhoneBookPeon; import java.util.Arrays; -import java.util.Collection; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; diff --git a/client/src/main/java/com/metamx/druid/client/indexing/IndexingServiceClient.java b/client/src/main/java/com/metamx/druid/client/indexing/IndexingServiceClient.java index fadc8355f57..d383df69f33 100644 --- a/client/src/main/java/com/metamx/druid/client/indexing/IndexingServiceClient.java +++ b/client/src/main/java/com/metamx/druid/client/indexing/IndexingServiceClient.java @@ -21,7 +21,6 @@ package com.metamx.druid.client.indexing; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Throwables; -import com.google.common.collect.ImmutableMap; import com.metamx.common.IAE; import com.metamx.common.ISE; import com.metamx.druid.client.DataSegment; diff --git a/client/src/main/java/com/metamx/druid/query/Queries.java b/client/src/main/java/com/metamx/druid/query/Queries.java index ae5f958b563..0ebc18e64fd 100644 --- a/client/src/main/java/com/metamx/druid/query/Queries.java +++ b/client/src/main/java/com/metamx/druid/query/Queries.java @@ -20,7 +20,6 @@ package com.metamx.druid.query; import com.google.common.base.Function; -import com.google.common.base.Joiner; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; import com.google.common.collect.Sets; diff --git a/client/src/main/java/com/metamx/druid/query/filter/DimFilters.java b/client/src/main/java/com/metamx/druid/query/filter/DimFilters.java index 8a245dab7d0..0b74f443c3e 100644 --- a/client/src/main/java/com/metamx/druid/query/filter/DimFilters.java +++ b/client/src/main/java/com/metamx/druid/query/filter/DimFilters.java @@ -20,10 +20,8 @@ package com.metamx.druid.query.filter; import com.google.common.base.Function; -import com.google.common.collect.Iterables; import com.google.common.collect.Lists; -import javax.annotation.Nullable; import java.util.Arrays; import java.util.List; diff --git a/client/src/main/java/com/metamx/druid/query/metadata/ColumnAnalysis.java b/client/src/main/java/com/metamx/druid/query/metadata/ColumnAnalysis.java index 63bb0ed19e4..01a54a1fbc2 100644 --- a/client/src/main/java/com/metamx/druid/query/metadata/ColumnAnalysis.java +++ b/client/src/main/java/com/metamx/druid/query/metadata/ColumnAnalysis.java @@ -21,7 +21,6 @@ package com.metamx.druid.query.metadata; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; -import com.google.common.base.Preconditions; import com.metamx.druid.index.column.ValueType; /** diff --git a/client/src/main/java/com/metamx/druid/query/metadata/ListColumnIncluderator.java b/client/src/main/java/com/metamx/druid/query/metadata/ListColumnIncluderator.java index ea200c49333..d6f4b99d74b 100644 --- a/client/src/main/java/com/metamx/druid/query/metadata/ListColumnIncluderator.java +++ b/client/src/main/java/com/metamx/druid/query/metadata/ListColumnIncluderator.java @@ -22,12 +22,9 @@ package com.metamx.druid.query.metadata; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Charsets; -import com.google.common.base.Throwables; import com.google.common.collect.Lists; import com.google.common.collect.Sets; -import java.io.ByteArrayOutputStream; -import java.io.IOException; import java.nio.ByteBuffer; import java.util.Collections; import java.util.List; diff --git a/client/src/main/java/com/metamx/druid/query/search/LexicographicSearchSortSpec.java b/client/src/main/java/com/metamx/druid/query/search/LexicographicSearchSortSpec.java index 65c5539370c..99ac489cadd 100644 --- a/client/src/main/java/com/metamx/druid/query/search/LexicographicSearchSortSpec.java +++ b/client/src/main/java/com/metamx/druid/query/search/LexicographicSearchSortSpec.java @@ -22,7 +22,6 @@ package com.metamx.druid.query.search; import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Comparator; -import java.util.Map; /** */ diff --git a/client/src/main/java/com/metamx/druid/query/search/SearchQuerySpec.java b/client/src/main/java/com/metamx/druid/query/search/SearchQuerySpec.java index 9e039213e5b..68eb86dfb73 100644 --- a/client/src/main/java/com/metamx/druid/query/search/SearchQuerySpec.java +++ b/client/src/main/java/com/metamx/druid/query/search/SearchQuerySpec.java @@ -21,9 +21,6 @@ package com.metamx.druid.query.search; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.google.common.base.Predicate; - -import java.util.List; /** */ diff --git a/client/src/main/java/com/metamx/druid/query/search/StrlenSearchSortSpec.java b/client/src/main/java/com/metamx/druid/query/search/StrlenSearchSortSpec.java index bef5de85726..e269c241f2d 100644 --- a/client/src/main/java/com/metamx/druid/query/search/StrlenSearchSortSpec.java +++ b/client/src/main/java/com/metamx/druid/query/search/StrlenSearchSortSpec.java @@ -20,7 +20,6 @@ package com.metamx.druid.query.search; import java.util.Comparator; -import java.util.Map; /** */ @@ -50,4 +49,4 @@ public class StrlenSearchSortSpec implements SearchSortSpec { return "stringLengthSort"; } -} \ No newline at end of file +} diff --git a/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQuery.java b/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQuery.java index ff55a79b65a..10fd403ef83 100644 --- a/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQuery.java +++ b/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQuery.java @@ -22,7 +22,6 @@ package com.metamx.druid.query.timeseries; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeName; -import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.metamx.druid.BaseQuery; import com.metamx.druid.Query; @@ -129,7 +128,7 @@ public class TimeseriesQuery extends BaseQuery> computeOverridenContext(contextOverrides) ); } - + @Override public String toString() { diff --git a/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQueryQueryToolChest.java b/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQueryQueryToolChest.java index bef34d9a2da..c731bf1b166 100644 --- a/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQueryQueryToolChest.java +++ b/client/src/main/java/com/metamx/druid/query/timeseries/TimeseriesQueryQueryToolChest.java @@ -51,7 +51,6 @@ import org.joda.time.DateTime; import org.joda.time.Interval; import org.joda.time.Minutes; import org.joda.time.Period; -import org.joda.time.format.ISODateTimeFormat; import javax.annotation.Nullable; import java.nio.ByteBuffer; diff --git a/client/src/main/java/com/metamx/druid/zk/PropertiesZkSerializer.java b/client/src/main/java/com/metamx/druid/zk/PropertiesZkSerializer.java index 036a8dc5055..47f47dd63b7 100644 --- a/client/src/main/java/com/metamx/druid/zk/PropertiesZkSerializer.java +++ b/client/src/main/java/com/metamx/druid/zk/PropertiesZkSerializer.java @@ -24,7 +24,6 @@ import org.I0Itec.zkclient.exception.ZkMarshallingError; import org.I0Itec.zkclient.serialize.ZkSerializer; import java.io.*; -import java.nio.charset.Charset; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Properties; diff --git a/common/src/main/java/com/metamx/druid/aggregation/JavaScriptAggregator.java b/common/src/main/java/com/metamx/druid/aggregation/JavaScriptAggregator.java index d24277660bf..dbb1a85bbb5 100644 --- a/common/src/main/java/com/metamx/druid/aggregation/JavaScriptAggregator.java +++ b/common/src/main/java/com/metamx/druid/aggregation/JavaScriptAggregator.java @@ -21,7 +21,6 @@ package com.metamx.druid.aggregation; import com.google.common.collect.Lists; import com.metamx.druid.processing.FloatMetricSelector; -import org.mozilla.javascript.Context; import java.util.List; diff --git a/common/src/main/java/com/metamx/druid/aggregation/post/FieldAccessPostAggregator.java b/common/src/main/java/com/metamx/druid/aggregation/post/FieldAccessPostAggregator.java index 4e9f375242e..a06bf0cf891 100644 --- a/common/src/main/java/com/metamx/druid/aggregation/post/FieldAccessPostAggregator.java +++ b/common/src/main/java/com/metamx/druid/aggregation/post/FieldAccessPostAggregator.java @@ -22,7 +22,6 @@ package com.metamx.druid.aggregation.post; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.collect.Sets; -import com.metamx.common.ISE; import java.util.Comparator; import java.util.Map; diff --git a/common/src/main/java/com/metamx/druid/jackson/DefaultObjectMapper.java b/common/src/main/java/com/metamx/druid/jackson/DefaultObjectMapper.java index 7c0d1fdca7a..c8e7ab0ab40 100644 --- a/common/src/main/java/com/metamx/druid/jackson/DefaultObjectMapper.java +++ b/common/src/main/java/com/metamx/druid/jackson/DefaultObjectMapper.java @@ -24,27 +24,23 @@ import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.Version; -import com.fasterxml.jackson.databind.DeserializationConfig; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.MapperFeature; import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.SerializationConfig; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.module.SimpleModule; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.datatype.guava.GuavaModule; -import com.fasterxml.jackson.datatype.joda.JodaModule; import com.google.common.base.Throwables; import com.metamx.common.Granularity; import com.metamx.common.guava.Accumulator; import com.metamx.common.guava.Sequence; import org.joda.time.DateTimeZone; -import org.skife.jdbi.v2.sqlobject.customizers.Mapper; import java.io.IOException; import java.nio.ByteOrder; diff --git a/common/src/main/java/com/metamx/druid/log/LogLevelAdjuster.java b/common/src/main/java/com/metamx/druid/log/LogLevelAdjuster.java index ccfae251ac4..87a932f4fb3 100644 --- a/common/src/main/java/com/metamx/druid/log/LogLevelAdjuster.java +++ b/common/src/main/java/com/metamx/druid/log/LogLevelAdjuster.java @@ -22,10 +22,6 @@ package com.metamx.druid.log; import org.apache.log4j.Level; import org.apache.log4j.Logger; -import javax.management.InstanceAlreadyExistsException; -import javax.management.MBeanRegistrationException; -import javax.management.MalformedObjectNameException; -import javax.management.NotCompliantMBeanException; import javax.management.ObjectName; import java.lang.management.ManagementFactory; diff --git a/common/src/main/java/com/metamx/druid/utils/CompressionUtils.java b/common/src/main/java/com/metamx/druid/utils/CompressionUtils.java index bb44f05e495..60d7ab48da1 100644 --- a/common/src/main/java/com/metamx/druid/utils/CompressionUtils.java +++ b/common/src/main/java/com/metamx/druid/utils/CompressionUtils.java @@ -25,12 +25,10 @@ import com.google.common.io.Files; import com.metamx.common.ISE; import com.metamx.common.StreamUtils; import com.metamx.common.logger.Logger; -import sun.misc.IOUtils; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; -import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; diff --git a/examples/rand/src/main/java/druid/examples/RandomFirehoseFactory.java b/examples/rand/src/main/java/druid/examples/RandomFirehoseFactory.java index 4eab8feee7b..3f99a472979 100644 --- a/examples/rand/src/main/java/druid/examples/RandomFirehoseFactory.java +++ b/examples/rand/src/main/java/druid/examples/RandomFirehoseFactory.java @@ -5,14 +5,12 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeName; import com.google.common.collect.Maps; import com.metamx.common.logger.Logger; -import com.metamx.druid.guava.Runnables; import com.metamx.druid.input.InputRow; import com.metamx.druid.input.MapBasedInputRow; import com.metamx.druid.realtime.Firehose; import com.metamx.druid.realtime.FirehoseFactory; import java.io.IOException; -import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Random; diff --git a/index-common/src/main/java/com/metamx/druid/index/serde/BitmapIndexColumnPartSupplier.java b/index-common/src/main/java/com/metamx/druid/index/serde/BitmapIndexColumnPartSupplier.java index 2381639a0a8..dba6b7fcf91 100644 --- a/index-common/src/main/java/com/metamx/druid/index/serde/BitmapIndexColumnPartSupplier.java +++ b/index-common/src/main/java/com/metamx/druid/index/serde/BitmapIndexColumnPartSupplier.java @@ -22,7 +22,6 @@ package com.metamx.druid.index.serde; import com.google.common.base.Supplier; import com.metamx.druid.index.column.BitmapIndex; import com.metamx.druid.kv.GenericIndexed; -import com.metamx.druid.kv.Indexed; import it.uniroma3.mat.extendedset.intset.ImmutableConciseSet; /** diff --git a/index-common/src/main/java/com/metamx/druid/index/serde/LongGenericColumnSupplier.java b/index-common/src/main/java/com/metamx/druid/index/serde/LongGenericColumnSupplier.java index babdf7949f6..0f080d74564 100644 --- a/index-common/src/main/java/com/metamx/druid/index/serde/LongGenericColumnSupplier.java +++ b/index-common/src/main/java/com/metamx/druid/index/serde/LongGenericColumnSupplier.java @@ -24,8 +24,6 @@ import com.metamx.druid.index.column.GenericColumn; import com.metamx.druid.index.column.IndexedLongsGenericColumn; import com.metamx.druid.index.v1.CompressedLongsIndexedSupplier; -import java.nio.ByteOrder; - /** */ public class LongGenericColumnSupplier implements Supplier diff --git a/index-common/src/main/java/com/metamx/druid/index/v1/IncrementalIndexAdapter.java b/index-common/src/main/java/com/metamx/druid/index/v1/IncrementalIndexAdapter.java index 3da50e3eaea..0baa92b16a1 100644 --- a/index-common/src/main/java/com/metamx/druid/index/v1/IncrementalIndexAdapter.java +++ b/index-common/src/main/java/com/metamx/druid/index/v1/IncrementalIndexAdapter.java @@ -36,7 +36,6 @@ import org.joda.time.Interval; import javax.annotation.Nullable; import java.util.Iterator; -import java.util.List; import java.util.Map; /** @@ -286,4 +285,4 @@ public class IncrementalIndexAdapter implements IndexableAdapter { return index.getMetricType(metric); } -} \ No newline at end of file +} diff --git a/index-common/src/main/java/com/metamx/druid/index/v1/IndexMerger.java b/index-common/src/main/java/com/metamx/druid/index/v1/IndexMerger.java index dc03b8866dd..3c6ea59fc5c 100644 --- a/index-common/src/main/java/com/metamx/druid/index/v1/IndexMerger.java +++ b/index-common/src/main/java/com/metamx/druid/index/v1/IndexMerger.java @@ -69,14 +69,12 @@ import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.ByteBuffer; -import java.nio.ByteOrder; import java.nio.IntBuffer; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; -import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; diff --git a/index-common/src/main/java/com/metamx/druid/index/v1/MMappedIndex.java b/index-common/src/main/java/com/metamx/druid/index/v1/MMappedIndex.java index f23e2b7d061..b354778078f 100644 --- a/index-common/src/main/java/com/metamx/druid/index/v1/MMappedIndex.java +++ b/index-common/src/main/java/com/metamx/druid/index/v1/MMappedIndex.java @@ -27,7 +27,6 @@ import com.metamx.common.logger.Logger; import com.metamx.druid.kv.ConciseCompressedIndexedInts; import com.metamx.druid.kv.GenericIndexed; import com.metamx.druid.kv.Indexed; -import com.metamx.druid.kv.IndexedInts; import com.metamx.druid.kv.IndexedList; import com.metamx.druid.kv.IndexedLongs; import com.metamx.druid.kv.VSizeIndexed; diff --git a/index-common/src/main/java/com/metamx/druid/index/v1/MetricColumnSerializer.java b/index-common/src/main/java/com/metamx/druid/index/v1/MetricColumnSerializer.java index 253ed3cf5a4..2452f820b25 100644 --- a/index-common/src/main/java/com/metamx/druid/index/v1/MetricColumnSerializer.java +++ b/index-common/src/main/java/com/metamx/druid/index/v1/MetricColumnSerializer.java @@ -19,8 +19,6 @@ package com.metamx.druid.index.v1; -import com.metamx.druid.aggregation.Aggregator; - import java.io.IOException; /** diff --git a/index-common/src/main/java/com/metamx/druid/kv/EmptyIndexedInts.java b/index-common/src/main/java/com/metamx/druid/kv/EmptyIndexedInts.java index aaf4d8bffef..cd83f0b481d 100644 --- a/index-common/src/main/java/com/metamx/druid/kv/EmptyIndexedInts.java +++ b/index-common/src/main/java/com/metamx/druid/kv/EmptyIndexedInts.java @@ -21,7 +21,6 @@ package com.metamx.druid.kv; import com.google.common.collect.ImmutableList; -import java.util.Collections; import java.util.Iterator; /** diff --git a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexer.java b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexer.java index 7c347464555..92f0560f1f7 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexer.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexer.java @@ -22,7 +22,6 @@ package com.metamx.druid.indexer; import com.google.common.collect.ImmutableList; import com.metamx.common.Pair; import com.metamx.common.lifecycle.Lifecycle; -import com.metamx.druid.jackson.DefaultObjectMapper; import java.util.List; diff --git a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerAzkWrapper.java b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerAzkWrapper.java index 5318d5cb600..244c1d80901 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerAzkWrapper.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerAzkWrapper.java @@ -21,15 +21,12 @@ package com.metamx.druid.indexer; import com.google.common.collect.Lists; import com.google.common.collect.Maps; -import com.metamx.common.Granularity; import com.metamx.common.MapUtils; import com.metamx.common.logger.Logger; -import com.metamx.druid.indexer.path.GranularityPathSpec; import com.metamx.druid.jackson.DefaultObjectMapper; import org.joda.time.DateTime; import org.joda.time.Interval; -import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Properties; 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 aff1265782a..8dad62cd2c6 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerJob.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerJob.java @@ -19,7 +19,6 @@ package com.metamx.druid.indexer; -import com.google.common.base.Preconditions; import com.google.common.base.Throwables; import com.google.common.collect.Lists; import com.google.common.collect.Maps; diff --git a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerNode.java b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerNode.java index 62441560573..96d8ad7aad8 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerNode.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerNode.java @@ -25,7 +25,6 @@ import com.google.common.collect.Lists; import com.metamx.common.lifecycle.LifecycleStart; import com.metamx.common.lifecycle.LifecycleStop; -import org.joda.time.DateTime; import org.joda.time.Interval; import java.io.File; diff --git a/indexer/src/main/java/com/metamx/druid/indexer/granularity/UniformGranularitySpec.java b/indexer/src/main/java/com/metamx/druid/indexer/granularity/UniformGranularitySpec.java index ec21dd2127a..aee68644154 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/granularity/UniformGranularitySpec.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/granularity/UniformGranularitySpec.java @@ -25,16 +25,13 @@ import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; -import com.google.common.collect.Sets; import com.metamx.common.Granularity; -import com.metamx.common.guava.Comparators; import org.joda.time.DateTime; import org.joda.time.Interval; import java.util.List; import java.util.SortedSet; -import java.util.TreeSet; public class UniformGranularitySpec implements GranularitySpec { diff --git a/indexer/src/main/java/com/metamx/druid/indexer/path/GranularUnprocessedPathSpec.java b/indexer/src/main/java/com/metamx/druid/indexer/path/GranularUnprocessedPathSpec.java index 3bcfb30c31d..1c044432da3 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/path/GranularUnprocessedPathSpec.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/path/GranularUnprocessedPathSpec.java @@ -25,7 +25,6 @@ import com.google.common.collect.Lists; import com.google.common.collect.Sets; import com.metamx.common.Granularity; import com.metamx.common.guava.Comparators; -import com.metamx.druid.common.s3.S3Utils; import com.metamx.druid.indexer.HadoopDruidIndexerConfig; import com.metamx.druid.indexer.granularity.UniformGranularitySpec; import com.metamx.druid.indexer.hadoop.FSSpideringIterator; @@ -34,12 +33,10 @@ import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.mapreduce.Job; -import org.jets3t.service.model.S3Object; import org.joda.time.DateTime; import org.joda.time.Interval; import java.io.IOException; -import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; diff --git a/indexer/src/main/java/com/metamx/druid/indexer/rollup/DataRollupSpec.java b/indexer/src/main/java/com/metamx/druid/indexer/rollup/DataRollupSpec.java index cd40bbf797b..e3c82bfbc03 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/rollup/DataRollupSpec.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/rollup/DataRollupSpec.java @@ -20,7 +20,6 @@ package com.metamx.druid.indexer.rollup; import com.fasterxml.jackson.annotation.JsonProperty; -import com.metamx.common.Granularity; import com.metamx.druid.QueryGranularity; import com.metamx.druid.aggregation.AggregatorFactory; diff --git a/merger/src/main/java/com/metamx/druid/merger/common/actions/LockListAction.java b/merger/src/main/java/com/metamx/druid/merger/common/actions/LockListAction.java index 2d58a883d93..18a05af8ee8 100644 --- a/merger/src/main/java/com/metamx/druid/merger/common/actions/LockListAction.java +++ b/merger/src/main/java/com/metamx/druid/merger/common/actions/LockListAction.java @@ -1,11 +1,7 @@ package com.metamx.druid.merger.common.actions; -import com.google.common.base.Optional; -import com.google.common.base.Throwables; import com.metamx.druid.merger.common.TaskLock; import com.metamx.druid.merger.common.task.Task; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; import java.util.List; diff --git a/merger/src/main/java/com/metamx/druid/merger/common/actions/RemoteTaskActionClient.java b/merger/src/main/java/com/metamx/druid/merger/common/actions/RemoteTaskActionClient.java index d2c761f2770..76c29fe7b27 100644 --- a/merger/src/main/java/com/metamx/druid/merger/common/actions/RemoteTaskActionClient.java +++ b/merger/src/main/java/com/metamx/druid/merger/common/actions/RemoteTaskActionClient.java @@ -18,7 +18,6 @@ import org.joda.time.Duration; import java.io.IOException; import java.net.URI; import java.util.Map; -import java.util.concurrent.ExecutionException; public class RemoteTaskActionClient implements TaskActionClient { diff --git a/merger/src/main/java/com/metamx/druid/merger/common/actions/TaskActionToolbox.java b/merger/src/main/java/com/metamx/druid/merger/common/actions/TaskActionToolbox.java index af8f6dcd40c..0ba45777305 100644 --- a/merger/src/main/java/com/metamx/druid/merger/common/actions/TaskActionToolbox.java +++ b/merger/src/main/java/com/metamx/druid/merger/common/actions/TaskActionToolbox.java @@ -2,7 +2,6 @@ package com.metamx.druid.merger.common.actions; import com.google.common.base.Predicate; import com.google.common.collect.Iterables; -import com.metamx.common.ISE; import com.metamx.druid.client.DataSegment; import com.metamx.druid.merger.common.TaskLock; import com.metamx.druid.merger.common.task.Task; diff --git a/merger/src/main/java/com/metamx/druid/merger/common/config/TaskConfig.java b/merger/src/main/java/com/metamx/druid/merger/common/config/TaskConfig.java index 2bd27667514..2cdef82e9fb 100644 --- a/merger/src/main/java/com/metamx/druid/merger/common/config/TaskConfig.java +++ b/merger/src/main/java/com/metamx/druid/merger/common/config/TaskConfig.java @@ -19,7 +19,6 @@ package com.metamx.druid.merger.common.config; -import com.metamx.druid.merger.common.task.Task; import org.skife.config.Config; import org.skife.config.Default; diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/DbTaskStorage.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/DbTaskStorage.java index 98d16d671e9..4d2e7416013 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/DbTaskStorage.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/DbTaskStorage.java @@ -28,22 +28,19 @@ import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.collect.Maps; -import com.metamx.common.Pair; -import com.metamx.common.logger.Logger; import com.metamx.druid.merger.common.TaskStatus; import com.metamx.druid.merger.common.actions.TaskAction; import com.metamx.druid.merger.common.TaskLock; import com.metamx.druid.merger.common.task.Task; import com.metamx.druid.merger.coordinator.config.IndexerDbConnectorConfig; - import com.metamx.emitter.EmittingLogger; + import org.joda.time.DateTime; import org.skife.jdbi.v2.DBI; import org.skife.jdbi.v2.Handle; import org.skife.jdbi.v2.exceptions.StatementException; import org.skife.jdbi.v2.tweak.HandleCallback; -import javax.annotation.Nullable; import java.util.List; import java.util.Map; diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/LocalTaskRunner.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/LocalTaskRunner.java index b8a40cdb0b4..bcd644b4980 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/LocalTaskRunner.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/LocalTaskRunner.java @@ -21,13 +21,10 @@ package com.metamx.druid.merger.coordinator; import com.google.common.base.Function; import com.google.common.base.Throwables; -import com.google.common.collect.Collections2; import com.google.common.collect.Lists; -import com.google.common.collect.Sets; import com.metamx.common.guava.FunctionalIterable; import com.metamx.common.lifecycle.LifecycleStop; import com.metamx.common.logger.Logger; -import com.metamx.druid.merger.common.RetryPolicy; import com.metamx.druid.merger.common.TaskCallback; import com.metamx.druid.merger.common.TaskStatus; import com.metamx.druid.merger.common.TaskToolbox; @@ -35,13 +32,9 @@ import com.metamx.druid.merger.common.TaskToolboxFactory; import com.metamx.druid.merger.common.task.Task; import org.apache.commons.io.FileUtils; import org.joda.time.DateTime; -import org.mortbay.thread.ThreadPool; -import javax.annotation.Nullable; import java.io.File; import java.util.Collection; -import java.util.Collections; -import java.util.List; import java.util.Set; import java.util.concurrent.ConcurrentSkipListSet; import java.util.concurrent.ExecutorService; diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/TaskStorageQueryAdapter.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/TaskStorageQueryAdapter.java index da8269f140f..983bf47e502 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/TaskStorageQueryAdapter.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/TaskStorageQueryAdapter.java @@ -22,7 +22,6 @@ package com.metamx.druid.merger.coordinator; import com.google.common.base.Function; import com.google.common.base.Optional; import com.google.common.base.Predicate; -import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.collect.Sets; diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/ZkWorker.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/ZkWorker.java index 5ec5651350b..c3f2f1b4d36 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/ZkWorker.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/ZkWorker.java @@ -20,7 +20,6 @@ package com.metamx.druid.merger.coordinator; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Function; import com.google.common.base.Throwables; diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/config/IndexerCoordinatorConfig.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/config/IndexerCoordinatorConfig.java index b727f805bb2..0d8694e30af 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/config/IndexerCoordinatorConfig.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/config/IndexerCoordinatorConfig.java @@ -21,11 +21,9 @@ package com.metamx.druid.merger.coordinator.config; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableSet; -import com.metamx.druid.merger.common.task.Task; import org.skife.config.Config; import org.skife.config.Default; -import java.io.File; import java.util.Set; /** diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/setup/WorkerSetupData.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/setup/WorkerSetupData.java index aae8e54d226..d4384b0cae9 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/setup/WorkerSetupData.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/setup/WorkerSetupData.java @@ -22,8 +22,6 @@ package com.metamx.druid.merger.coordinator.setup; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.List; - /** */ public class WorkerSetupData diff --git a/realtime/src/main/java/com/metamx/druid/realtime/Schema.java b/realtime/src/main/java/com/metamx/druid/realtime/Schema.java index 44242d4dcfb..944908a0868 100644 --- a/realtime/src/main/java/com/metamx/druid/realtime/Schema.java +++ b/realtime/src/main/java/com/metamx/druid/realtime/Schema.java @@ -24,7 +24,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Preconditions; import com.metamx.druid.QueryGranularity; import com.metamx.druid.aggregation.AggregatorFactory; -import com.metamx.druid.index.v1.IndexGranularity; import com.metamx.druid.shard.NoneShardSpec; import com.metamx.druid.shard.ShardSpec; diff --git a/realtime/src/main/java/com/metamx/druid/realtime/plumber/Sink.java b/realtime/src/main/java/com/metamx/druid/realtime/plumber/Sink.java index 865d5df8eb4..039f981e2fe 100644 --- a/realtime/src/main/java/com/metamx/druid/realtime/plumber/Sink.java +++ b/realtime/src/main/java/com/metamx/druid/realtime/plumber/Sink.java @@ -30,7 +30,6 @@ import com.metamx.common.logger.Logger; import com.metamx.druid.aggregation.AggregatorFactory; import com.metamx.druid.client.DataSegment; import com.metamx.druid.index.v1.IncrementalIndex; -import com.metamx.druid.index.v1.IndexIO; import com.metamx.druid.input.InputRow; import com.metamx.druid.realtime.FireHydrant; import com.metamx.druid.realtime.Schema; diff --git a/server/src/main/java/com/metamx/TsvToJson.java b/server/src/main/java/com/metamx/TsvToJson.java index 5821976fcd9..d0778bf1476 100644 --- a/server/src/main/java/com/metamx/TsvToJson.java +++ b/server/src/main/java/com/metamx/TsvToJson.java @@ -23,10 +23,8 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Charsets; import com.google.common.collect.Maps; import com.metamx.common.IAE; -import com.metamx.common.ISE; import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; import java.io.BufferedReader; import java.io.BufferedWriter; diff --git a/server/src/main/java/com/metamx/druid/http/ComputeNode.java b/server/src/main/java/com/metamx/druid/http/ComputeNode.java index f8d409946c4..9c31269adb4 100644 --- a/server/src/main/java/com/metamx/druid/http/ComputeNode.java +++ b/server/src/main/java/com/metamx/druid/http/ComputeNode.java @@ -53,7 +53,6 @@ import org.jets3t.service.S3ServiceException; import org.jets3t.service.impl.rest.httpclient.RestS3Service; import org.jets3t.service.security.AWSCredentials; import org.mortbay.jetty.servlet.Context; -import org.mortbay.jetty.servlet.DefaultServlet; import org.mortbay.jetty.servlet.ServletHolder; import org.skife.config.ConfigurationObjectFactory; diff --git a/server/src/main/java/com/metamx/druid/http/RedirectFilter.java b/server/src/main/java/com/metamx/druid/http/RedirectFilter.java index 28bdb3f5417..f6f4c30e7cf 100644 --- a/server/src/main/java/com/metamx/druid/http/RedirectFilter.java +++ b/server/src/main/java/com/metamx/druid/http/RedirectFilter.java @@ -19,10 +19,7 @@ package com.metamx.druid.http; -import com.google.common.base.Throwables; -import com.google.common.io.ByteStreams; import com.metamx.common.logger.Logger; -import com.metamx.http.client.HttpClient; import com.metamx.http.client.response.HttpResponseHandler; import javax.servlet.Filter; @@ -33,7 +30,6 @@ import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import javax.ws.rs.HttpMethod; import java.io.IOException; import java.net.URL; diff --git a/server/src/main/java/com/metamx/druid/loading/SingleSegmentLoader.java b/server/src/main/java/com/metamx/druid/loading/SingleSegmentLoader.java index bc7dbc236f2..61e9986f484 100644 --- a/server/src/main/java/com/metamx/druid/loading/SingleSegmentLoader.java +++ b/server/src/main/java/com/metamx/druid/loading/SingleSegmentLoader.java @@ -20,7 +20,6 @@ package com.metamx.druid.loading; import com.google.common.base.Joiner; -import com.google.common.base.Throwables; import com.google.inject.Inject; import com.metamx.common.StreamUtils; import com.metamx.common.logger.Logger; diff --git a/server/src/main/java/com/metamx/druid/master/BalancerCostAnalyzer.java b/server/src/main/java/com/metamx/druid/master/BalancerCostAnalyzer.java index 25c592930a8..9a22daf2c13 100644 --- a/server/src/main/java/com/metamx/druid/master/BalancerCostAnalyzer.java +++ b/server/src/main/java/com/metamx/druid/master/BalancerCostAnalyzer.java @@ -19,7 +19,6 @@ package com.metamx.druid.master; -import com.google.common.collect.Lists; import com.google.common.collect.MinMaxPriorityQueue; import com.metamx.common.Pair; import com.metamx.common.logger.Logger; diff --git a/server/src/main/java/com/metamx/druid/master/MergerWhitelist.java b/server/src/main/java/com/metamx/druid/master/MergerWhitelist.java index bd55a0cf057..8bfa7293b00 100644 --- a/server/src/main/java/com/metamx/druid/master/MergerWhitelist.java +++ b/server/src/main/java/com/metamx/druid/master/MergerWhitelist.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.google.common.collect.Sets; -import java.util.List; import java.util.Set; /** diff --git a/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java b/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java index eb06f806b7b..affc0b93bdd 100644 --- a/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java +++ b/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java @@ -21,7 +21,6 @@ package com.metamx.druid.master.rules; import com.google.common.collect.Lists; import com.google.common.collect.MinMaxPriorityQueue; -import com.metamx.common.Pair; import com.metamx.druid.client.DataSegment; import com.metamx.druid.master.BalancerCostAnalyzer; import com.metamx.druid.master.DruidMaster; diff --git a/server/src/main/java/com/metamx/druid/query/QueryRunnerFactory.java b/server/src/main/java/com/metamx/druid/query/QueryRunnerFactory.java index 083ebae543e..8dade405e49 100644 --- a/server/src/main/java/com/metamx/druid/query/QueryRunnerFactory.java +++ b/server/src/main/java/com/metamx/druid/query/QueryRunnerFactory.java @@ -20,7 +20,6 @@ package com.metamx.druid.query; import com.metamx.druid.Query; -import com.metamx.druid.StorageAdapter; import com.metamx.druid.index.Segment; import java.util.concurrent.ExecutorService; diff --git a/server/src/main/java/com/metamx/druid/query/group/GroupByQueryEngine.java b/server/src/main/java/com/metamx/druid/query/group/GroupByQueryEngine.java index a944bfef894..3c123bd64b3 100644 --- a/server/src/main/java/com/metamx/druid/query/group/GroupByQueryEngine.java +++ b/server/src/main/java/com/metamx/druid/query/group/GroupByQueryEngine.java @@ -49,7 +49,6 @@ import org.joda.time.DateTime; import org.joda.time.Interval; import javax.annotation.Nullable; -import java.io.IOException; import java.nio.ByteBuffer; import java.util.Iterator; import java.util.List; diff --git a/server/src/main/java/com/metamx/druid/query/metadata/SegmentAnalyzer.java b/server/src/main/java/com/metamx/druid/query/metadata/SegmentAnalyzer.java index d9e643dfc19..24dc1f2b43b 100644 --- a/server/src/main/java/com/metamx/druid/query/metadata/SegmentAnalyzer.java +++ b/server/src/main/java/com/metamx/druid/query/metadata/SegmentAnalyzer.java @@ -23,7 +23,6 @@ import com.google.common.base.Charsets; import com.google.common.base.Function; import com.google.common.base.Preconditions; import com.google.common.collect.Maps; -import com.google.common.primitives.Floats; import com.google.common.primitives.Longs; import com.metamx.common.logger.Logger; import com.metamx.druid.index.QueryableIndex;