AmatyaAvadhanula commented on code in PR #13476:
URL: https://github.com/apache/druid/pull/13476#discussion_r1097021701
##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/HadoopIndexTask.java:
##########
@@ -279,14 +281,15 @@ private boolean hadoopJobIdFileExists()
private File getHadoopJobIdFile()
{
- return new File(taskConfig.getTaskDir(getId()), HADOOP_JOB_ID_FILENAME);
+ return new File(dirTracker.getTaskDir(getId()), HADOOP_JOB_ID_FILENAME);
}
@Override
public TaskStatus runTask(TaskToolbox toolbox)
{
try {
taskConfig = toolbox.getConfig();
+ dirTracker = toolbox.getDirTracker();
Review Comment:
This change is for getHadoopJobIdFile() which initially relied on TaskConfig
to get the base task 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]