diff --git a/pinot-connectors/prestodb-pinot-dependencies/pinot-spi-jdk8/pom.xml b/pinot-connectors/prestodb-pinot-dependencies/pinot-spi-jdk8/pom.xml
index 6ac4e5514abb..5d29caec14b5 100644
--- a/pinot-connectors/prestodb-pinot-dependencies/pinot-spi-jdk8/pom.xml
+++ b/pinot-connectors/prestodb-pinot-dependencies/pinot-spi-jdk8/pom.xml
@@ -129,5 +129,10 @@
org.reflections
reflections
+
+ com.clearspring.analytics
+ stream
+ 2.7.0
+
diff --git a/pinot-core/src/test/java/org/apache/pinot/core/startree/v2/DistinctCountHLLStarTreeV2Test.java b/pinot-core/src/test/java/org/apache/pinot/core/startree/v2/DistinctCountHLLStarTreeV2Test.java
index d903f505b413..9bc103ffd247 100644
--- a/pinot-core/src/test/java/org/apache/pinot/core/startree/v2/DistinctCountHLLStarTreeV2Test.java
+++ b/pinot-core/src/test/java/org/apache/pinot/core/startree/v2/DistinctCountHLLStarTreeV2Test.java
@@ -19,6 +19,7 @@
package org.apache.pinot.core.startree.v2;
import com.clearspring.analytics.stream.cardinality.HyperLogLog;
+import java.util.Collections;
import java.util.Random;
import org.apache.pinot.segment.local.aggregator.DistinctCountHLLValueAggregator;
import org.apache.pinot.segment.local.aggregator.ValueAggregator;
@@ -31,7 +32,7 @@ public class DistinctCountHLLStarTreeV2Test extends BaseStarTreeV2Test