Sqoop Import Fails
<p>I'm trying to import a Table from Oracle to Hive using Sqoop. I used the following command:</p>

<pre><code>sqoop-import --connect jdbc:&lt;connection&gt; --table test1 --username test --password test --hive-table hive_test --create-hive-table --hive-import -m 1    
</code></pre>

<p>But this gives me the error </p>

<pre><code> Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory &lt;hdfs path&gt; already exists
</code></pre>

<p>So I read online in many forums and it said that I should delete the directory and run the command again. 
I did exactly that, but I still keep getting the error.</p>