title: How to pass java properties for sqoop import job
body: <p>When using sqoop import is possible to pass java properties.
  In my case, I need to pass</p>
  
  <pre><code>-Doraoop.oracle.rac.service.name=myservice
  </code></pre>
  
  <p>together with a <code>--direct</code> to use sqoop direct connection to an oracle RAC.</p>
  
  <p>Now I need to create a sqoop job with the same parameter but when I try issuing</p>
  
  <pre><code>sqoop job --create myjob -- import -Doraoop.oracle.rac.service.name=myservice --direct --connect...
  </code></pre>
  
  <p>It complains saying</p>
  
  <pre><code>ERROR tool.BaseSqoopTool: Error parsing arguments for import:
  ERROR tool.BaseSqoopTool: Unrecognized argument: -Doraoop.oracle.rac.service.name=myservice
  ....
  </code></pre>
  
  <p>Wherever I put the <code>-D</code> it doesn't work while with the straight sqoop import it works.</p>
  
  <p>It works only in the following way</p>
  
  <pre><code>sqoop job -Doraoop.oracle.rac.service.name=myservice --create myjob -- import ...
  </code></pre>
  
  <p>but in this way, the property is passed to the current execution and not to the subsequent job execution.</p>
  
  <p>Is there a way to pass java properties through <code>-D</code> to a <code>sqoop job --create myjob -- import</code> command?</p>
  
  <p>Trying with sqoop 1.4.6 on cdh 5.5</p>