[ 
https://issues.apache.org/jira/browse/AMBARI-19284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-19284:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk and branch-2.5

> Zeppelin Notebook start fails after reboot
> ------------------------------------------
>
>                 Key: AMBARI-19284
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19284
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19284.patch
>
>
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
>  line 361, in <module>
>         Master().execute()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 287, in execute
>         method(env)
>       File 
> "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
>  line 191, in start
>         + params.zeppelin_log_file, user=params.zeppelin_user)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 155, in __init__
>         self.env.run()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
>         self.run_action(resource, action)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
>         provider_action()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 262, in action_run
>         tries=self.resource.tries, try_sleep=self.resource.try_sleep)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
> 72, in inner
>         result = function(command, **kwargs)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
> 102, in checked_call
>         tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
> 150, in _call_wrapper
>         result = _call(command, **kwargs_copy)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
> 303, in _call
>         raise ExecutionFailed(err_msg, code, out, err)
>     resource_management.core.exceptions.ExecutionFailed: Execution of 
> '/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh restart >> 
> /grid/0/log/zeppelin/zeppelin-setup.log' returned 1. ######## Hortonworks 
> #############
>     This is MOTD message, added for testing in qe infra
>     mkdir: cannot create directory `/var/run/zeppelin': Permission denied
>     /usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh: line 192: 
> /var/run/zeppelin/zeppelin-zeppelin-nat-d7-rrws-ambari-autostart-1-5.pid: No 
> such file or directory
>     cat: 
> /var/run/zeppelin/zeppelin-zeppelin-nat-d7-rrws-ambari-autostart-1-5.pid: No 
> such file or directory
>     
> Explanation:  
> 1\. /var/run/zeppelin created only during install stage  
> 2\. Reboot pc. So that /var/run is cleaned.  
> 3\. Zeppelin fails to start because /var/run/zeppelin is absent



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

Reply via email to