title: How to stop a particular job while running Hive queries on Hadoop?
body: <h2>Scenario:</h2>
  
  <pre><code>When I run enter the query on Hive CLI, I get the errors as below:
  </code></pre>
  
  <h2>Query:</h2>
  
  <pre><code>**$ bin/hive -e "insert overwrite table pokes select a.* from invites a where a.ds='2008-08-15';"** 
  </code></pre>
  
  <h2>Error is like this:</h2>
  
  <blockquote>
    <p>Total MapReduce jobs = 1
        Launching Job 1 out of 1
        Number of reduce tasks is set to 0 since there's no reduce operator
        Starting Job = job_201111291547_0013, Tracking URL = <a href="http://localhost:50030/jobdetails.jsp?jobid=job_201111291547_0013" rel="noreferrer">http://localhost:50030/jobdetails.jsp?jobid=job_201111291547_0013</a>
        Kill Command = C:\cygwin\home\Bhavesh.Shah\hadoop-0.20.2/bin/hadoop job 
    -Dmapred.job.tracker=localhost:9101 -kill job_201111291547_0013
        2011-12-01 14:00:52,380 Stage-1 map = 0%,  reduce = 0%
        2011-12-01 14:01:19,518 Stage-1 map = 100%,  reduce = 100%
        Ended Job = job_201111291547_0013 with errors
        FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask</p>
  </blockquote>
  
  <h2>Question:</h2>
  
  <p>So my question is that how to stop a job? In this case the job is : job_201111291547_0013 
  Pls help me out so that I can remove these errors and try for next.
  Thanks.</p>