Gonzalo Herreros created AMBARI-19223:
-----------------------------------------

             Summary: Zeppelin service start "No such file or directory"
                 Key: AMBARI-19223
                 URL: https://issues.apache.org/jira/browse/AMBARI-19223
             Project: Ambari
          Issue Type: Bug
          Components: stacks
    Affects Versions: 2.4.2
            Reporter: Gonzalo Herreros


Normally the /var/run directory is on a temporary filesystem and thus wiped on 
restart.
Ambari service scripts ensure the corresponding run directory like 
/var/run/zeppelin exists on start.
However for zeppelin the run directory is only created in install, therefore 
start no longer works correctly and you get a "No such file or directory" when 
Ambari tries to store the pid after reboot.

In this file the block "# create the pid and zeppelin dirs" should be moved 
into the create_zeppelin_dir which is called from start
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to