mirror of https://github.com/apache/druid.git
parent
75a582974b
commit
47aac991ec
|
@ -215,7 +215,9 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer
|
||||||
}
|
}
|
||||||
|
|
||||||
// Override task specific properties
|
// Override task specific properties
|
||||||
for (String propName : task.getContext().keySet()) {
|
final Map<String, Object> context = task.getContext();
|
||||||
|
if (context != null) {
|
||||||
|
for (String propName : context.keySet()) {
|
||||||
if (propName.startsWith(CHILD_PROPERTY_PREFIX)) {
|
if (propName.startsWith(CHILD_PROPERTY_PREFIX)) {
|
||||||
command.add(
|
command.add(
|
||||||
String.format(
|
String.format(
|
||||||
|
@ -226,6 +228,7 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
command.add(String.format("-Ddruid.host=%s", childHost));
|
command.add(String.format("-Ddruid.host=%s", childHost));
|
||||||
command.add(String.format("-Ddruid.port=%d", childPort));
|
command.add(String.format("-Ddruid.port=%d", childPort));
|
||||||
|
|
Loading…
Reference in New Issue