diff --git a/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java b/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java index eaff1b9b46f..ffbc75d33c4 100644 --- a/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java +++ b/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java @@ -61,10 +61,10 @@ public abstract class AbstractTask implements Task protected AbstractTask(String id, String groupId, TaskResource taskResource, String dataSource) { - this.id = Preconditions.checkNotNull(id, "id"); - this.groupId = Preconditions.checkNotNull(groupId, "groupId"); + this.id = Preconditions.checkNotNull(id.toLowerCase(), "id"); + this.groupId = Preconditions.checkNotNull(groupId.toLowerCase(), "groupId"); this.taskResource = Preconditions.checkNotNull(taskResource, "resource"); - this.dataSource = Preconditions.checkNotNull(dataSource, "dataSource"); + this.dataSource = Preconditions.checkNotNull(dataSource.toLowerCase(), "dataSource"); } @JsonProperty