aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bigtop-packages/src/common/zeppelin/install_zeppelin.sh1
-rw-r--r--bigtop-packages/src/common/zeppelin/zeppelin-env.sh1
-rw-r--r--bigtop-packages/src/deb/zeppelin/zeppelin.install2
-rw-r--r--bigtop-packages/src/rpm/zeppelin/SPECS/zeppelin.spec1
4 files changed, 5 insertions, 0 deletions
diff --git a/bigtop-packages/src/common/zeppelin/install_zeppelin.sh b/bigtop-packages/src/common/zeppelin/install_zeppelin.sh
index a35b61cf..29e3e304 100644
--- a/bigtop-packages/src/common/zeppelin/install_zeppelin.sh
+++ b/bigtop-packages/src/common/zeppelin/install_zeppelin.sh
@@ -113,6 +113,7 @@ install -d -m 0755 $PREFIX/var/lib/zeppelin/
install -d -m 0755 $PREFIX/var/lib/zeppelin/notebook/
install -d -m 0755 $PREFIX/var/log/zeppelin/
install -d -m 0755 $PREFIX/var/run/zeppelin/
+install -d -m 0755 $PREFIX/var/run/zeppelin/webapps
tar --wildcards --strip-components=1 -C $PREFIX/$LIB_DIR -zxf ${BUILD_DIR}/zeppelin-distribution/target/zeppelin-*.tar.gz \*/bin/\*
tar --wildcards --strip-components=1 -C $PREFIX/$LIB_DIR -zxf ${BUILD_DIR}/zeppelin-distribution/target/zeppelin-*.tar.gz \*/interpreter/\*
diff --git a/bigtop-packages/src/common/zeppelin/zeppelin-env.sh b/bigtop-packages/src/common/zeppelin/zeppelin-env.sh
index d423f915..038d13e3 100644
--- a/bigtop-packages/src/common/zeppelin/zeppelin-env.sh
+++ b/bigtop-packages/src/common/zeppelin/zeppelin-env.sh
@@ -18,6 +18,7 @@ export ZEPPELIN_PORT=8080
export ZEPPELIN_CONF_DIR=/etc/zeppelin/conf
export ZEPPELIN_LOG_DIR=/var/log/zeppelin
export ZEPPELIN_PID_DIR=/var/run/zeppelin
+export ZEPPELIN_WAR_TEMPDIR=/var/run/zeppelin/webapps
export ZEPPELIN_NOTEBOOK_DIR=/var/lib/zeppelin/notebook
export MASTER=yarn-client
export SPARK_HOME=/usr/lib/spark
diff --git a/bigtop-packages/src/deb/zeppelin/zeppelin.install b/bigtop-packages/src/deb/zeppelin/zeppelin.install
index 1883e9bf..25004ec5 100644
--- a/bigtop-packages/src/deb/zeppelin/zeppelin.install
+++ b/bigtop-packages/src/deb/zeppelin/zeppelin.install
@@ -1,4 +1,6 @@
/etc/zeppelin
/usr/lib/zeppelin
/var/lib/zeppelin
+/var/run/zeppelin
+/var/run/zeppelin/webapps
/usr/share/doc/zeppelin
diff --git a/bigtop-packages/src/rpm/zeppelin/SPECS/zeppelin.spec b/bigtop-packages/src/rpm/zeppelin/SPECS/zeppelin.spec
index 10585bb3..da10e5c1 100644
--- a/bigtop-packages/src/rpm/zeppelin/SPECS/zeppelin.spec
+++ b/bigtop-packages/src/rpm/zeppelin/SPECS/zeppelin.spec
@@ -131,5 +131,6 @@ chkconfig --del %{name}
%attr(0755,zeppelin,zeppelin) %{etc_zeppelin}
%attr(0755,zeppelin,zeppelin) %{var_lib_zeppelin}
%attr(0755,zeppelin,zeppelin) %{var_run_zeppelin}
+%attr(0755,zeppelin,zeppelin) %{var_run_zeppelin}/webapps
%attr(0755,zeppelin,zeppelin) %{var_log_zeppelin}
%attr(0755,root,root)/%{initd_dir}/%{name}