Apache Hive Performance Tuning
Also available as:

Enable YARN preemption

You must enable YARN preemption before setting up Hive low-latency analytical processing (LLAP). YARN preemption directs the capacity scheduler to position an LLAP queue as the top-priority workload to run among cluster node resources. You do not need to label the nodes to ensure LLAP has top priority.

  1. In Ambari, select Services > YARN > Configs.
  2. In YARN Features, set Pre-emption to Enabled (the default).
  3. Save the settings.