You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by GitBox <gi...@apache.org> on 2021/09/20 06:22:32 UTC

[GitHub] [carbondata] akashrn5 commented on a change in pull request #4219: [CARBONDATA-4288][CARBONDATA-4289] Fix various issues with Index Server caching mechanism.

akashrn5 commented on a change in pull request #4219:
URL: https://github.com/apache/carbondata/pull/4219#discussion_r711899757



##########
File path: integration/spark/src/main/scala/org/apache/carbondata/indexserver/DistributedRDDUtils.scala
##########
@@ -108,7 +108,20 @@ object DistributedRDDUtils {
           val wrapper: IndexInputSplit = legacySegment
             .asInstanceOf[IndexInputSplitWrapper].getDistributable
           val executor = validExecutorIds(index % validExecutorIds.length)
-          wrapper.setLocations(Array("executor_" + executor))
+          tableToExecutorMapping.putIfAbsent(tableUniqueName,

Review comment:
       please add a detailed comment explaining this logic, so that next time if any issues, developer will be aware of the old issue fix




-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@carbondata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org