diff --git a/indexing-service/src/main/java/io/druid/indexing/common/task/NoopTask.java b/indexing-service/src/main/java/io/druid/indexing/common/task/NoopTask.java index e6a32c7ae5e..3b0debf2c13 100644 --- a/indexing-service/src/main/java/io/druid/indexing/common/task/NoopTask.java +++ b/indexing-service/src/main/java/io/druid/indexing/common/task/NoopTask.java @@ -28,6 +28,8 @@ import io.druid.indexing.common.TaskToolbox; import io.druid.indexing.common.actions.TaskActionClient; import org.joda.time.DateTime; +import java.util.UUID; + /** */ public class NoopTask extends AbstractTask @@ -66,7 +68,7 @@ public class NoopTask extends AbstractTask ) { super( - id == null ? String.format("noop_%s", new DateTime()) : id, + id == null ? String.format("noop_%s_%s", new DateTime(), UUID.randomUUID().toString()) : id, "none" );