title: Sqoop multiple jobs invokation
body: <p>I am creating an import tool based on Sqoop, my shell script looks like :</p>
  
  <pre><code>while &lt;cond&gt; ; do
  sqoop import &lt;parameters&gt; &amp;
  done
  </code></pre>
  
  <p>The first invokation works fine but i get the following error for the rest :</p>
  
  <blockquote>
    <p>Caused by: java.sql.SQLException: Fail to convert to internal
    representation</p>
  </blockquote>
  
  <p>When I launch each iteration manually one by one, they work fine, but not as mentioned above.</p>
  
  <p>What I found after investigation, is the first sqoop job create the files <code>QueryResult.java</code> and <code>QueryResult.jar</code>, then next jobs use the same <code>jar</code> file which does not reflect the correct type mapping for them.</p>
  
  <p>Can anyone confirm my thought or I missed something ? Does there any easier option to get rid of that, or i have to create seperate <code>--bindir</code> for each invokation ?</p>