title: How to kill a mapred job started by hive?
body: <p>I'm working by CDH 5.1 now. It starts normal Hadoop job by <code>YARN</code> but hive still works with <code>mapred</code>. Sometimes a big query will hang for a long time and I want to kill it.</p>
  
  <p>I can find this big job by JobTracker web console while it didn't provide a button to kill it.</p>
  
  <p>Another way is killing by command line. However, I couldn't find any job running by command line.</p>
  
  <p>I have tried 2 commands:</p>
  
  <ul>
  <li><code>yarn application -list</code></li>
  <li><code>mapred job -list</code></li>
  </ul>
  
  <p>How to kill big query like this?</p>