AmatyaAvadhanula commented on a change in pull request #12326:
URL: https://github.com/apache/druid/pull/12326#discussion_r832156344
##########
File path:
indexing-service/src/main/java/org/apache/druid/indexing/common/task/NoopTask.java
##########
@@ -176,6 +178,14 @@ public static NoopTask withGroupId(String groupId)
return new NoopTask(null, groupId, null, 0, 0, null, null, null);
}
+ public static NoopTask withJavaOptsContext(String javaOpts, List<String>
javaOptsArray)
+ {
+ Map<String, Object> context = new HashMap<>();
Review comment:
done
##########
File path:
indexing-service/src/main/java/org/apache/druid/indexing/overlord/ForkingTaskRunner.java
##########
@@ -219,6 +219,24 @@ public TaskStatus call()
);
}
+ // Override task specific javaOptsArray
+ Object taskJavaOptsArray = task.getContextValue(
+ ForkingTaskRunnerConfig.JAVA_OPTS_ARRAY_PROPERTY
+ );
+ if (taskJavaOptsArray != null) {
+ if (taskJavaOptsArray instanceof List) {
Review comment:
done
--
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]