You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/04/06 22:48:25 UTC

[jira] [Commented] (AMBARI-15732) zeppelin_log_dir change leads to fail for different Zeppelin Notebook service actions

    [ https://issues.apache.org/jira/browse/AMBARI-15732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229074#comment-15229074 ] 

Hadoop QA commented on AMBARI-15732:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12797296/AMBARI-15732-trunk.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6250//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6250//console

This message is automatically generated.

> zeppelin_log_dir change leads to fail for different Zeppelin Notebook service actions
> -------------------------------------------------------------------------------------
>
>                 Key: AMBARI-15732
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15732
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: ambari-2.4.0
>         Environment: Centos 6
>            Reporter: Sagar Kulkarni
>            Priority: Critical
>             Fix For: ambari-2.4.0
>
>         Attachments: AMBARI-15732-trunk.patch
>
>
> Change zeppelin_log_dir to any new value (/var/log/zeppelin1). Save changes. Try to stop/restart service. You will get error:
> {code}
> stderr: 
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 216, in <module>
>     Master().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 241, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 137, in stop
>     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 273, 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 70, in inner
>     result = function(command, **kwargs)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
>     tries=tries, try_sleep=try_sleep)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
>     result = _call(command, **kwargs_copy)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
>     raise Fail(err_msg)
> resource_management.core.exceptions.Fail: Execution of '/usr/hdp/current/zeppelin-server/lib/bin/zeppelin-daemon.sh stop >> /var/log/zeppelin1/zeppelin-setup.log' returned 1. -bash: /var/log/zeppelin1/zeppelin-setup.log: No such file or directory
>  stdout:
> 2016-04-05 16:11:12,172 - call['ambari-python-wrap /usr/bin/hdp-select status spark-client'] {'timeout': 20}
> 2016-04-05 16:11:12,209 - call returned (0, 'spark-client - 2.5.0.0-58')
> 2016-04-05 16:11:12,211 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.5.0.0-58
> 2016-04-05 16:11:12,212 - Checking if need to create versioned conf dir /etc/hadoop/2.5.0.0-58/0
> 2016-04-05 16:11:12,212 - call[('ambari-python-wrap', '/usr/bin/conf-select', 'create-conf-dir', '--package', 'hadoop', '--stack-version', '2.5.0.0-58', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1}
> 2016-04-05 16:11:12,252 - call returned (1, '/etc/hadoop/2.5.0.0-58/0 exist already', '')
> 2016-04-05 16:11:12,253 - checked_call[('ambari-python-wrap', '/usr/bin/conf-select', 'set-conf-dir', '--package', 'hadoop', '--stack-version', '2.5.0.0-58', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False}
> 2016-04-05 16:11:12,293 - checked_call returned (0, '/usr/hdp/2.5.0.0-58/hadoop/conf -> /etc/hadoop/2.5.0.0-58/0')
> 2016-04-05 16:11:12,294 - Ensuring that hadoop has the correct symlink structure
> 2016-04-05 16:11:12,294 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
> 2016-04-05 16:11:12,295 - Execute['/usr/hdp/current/zeppelin-server/lib/bin/zeppelin-daemon.sh stop >> /var/log/zeppelin1/zeppelin-setup.log'] {'user': 'zeppelin'}
> {code}



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