Merge pull request #69 from KarthikTunga/master Fix for issue SPARK-627. Implementing --config argument in the scripts.
This code fix is for issue SPARK-627. I added code to consider --config arguments in the scripts. In case the <conf-dir> is not a directory the scripts exit. I removed the --hosts argument. It can be achieved by giving a different config directory. Let me know if an explicit --hosts argument is required. Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/fc26e5b8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/fc26e5b8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/fc26e5b8 Branch: refs/heads/master Commit: fc26e5b8320556b9edb93741391b759813b4079b Parents: cf64f63 8537f19 Author: Matei Zaharia <ma...@eecs.berkeley.edu> Authored: Thu Oct 17 13:21:07 2013 -0700 Committer: Matei Zaharia <ma...@eecs.berkeley.edu> Committed: Thu Oct 17 13:21:07 2013 -0700 ---------------------------------------------------------------------- bin/slaves.sh | 19 ++++++++++++++++++- bin/spark-daemon.sh | 21 ++++++++++++++++++++- bin/spark-daemons.sh | 2 +- 3 files changed, 39 insertions(+), 3 deletions(-) ----------------------------------------------------------------------