With the addition of TEZ-766, Tez supports pre-warmed containers within the Tez session.
Allow hive users to enable and use this feature from within the hive shell.
Hadoop 2.3 + Tez 0.3
Review 17838 between .2 and .3
Vikram Dixit K can you take a look? This is hitting some of the same paths you are touching for the session pool.
@Gopal looks good to me, but can you add a test for it? Maybe the easiest way would be to turn it on with 1 container in ./data/conf/tez/hive-site.xml that way the code path is exercised when running MiniTezCluster tests.
Gopal V you might also be able to add a non q file test in TestSessionState (already testing some Tez stuff)
I will add tests and rebase.
Updated patch and added parametrized tests for TestSessionState (will run twice, once with pre-warm on and once without).
Committed to branch. Thanks Gopal.