Fix the upstart script for zeppelin so that it creates the temporary directory.

This commit is contained in:
Andrea Dell'Amico 2018-04-17 19:42:46 +02:00
parent a00237de06
commit a4010fd63b
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ respawn limit 7 5
setuid {{ cdh_zeppelin_user }}
setgid {{ cdh_zeppelin_group }}
pre-start script
mkdir -p /srv/zeppelin/base_tmp/tmp
end script
# zeppelin was installed in /usr/share/zeppelin in this example
chdir {{ cdh_zeppelin_home }}/{{ cdh_zeppelin_dir }}
exec bin/zeppelin-daemon.sh upstart