You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ev...@apache.org on 2018/12/26 08:54:52 UTC

bigtop git commit: BIGTOP-3117. [Puppet] Can't run spark commands for Spark on Yarn deployment

Repository: bigtop
Updated Branches:
  refs/heads/master ace6be2fd -> 6a4f7ad8d


BIGTOP-3117. [Puppet] Can't run spark commands for Spark on Yarn deployment


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

Branch: refs/heads/master
Commit: 6a4f7ad8dfbdae739227a189c4d1834131b3867a
Parents: ace6be2
Author: Evans Ye <ev...@apache.org>
Authored: Mon Dec 24 23:24:15 2018 +0800
Committer: Evans Ye <ev...@apache.org>
Committed: Wed Dec 26 16:54:30 2018 +0800

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/spark/templates/spark-env.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/6a4f7ad8/bigtop-deploy/puppet/modules/spark/templates/spark-env.sh
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/spark/templates/spark-env.sh b/bigtop-deploy/puppet/modules/spark/templates/spark-env.sh
index 2f3e406..e1dd40b 100755
--- a/bigtop-deploy/puppet/modules/spark/templates/spark-env.sh
+++ b/bigtop-deploy/puppet/modules/spark/templates/spark-env.sh
@@ -38,3 +38,5 @@ export SPARK_MASTER_WEBUI_PORT=<%= @master_ui_port %>
 export SPARK_WORKER_DIR=${SPARK_WORKER_DIR:-/var/run/spark/work}
 export SPARK_WORKER_PORT=<%= @worker_port %>
 export SPARK_WORKER_WEBUI_PORT=<%= @worker_ui_port %>
+
+export SPARK_DIST_CLASSPATH=$(hadoop classpath)