Skip to content

Commit

Permalink
fix (#15017)
Browse files Browse the repository at this point in the history
  • Loading branch information
LakshSingla authored Sep 20, 2023
1 parent 08cf290 commit 82e809c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ public void emit(Event event)
null,
new CacheConfig(),
null,
httpClientConfig,
new SubqueryCountStatsProvider()
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
import org.apache.druid.error.DruidException;
import org.apache.druid.frame.allocation.ArenaMemoryAllocatorFactory;
import org.apache.druid.frame.write.UnsupportedColumnTypeException;
import org.apache.druid.guice.annotations.Client;
import org.apache.druid.guice.http.DruidHttpClientConfig;
import org.apache.druid.java.util.common.ISE;
import org.apache.druid.java.util.common.Pair;
import org.apache.druid.java.util.common.guava.Sequence;
Expand Down Expand Up @@ -123,7 +121,6 @@ public ClientQuerySegmentWalker(
Cache cache,
CacheConfig cacheConfig,
LookupExtractorFactoryContainerProvider lookupManager,
DruidHttpClientConfig httpClientConfig,
SubqueryCountStatsProvider subqueryStatsProvider
)
{
Expand All @@ -140,7 +137,7 @@ public ClientQuerySegmentWalker(
this.subqueryGuardrailHelper = new SubqueryGuardrailHelper(
lookupManager,
Runtime.getRuntime().maxMemory(),
httpClientConfig.getNumConnections()
serverConfig.getNumThreads()
);
this.subqueryStatsProvider = subqueryStatsProvider;
}
Expand All @@ -158,7 +155,6 @@ public ClientQuerySegmentWalker(
Cache cache,
CacheConfig cacheConfig,
LookupExtractorFactoryContainerProvider lookupManager,
@Client DruidHttpClientConfig httpClientConfig,
SubqueryCountStatsProvider subqueryStatsProvider
)
{
Expand All @@ -174,7 +170,6 @@ public ClientQuerySegmentWalker(
cache,
cacheConfig,
lookupManager,
httpClientConfig,
subqueryStatsProvider
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import org.apache.druid.client.cache.CacheConfig;
import org.apache.druid.guice.http.DruidHttpClientConfig;
import org.apache.druid.java.util.common.io.Closer;
import org.apache.druid.java.util.emitter.service.ServiceEmitter;
import org.apache.druid.query.BrokerParallelMergeConfig;
Expand Down Expand Up @@ -166,14 +165,6 @@ public boolean isUseResultLevelCache()
}
},
lookupManager,
new DruidHttpClientConfig()
{
@Override
public int getNumConnections()
{
return 1;
}
},
new SubqueryCountStatsProvider()
);
}
Expand Down

0 comments on commit 82e809c

Please sign in to comment.