amplab/tachyon — pull request #328 by hsaputra (2014-08-06 21:09:54+00:00)
Title: TACHYON-48 Support backward compatible to set TACHYON_MASTER_JAVA_OPTS and TACHYON_WORKER_JAVA_OPTS

Support backward compatible to set TACHYON_MASTER_JAVA_OPTS and TACHYON_WORKER_JAVA_OPTS in tachyon-env.sh

In 0.5 we introduce new env variables to master and workers, namely TACHYON_MASTER_JAVA_OPTS
and TACHYON_WORKER_JAVA_OPTS.
However set environment script copied from older version of tachyon-env.sh.template may not
have this set so it could missing JVM arguments.

We have seen this problem in the user list where Tachyon master address is set to an
interface but when started always bind to localhost, this is because it is missing the
TACHYON_JAVA_OPTS which include "tachyon.master.hostname"