You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/07/29 21:37:29 UTC

[GitHub] [incubator-druid] himanshug commented on a change in pull request #8115: Add shuffleSegmentPusher for data shuffle

himanshug commented on a change in pull request #8115: Add shuffleSegmentPusher for data shuffle
URL: https://github.com/apache/incubator-druid/pull/8115#discussion_r308448751
 
 

 ##########
 File path: indexing-service/src/main/java/org/apache/druid/indexing/worker/IntermediaryDataManager.java
 ##########
 @@ -174,6 +184,19 @@ private void discoverSupervisorTaskPartitions()
           supervisorTaskCheckTimes.computeIfAbsent(
               supervisorTaskId,
               k -> {
+                for (File eachFile : FileUtils.listFiles(supervisorTaskDir, null, true)) {
+                  final String relativeSegmentPath = localtionPath
+                      .relativize(eachFile.toPath().toAbsolutePath())
+                      .toString();
+                  final File reservedFile = location.reserve(
 
 Review comment:
   couldn't understand why we need to do this.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org