Banno/samza-mesos — pull request #3 by zcox (2014-12-30 16:49:55+00:00)
Title: set JAVA_HEAP_OPTS for samza container based on config memory

Previously, run-class.sh was just hardcoding it to `-Xmx768M` but now run-class.sh can use a `JAVA_HEAP_OPTS` env var. For the Samza container, we just use the config value `mesos.executor.memory.mb` which defaults to 1028. This ensures that the memory allocated by Mesos for the Samza container task and the JVM heap settings are aligned.