Thanks Gopal for this configuration.
I find the configuration "tez.am.container.idle.release-timeout-min.millis" 
works to disable container idle release thought it's not recommended.

Thanks
Ferdinand Xu


-----Original Message-----
From: Gopal Vijayaraghavan [mailto:gop...@apache.org] 
Sent: Tuesday, October 17, 2017 1:05 PM
To: dev@hive.apache.org
Subject: Re: About lifecycle of Tez container

> I guess the container is not reused when disabled auto-reducer in my case is 
> due to that the default timeout for tez is about 10s. 

There's another config which can let you run it without losing containers (at 
least if you know how many you want to keep).

tez.am.session.min.held-containers

This will hold <n> containers with no timeout and try to spread them across as 
many nodes as possible (to serve locality better).

However, this needs to set into the tez-site.xml being a tez.am.* parameter.

Cheers,
Gopal
    
    
    


Reply via email to