diff options
author | Aaron Davidson <aaron@databricks.com> | 2013-10-05 23:07:26 -0700 |
---|---|---|
committer | Aaron Davidson <aaron@databricks.com> | 2013-10-05 23:20:31 -0700 |
commit | e1190229e13453cdb1e7c28fdf300d1f8dd717c2 (patch) | |
tree | 25a210aadb5fc32c9104b9415566d030a94c28d5 /docker/spark-test/master/default_cmd | |
parent | 0f070279e7cd224de48333b572d3080b742a82d7 (diff) | |
download | spark-e1190229e13453cdb1e7c28fdf300d1f8dd717c2.tar.gz spark-e1190229e13453cdb1e7c28fdf300d1f8dd717c2.tar.bz2 spark-e1190229e13453cdb1e7c28fdf300d1f8dd717c2.zip |
Add end-to-end test for standalone scheduler fault tolerance
Docker files drawn mostly from Matt Masse. Some updates from Andre Schumacher.
Diffstat (limited to 'docker/spark-test/master/default_cmd')
-rwxr-xr-x | docker/spark-test/master/default_cmd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/spark-test/master/default_cmd b/docker/spark-test/master/default_cmd new file mode 100755 index 0000000000..92910068a3 --- /dev/null +++ b/docker/spark-test/master/default_cmd @@ -0,0 +1,4 @@ +#!/bin/bash +IP=$(ip -o -4 addr list eth0 | perl -n -e 'if (m{inet\s([\d\.]+)\/\d+\s}xms) { print $1 }') +echo "CONTAINER_IP=$IP" +/opt/spark/spark-class org.apache.spark.deploy.master.Master -i $IP |