apache/spark — pull request #1875 by roji (2014-08-10 08:05:57+00:00)
Title: Support executing Spark from symlinks

The current scripts (e.g. pyspark) fail to run when they are executed via symlinks. A common Linux scenario would be to have Spark installed somewhere (e.g. /opt) and have a symlink to it in /usr/bin.

Fixed the scripts to traverse symlinks until reaching the actual binary.