You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2016/12/22 16:29:36 UTC
Review Request 54982: Zeppelin Notebook start fails after reboot
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54982/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-19284
https://issues.apache.org/jira/browse/AMBARI-19284
Repository: ambari
Description
-------
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
Diffs
-----
ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py 0b79d37
Diff: https://reviews.apache.org/r/54982/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk
Re: Review Request 54982: Zeppelin Notebook start fails after reboot
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54982/#review159974
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On \u0413\u0440\u0443. 22, 2016, 4:29 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f, Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54982/
> -----------------------------------------------------------
>
> (Updated \u0413\u0440\u0443. 22, 2016, 4:29 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f)
>
>
> Review request for Ambari and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-19284
> https://issues.apache.org/jira/browse/AMBARI-19284
>
>
> Repository: ambari
>
>
> Description
> -------
>
> 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
>
>
> Diffs
> -----
>
> ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py 0b79d37
>
> Diff: https://reviews.apache.org/r/54982/diff/
>
>
> Testing
> -------
>
> mvn clean test
>
>
> Thanks,
>
> Andrew Onischuk
>
>