diff options
author | Reynold Xin <rxin@databricks.com> | 2016-02-26 22:35:12 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-02-26 22:35:12 -0800 |
commit | 59e3e10be2f9a1c53979ca72c038adb4fa17ca64 (patch) | |
tree | 3d6b2246738484273d36d0ccbec66b733930a3e0 /sbin/start-master.sh | |
parent | f77dc4e1e202942aa8393fb5d8f492863973fe17 (diff) | |
download | spark-59e3e10be2f9a1c53979ca72c038adb4fa17ca64.tar.gz spark-59e3e10be2f9a1c53979ca72c038adb4fa17ca64.tar.bz2 spark-59e3e10be2f9a1c53979ca72c038adb4fa17ca64.zip |
[SPARK-13521][BUILD] Remove reference to Tachyon in cluster & release scripts
## What changes were proposed in this pull request?
We provide a very limited set of cluster management script in Spark for Tachyon, although Tachyon itself provides a much better version of it. Given now Spark users can simply use Tachyon as a normal file system and does not require extensive configurations, we can remove this management capabilities to simplify Spark bash scripts.
Note that this also reduces coupling between a 3rd party external system and Spark's release scripts, and would eliminate possibility for failures such as Tachyon being renamed or the tar balls being relocated.
## How was this patch tested?
N/A
Author: Reynold Xin <rxin@databricks.com>
Closes #11400 from rxin/release-script.
Diffstat (limited to 'sbin/start-master.sh')
-rwxr-xr-x | sbin/start-master.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sbin/start-master.sh b/sbin/start-master.sh index 9f2e14dff6..ce7f177959 100755 --- a/sbin/start-master.sh +++ b/sbin/start-master.sh @@ -39,21 +39,6 @@ fi ORIGINAL_ARGS="$@" -START_TACHYON=false - -while (( "$#" )); do -case $1 in - --with-tachyon) - if [ ! -e "${SPARK_HOME}"/tachyon/bin/tachyon ]; then - echo "Error: --with-tachyon specified, but tachyon not found." - exit -1 - fi - START_TACHYON=true - ;; - esac -shift -done - . "${SPARK_HOME}/sbin/spark-config.sh" . "${SPARK_HOME}/bin/load-spark-env.sh" @@ -73,9 +58,3 @@ fi "${SPARK_HOME}/sbin"/spark-daemon.sh start $CLASS 1 \ --ip $SPARK_MASTER_IP --port $SPARK_MASTER_PORT --webui-port $SPARK_MASTER_WEBUI_PORT \ $ORIGINAL_ARGS - -if [ "$START_TACHYON" == "true" ]; then - "${SPARK_HOME}"/tachyon/bin/tachyon bootstrap-conf $SPARK_MASTER_IP - "${SPARK_HOME}"/tachyon/bin/tachyon format -s - "${SPARK_HOME}"/tachyon/bin/tachyon-start.sh master -fi |