From 2dc716bf7e71824682886fe2adbd8d99346cd7b7 Mon Sep 17 00:00:00 2001 From: fjy Date: Wed, 16 Oct 2013 11:59:01 -0700 Subject: [PATCH] fix bug and make it actually possible to load extensions --- cassandra-storage/pom.xml | 2 +- hdfs-storage/pom.xml | 2 +- s3-extensions/pom.xml | 2 +- .../src/main/java/io/druid/initialization/Initialization.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cassandra-storage/pom.xml b/cassandra-storage/pom.xml index 9b93a06acba..3b19346267f 100644 --- a/cassandra-storage/pom.xml +++ b/cassandra-storage/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.druid + io.druid.extensions druid-cassandra-storage druid-cassandra-storage druid-cassandra-storage diff --git a/hdfs-storage/pom.xml b/hdfs-storage/pom.xml index 1a7ed8b631d..636643606f7 100644 --- a/hdfs-storage/pom.xml +++ b/hdfs-storage/pom.xml @@ -21,7 +21,7 @@ 4.0.0 - io.druid + io.druid.extensions druid-hdfs-storage druid-hdfs-storage druid-hdfs-storage diff --git a/s3-extensions/pom.xml b/s3-extensions/pom.xml index b114dff74ff..536f16de53e 100644 --- a/s3-extensions/pom.xml +++ b/s3-extensions/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.druid + io.druid.extensions druid-s3-extensions druid-s3-extensions druid-s3-extensions diff --git a/server/src/main/java/io/druid/initialization/Initialization.java b/server/src/main/java/io/druid/initialization/Initialization.java index 5a052b589fe..9783af60f9d 100644 --- a/server/src/main/java/io/druid/initialization/Initialization.java +++ b/server/src/main/java/io/druid/initialization/Initialization.java @@ -113,14 +113,14 @@ public class Initialization } for (String coordinate : config.getCoordinates()) { - log.info("Loading extension[%s]", coordinate); + log.info("Loading extension[%s] for class[%s]", coordinate, clazz.getName()); try { URLClassLoader loader = getClassLoaderForCoordinates(aether, coordinate); final ServiceLoader serviceLoader = ServiceLoader.load(clazz, loader); for (T module : serviceLoader) { - log.info("Adding extension module[%s]", module.getClass()); + log.info("Adding extension module[%s] for class[%s]", module.getClass(), clazz.getName()); retVal.add(module); } }