This is an automated email from the ASF dual-hosted git repository.

sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 77d4157  BIGTOP-3462. Deploying Livy fails if the SPARK_HOME directory 
doesn't exist. (#709)
77d4157 is described below

commit 77d41573bb4d8c41e5f4b606c905698dcc49ee81
Author: Kengo Seki <[email protected]>
AuthorDate: Sun Dec 6 09:59:20 2020 +0900

    BIGTOP-3462. Deploying Livy fails if the SPARK_HOME directory doesn't 
exist. (#709)
---
 bigtop-deploy/puppet/modules/livy/manifests/init.pp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/bigtop-deploy/puppet/modules/livy/manifests/init.pp 
b/bigtop-deploy/puppet/modules/livy/manifests/init.pp
index c832ef4..51de7ce 100644
--- a/bigtop-deploy/puppet/modules/livy/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/livy/manifests/init.pp
@@ -15,6 +15,7 @@ class livy {
   class deploy ($roles) {
     if ('livy-server' in $roles) {
       include livy::server
+      include spark::common
     }
   }
 
@@ -43,10 +44,13 @@ class livy {
 
     service { 'livy-server':
       ensure     => running,
-      require    => Package['livy'],
+      require    => [
+        Package['spark-core'],
+        Package['livy'],
+      ],
       hasrestart => true,
       hasstatus  => true,
-      subscribe => [
+      subscribe  => [
         File['/etc/livy/conf/livy-env.sh'],
         File['/etc/livy/conf/livy.conf']
       ]

Reply via email to