title: -D arguments not recognized in hadoop jar command (using spring)
body: <p>Below is the command that I am running</p>
  
  <pre><code>hadoop jar &lt;path&gt;/&lt;some jar&gt; -Dext.properties.dir=path of properties file&gt;
  </code></pre>
  
  <p>My spring config has the below entry...</p>
  
  <pre><code>context:property-placeholder  location="classpath:main/resources/properties/app.properties,file:${ext.properties.dir}/app-qa.properties"
  </code></pre>
  
  <p>But when i run it, I see the below error</p>
  
  <pre><code> Could not load properties; nested exception is java.io.FileNotFoundException:      ${ext.properties.dir}/app-qa.properties (No such file or directory)
  </code></pre>
  
  <p>The below works though</p>
  
  <pre><code>java jar &lt;path&gt;/&lt;some jar&gt; -Dext.properties.dir=path of properties file
  </code></pre>
  
  <p>Can someone help me debug this?</p>