From 8bcb73a0ebd97efcc6f7b1a89ec05668c693910c Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Thu, 28 Aug 2014 18:10:01 -0700 Subject: [PATCH] Java programs are best run with a java command. --- .../main/java/io/druid/indexing/overlord/ForkingTaskRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java b/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java index 9a7b3105bdc..36aa925ef32 100644 --- a/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java +++ b/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java @@ -171,6 +171,7 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer taskClasspath = config.getClasspath(); } + command.add(config.getJavaCommand()); command.add("-cp"); command.add(taskClasspath);