spark-instrumented-optimizer/launcher/src
WangTaoTheTonic cb871c44c3 [SPARK-8290] spark class command builder need read SPARK_JAVA_OPTS and SPARK_DRIVER_MEMORY properly
SPARK_JAVA_OPTS was missed in reconstructing the launcher part, we should add it back so process launched by spark-class could read it properly. And so does `SPARK_DRIVER_MEMORY`.

The missing part is [here](1c30afdf94/bin/spark-class (L97)).

Author: WangTaoTheTonic <wangtao111@huawei.com>
Author: Tao Wang <wangtao111@huawei.com>

Closes #6741 from WangTaoTheTonic/SPARK-8290 and squashes the following commits:

bd89f0f [Tao Wang] make sure the memory setting is right too
e313520 [WangTaoTheTonic] spark class command builder need read SPARK_JAVA_OPTS
2015-06-10 13:30:16 -07:00
..
main/java/org/apache/spark/launcher [SPARK-8290] spark class command builder need read SPARK_JAVA_OPTS and SPARK_DRIVER_MEMORY properly 2015-06-10 13:30:16 -07:00
test [SPARK-6435] spark-shell --jars option does not add all jars to classpath 2015-04-28 07:56:36 -04:00