Skip to content

Commit 882e5f0

Browse files
author
Nathan Marz
committed
improved error message for duplicate config files on classpath
1 parent b72c469 commit 882e5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jvm/backtype/storm/utils/Utils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static Map findAndReadConfigFile(String name, boolean mustExist) {
103103
else return new HashMap();
104104
}
105105
if(resources.size() > 1) {
106-
throw new RuntimeException("Found multiple " + name + " resources");
106+
throw new RuntimeException("Found multiple " + name + " resources. You're probably bundling the Storm jars with your topology jar.");
107107
}
108108
URL resource = resources.get(0);
109109
Yaml yaml = new Yaml();

0 commit comments

Comments
 (0)