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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to