title: Loading properties file in storm cluster mode
body: <p>In my topology there is a small piece of code loading configurations from properties in classpath</p>
  
  <pre><code>InputStream is=getClass().getClassLoader().getResourceAsStream("dev.properties");
  p.load(is);
  </code></pre>
  
  <p>It works great when I run jar in local mode storm, but when I try it in cluster mode, it fails with NullPointerException.
  The properties file is in src/main/resources(Maven structure) and properly included in jar file.</p>
  
  <p>Is there any possible reason?</p>
  
  <p>Besides, I face a lot of trouble when I run some topology with outbound interaction for example ElasticSearch in cluster mode storm. Even though it works perfect in local mode storm.</p>
  
  <p>What should I think before using cluster mode storm?</p>