I am no Yarn expert at all - in fact I have never run it. I am still an absolute beginner with Hadoop. But... Provided Yarn is running in _one_ VM (java process) and does not fork processes on the OS you can not change the memsettings once it's started. But why would you want to change it? The JVM is able to use more or less memory as needed if you set the startup params Xmx and Xms correctly. Just be careful not to overallocate with Xmx in different processes at the same time. Can do weird things when it starts using swap.
best /th On Mon, 2014-02-10 at 12:32 -0500, ricky l wrote: > Hi All, > > Can I change the allocated memory size of a container after a > container has started (running)? For example, in the beginning, I want > to allocate 1GB of memory to a container A and later I want to > allocate 2GB, and later 512MB. Is it a possible scenario? thx.
