Hi guys.
When I run storm on local mode to debug my topology, the local mode can't
find the config file "storm.yaml". Did somebody meet this before?
I looked into the code, storm use following logic to find config file:
Enumeration<URL> resources =
Thread.currentThread().getContextClassLoader().getResources(name);
https://github.com/nathanmarz/storm/blob/master/src/jvm/backtype/storm/utils/Utils.java#L96
It's OK for this code to find "default.yaml" because this file is in the
jar. Since storm.yaml is in the folder conf , which is out of jar, so it
can't be located, am I right?
Thanks.
-Tong