From 7132428bbaea0b86a971182ae17ed84a630d5f96 Mon Sep 17 00:00:00 2001 From: Jaehong Choi Date: Thu, 21 Jan 2016 01:27:32 +0900 Subject: [PATCH] throw IAE when baseDir is null in LocalFireHose --- .../druid/segment/realtime/firehose/LocalFirehoseFactory.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/main/java/io/druid/segment/realtime/firehose/LocalFirehoseFactory.java b/server/src/main/java/io/druid/segment/realtime/firehose/LocalFirehoseFactory.java index a48fa75eb58..4d530f4ba73 100644 --- a/server/src/main/java/io/druid/segment/realtime/firehose/LocalFirehoseFactory.java +++ b/server/src/main/java/io/druid/segment/realtime/firehose/LocalFirehoseFactory.java @@ -23,6 +23,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Throwables; import com.google.common.collect.Lists; +import com.metamx.common.IAE; import com.metamx.common.ISE; import com.metamx.emitter.EmittingLogger; import io.druid.data.input.Firehose; @@ -84,6 +85,9 @@ public class LocalFirehoseFactory implements FirehoseFactory foundFiles = FileUtils.listFiles(