You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/01/21 08:34:46 UTC

[3/3] git commit: Merge pull request #484 from tdas/run-example-fix

Merge pull request #484 from tdas/run-example-fix

Made run-example respect SPARK_JAVA_OPTS and SPARK_MEM.

bin/run-example scripts was not passing Java properties set through the SPARK_JAVA_OPTS to the example. This is important for examples like Twitter** as the Twitter authentication information must be set through java properties. Hence added the same JAVA_OPTS code in run-example as it is in bin/spark-class script.

Also added SPARK_MEM, in case someone wants to run the example with different amounts of memory. This can be removed if it is not tune with the intended semantics of the run-example scripts.

@matei Please check this soon I want this to go in 0.9-rc4


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/c67d3d8b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/c67d3d8b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/c67d3d8b

Branch: refs/heads/master
Commit: c67d3d8beb101fff2ea6397b759dd1bfdf9fcfa5
Parents: 6b4eed7 65869f8
Author: Patrick Wendell <pw...@gmail.com>
Authored: Mon Jan 20 23:34:35 2014 -0800
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Mon Jan 20 23:34:35 2014 -0800

----------------------------------------------------------------------
 bin/run-example | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------