ravipesala commented on a change in pull request #3237: [CARBONDATA-3399] Implement excutor id based distribution for indexserver
URL:
https://github.com/apache/carbondata/pull/3237#discussion_r287935844
##########
File path: integration/spark2/src/main/scala/org/apache/carbondata/indexserver/DistributedPruneRDD.scala
##########
@@ -49,7 +49,8 @@ private[indexserver] class DistributedPruneRDD(@transient private val ss: SparkS
dataMapFormat: DistributableDataMapFormat)
extends CarbonRDD[(String, ExtendedBlocklet)](ss, Nil) {
- val executorsList: Set[String] = DistributionUtil.getNodeList(ss.sparkContext).toSet
+ @transient val executorsList: Map[String, Seq[String]] = DistributionUtil
Review comment:
I don't think it is required to keep at class level, better move it to method level as you are using at one place.
----------------------------------------------------------------
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