title: Sqoop import-all-table to hive in specific database fails
body: <p>I'm executing the below sqoop command </p>
  
  <pre><code>sqoop import-all-tables -m 1 \
  --connect "jdbc:mysql://nn01.itversity.com:3306/retail_db" \
  --username=retail_dba \
  --password=itversity \
  --hive-import \
  --hive-home /apps/hive/warehouse \
  --hive-overwrite \
  --hive-database grv_sqoop_import \
  --create-hive-table \
  --compress \
  --compression-codec org.apache.hadoop.io.compress.SnappyCodec \
  --outdir java_files
  </code></pre>
  
  <p>As I have specified the <code>--hive-database</code> tables should be imported into it. But I'm getting following error:</p>
  
  <pre><code>ERROR tool.ImportAllTablesTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Ou
  tput directory hdfs://nn01.itversity.com:8020/user/gauravfrankly/categories already exists
  </code></pre>
  
  <p>Not able to understand why it's looking into <code>/user/gauravfrankly/</code> hdfs location.</p>
  
  <p>Help in understanding this issue, what I'm missing here?</p>
  
  <p>I have gone through <a href="https://stackoverflow.com/questions/38649071/getting-an-file-exists-error-while-import-into-hive-using-sqoop">Getting an file exists error while import into Hive using sqoop</a> as well but wanted to know, is there any other better way to handle it.</p>