You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "AmatyaAvadhanula (via GitHub)" <gi...@apache.org> on 2023/02/06 05:38:28 UTC

[GitHub] [druid] AmatyaAvadhanula commented on a diff in pull request #13476: Indexing on multiple disks

AmatyaAvadhanula commented on code in PR #13476:
URL: https://github.com/apache/druid/pull/13476#discussion_r1096962882


##########
extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/KubernetesTaskRunner.java:
##########
@@ -346,7 +348,8 @@ private List<String> generateCommand(Task task)
   {
     final List<String> command = new ArrayList<>();
     command.add("/peon.sh");
-    command.add(taskConfig.getTaskDir(task.getId()).toString());
+    command.add(dirTracker.getBaseTaskDir(task.getId()).getAbsolutePath());
+    command.add(task.getId());

Review Comment:
   The command originally needed the task's working directory.
   It now requires the base directory for TaskStorageDirTracker. The taskId along with the base directory can be used to obtain the working directory



-- 
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: commits-unsubscribe@druid.apache.org

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


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