Re: Java Opts and Max Heap

2015-03-10 Thread Jordan Shaw
Thanks for clarifying Chris! On Tue, Mar 10, 2015 at 9:16 AM, Chris Riccomini wrote: > Hey Jordan, > > There are two settings you need to care about when changing memory. One is > yarn.container.memory.mb. The other is the task.opts setting, which will > allow you to specify a custom -Xmx parame

Re: Java Opts and Max Heap

2015-03-10 Thread Chris Riccomini
Hey Jordan, There are two settings you need to care about when changing memory. One is yarn.container.memory.mb. The other is the task.opts setting, which will allow you to specify a custom -Xmx parameter. If you set the yarn.container.memory.mb to 4000 (4GB), as you suggest, the JAVA_OPTS check

Java Opts and Max Heap

2015-03-10 Thread Jordan Shaw
Hey Everyone, This I have a question somewhat related to SAMZA-109 and this line in run-class.sh: # Check if a max-heap size is specified. If not - set a 768M heap [[ $JAVA_OPTS != *-Xmx* ]] && JAVA_OPTS="$JAVA_OPTS -Xmx768M" If I were to set the container.memory.mb for yarn to 4GB ( yarn.containe