title: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
body: <p>I am new to Hadoop, and trying to run some join queries on Hive.
  I created two tables (table1 and table2). I executed a Join query but getting the following error message:</p>
  
  <p><code>FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask</code></p>
  
  <p>However, when I run this query in the Hive UI, the query gets executed, and I get correct results. Can some one help here in explaining what may be wrong?</p>