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 ea300b5 BIGTOP-3378. Fix Livy deployment failure on Debian and
Ubuntu. (#653)
ea300b5 is described below
commit ea300b5f67912ffff86e255c6584c394f77cd50b
Author: Kengo Seki <[email protected]>
AuthorDate: Sat Jul 25 01:37:42 2020 +0900
BIGTOP-3378. Fix Livy deployment failure on Debian and Ubuntu. (#653)
---
bigtop-packages/src/common/livy/livy-server.svc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bigtop-packages/src/common/livy/livy-server.svc
b/bigtop-packages/src/common/livy/livy-server.svc
index 6c549b6..47c6925 100644
--- a/bigtop-packages/src/common/livy/livy-server.svc
+++ b/bigtop-packages/src/common/livy/livy-server.svc
@@ -40,6 +40,9 @@ start() {
[ -x $EXEC_PATH ] || exit $ERROR_PROGRAM_NOT_INSTALLED
[ -d $CONF_DIR ] || exit $ERROR_PROGRAM_NOT_CONFIGURED
+ export SPARK_HOME=/usr/lib/spark
+ export LIVY_LOG_DIR=/var/log/livy
+ export LIVY_PID_DIR=/var/run/livy
runuser -s /bin/bash $SVC_USER -c "cd $WORKING_DIR && $EXEC_PATH start"
# Some processes are slow to start