title: Sqoop Hive exited with status 1
body: <p>When I execute:</p>
  
  <pre><code>sqoop import --connect jdbc:mysql://localhost/testdb --table test --hive-table test --hive-import -m 1 
  </code></pre>
  
  <p>I get following error message:</p>
  
  <pre><code>13/04/21 16:42:50 ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: Hive exited with status 1
      at org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:364)
      at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:314)
      at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:226)
      at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:415)
      at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:476)
      at org.apache.sqoop.Sqoop.run(Sqoop.java:145)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
      at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
      at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
      at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
      at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
  </code></pre>
  
  <p>I tried to google for it but found no solution. I have Hadoop set up locally in pseudo-distributed fashion. Hive is running fine ... I used the embedded metastore.
  Any ideas how to fix this?
  Thanks,
  Diddy</p>