title: How to control number of container in Hive-On-Tez
body: <p>I'm new to using Tez engine. I'm running hive queries on Tez engine, and the query seems to utilize all the available resource. I'd like to know if there is any way to control the number of running  containers. For eg., how we control in spark using --executor-cores and --num-executors configuration.</p>
  <p>I've searched and was not able to find anything concrete. Also, I don't want to differentiate it via queue (Since I'm running it on EMR with scaling options and defining scaling based on multiple queue complicates the setup).</p>
  <p>Update 1 : With vertice information</p>
  <hr />
  <pre><code>        VERTICES      MODE        STATUS  TOTAL  COMPLETED  RUNNING  PENDING  FAILED  KILLED
  ----------------------------------------------------------------------------------------------
  Map 1            container       RUNNING     17          0       11        6       0       0
  ----------------------------------------------------------------------------------------------
  </code></pre>
  <p>The above query triggers 1 vertice in which 11 tasks are running in parallel(using all 11 resource of the cluster). I'd want to control the number of concurrently running task within the vertice (in this example from 11 to 3).</p>