spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject [3/3] git commit: Merge pull request #484 from tdas/run-example-fix
Date Tue, 21 Jan 2014 07:34:46 GMT
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 <pwendell@gmail.com>
Authored: Mon Jan 20 23:34:35 2014 -0800
Committer: Patrick Wendell <pwendell@gmail.com>
Committed: Mon Jan 20 23:34:35 2014 -0800

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



Mime
View raw message