From 5564a67bfc775ee5b292c4c070b866a77703ff18 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Thu, 28 Aug 2014 18:09:31 -0700 Subject: [PATCH] File.pathSeparator is better than ":". --- .../main/java/io/druid/indexing/overlord/ForkingTaskRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7938ddff0f1..9a7b3105bdc 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 @@ -163,7 +163,7 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer final String childHost = String.format("%s:%d", node.getHostNoPort(), childPort); final String taskClasspath; if (task.getClasspathPrefix() != null && !task.getClasspathPrefix().isEmpty()) { - taskClasspath = Joiner.on(":").join( + taskClasspath = Joiner.on(File.pathSeparator).join( task.getClasspathPrefix(), config.getClasspath() );