kunal642 commented on a change in pull request #3386: [WIP] : Pre-priming cache
URL:
https://github.com/apache/carbondata/pull/3386#discussion_r326116034
##########
File path: integration/spark2/src/main/scala/org/apache/carbondata/indexserver/IndexServer.scala
##########
@@ -84,6 +85,15 @@ object IndexServer extends ServerInterface {
private val numHandlers: Int = CarbonProperties.getInstance().getNumberOfHandlersForIndexServer
+ private lazy val indexServerExecutorService: Option[ExecutorService] = {
+ if (CarbonProperties.getInstance().isDistributedPruningEnabled("", "")) {
+ Some(Executors.newFixedThreadPool(1))
+ }
+ else {
Review comment:
Move above and check for the same in other files also
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services