bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject [37/51] [abbrv] bigtop git commit: BIGTOP-2462: Make Spark events and history logs directory configurable
Date Fri, 29 Jul 2016 17:03:18 GMT
BIGTOP-2462: Make Spark events and history logs directory configurable

Signed-off-by: Olaf Flebbe <of@oflebbe.de>


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

Branch: refs/heads/BIGTOP-2253
Commit: 5e46a98ee836d58d8e2d4a8fa4fc55eaaa25cac4
Parents: 0bad860
Author: Cory Johns <johnsca@gmail.com>
Authored: Thu May 26 16:56:55 2016 -0400
Committer: Olaf Flebbe <of@oflebbe.de>
Committed: Wed Jun 22 21:38:36 2016 +0200

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/spark/manifests/init.pp             | 2 ++
 bigtop-deploy/puppet/modules/spark/templates/spark-defaults.conf | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/5e46a98e/bigtop-deploy/puppet/modules/spark/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/spark/manifests/init.pp b/bigtop-deploy/puppet/modules/spark/manifests/init.pp
index ee42821..f5a2d64 100644
--- a/bigtop-deploy/puppet/modules/spark/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/spark/manifests/init.pp
@@ -143,6 +143,8 @@ class spark {
       $worker_ui_port = 8081,
       $history_ui_port = 18080,
       $use_yarn_shuffle_service = false,
+      $event_log_dir =  "hdfs:///var/log/spark/apps",
+      $history_log_dir = "hdfs:///var/log/spark/apps",
   ) {
 
     package { 'spark-core':

http://git-wip-us.apache.org/repos/asf/bigtop/blob/5e46a98e/bigtop-deploy/puppet/modules/spark/templates/spark-defaults.conf
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/spark/templates/spark-defaults.conf b/bigtop-deploy/puppet/modules/spark/templates/spark-defaults.conf
index bdb9e56..30946b3 100644
--- a/bigtop-deploy/puppet/modules/spark/templates/spark-defaults.conf
+++ b/bigtop-deploy/puppet/modules/spark/templates/spark-defaults.conf
@@ -15,8 +15,8 @@
 
 spark.master <%= @master_url %>
 spark.eventLog.enabled true
-spark.eventLog.dir hdfs:///var/log/spark/apps
-spark.history.fs.logDirectory hdfs:///var/log/spark/apps
+spark.eventLog.dir <%= @event_log_dir %>
+spark.history.fs.logDirectory <%= @history_log_dir %>
 spark.yarn.historyServer.address <%= @master_host %>:<%= @history_ui_port %>
 spark.history.ui.port <%= @history_ui_port %>
 spark.shuffle.service.enabled <%= @use_yarn_shuffle_service %>


Mime
View raw message