You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by as...@apache.org on 2017/04/12 15:05:12 UTC

bigtop git commit: BIGTOP-2738: Fix spark-worker deamon not starting

Repository: bigtop
Updated Branches:
  refs/heads/master b00ac0936 -> da2c4292f


BIGTOP-2738: Fix spark-worker deamon not starting

Signed-off-by: Amir Sanjar <af...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/da2c4292
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/da2c4292
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/da2c4292

Branch: refs/heads/master
Commit: da2c4292f081960653739d9db28d84930189be9c
Parents: b00ac09
Author: Amir Sanjar <af...@gmail.com>
Authored: Wed Apr 12 10:01:43 2017 -0500
Committer: Amir Sanjar <af...@gmail.com>
Committed: Wed Apr 12 10:04:30 2017 -0500

----------------------------------------------------------------------
 bigtop-packages/src/common/spark/spark-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/da2c4292/bigtop-packages/src/common/spark/spark-env.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/spark/spark-env.sh b/bigtop-packages/src/common/spark/spark-env.sh
index 885aed1..f772ef1 100755
--- a/bigtop-packages/src/common/spark/spark-env.sh
+++ b/bigtop-packages/src/common/spark/spark-env.sh
@@ -39,5 +39,5 @@ export SPARK_MASTER_WEBUI_PORT=18080
 export SPARK_WORKER_DIR=${SPARK_WORKER_DIR:-/var/run/spark/work}
 export SPARK_WORKER_PORT=7078
 export SPARK_WORKER_WEBUI_PORT=18081
-
+export SPARK_MASTER_URL=spark://$STANDALONE_SPARK_MASTER_HOST:$SPARK_MASTER_PORT
 export SPARK_HISTORY_OPTS="$SPARK_HISTORY_OPTS -Dspark.history.fs.logDirectory=hdfs:///var/log/spark/apps -Dspark.history.ui.port=18082"