ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19442) Ownership is changed before the creation of directory in ZEPPELIN master.py
Date Sun, 15 Jan 2017 23:47:26 GMT

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

Hudson commented on AMBARI-19442:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #711 (See [https://builds.apache.org/job/Ambari-branch-2.5/711/])
AMBARI-19442. Ownership is changed before the creation of directory in (smohanty: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=77b4113ab56e619f2818839f3760ea664e78ab21])
* (edit) ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py


> Ownership is changed before the creation of directory in ZEPPELIN master.py
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-19442
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19442
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Pradarttana
>            Assignee: Renjith Kamath
>            Priority: Blocker
>         Attachments: AMBARI-19442-branch-2.5-v1.patch, AMBARI-19442-trunk-v1.patch
>
>
> ownership is changed before the creation of directory in ZEPPELIN master.py
> file :- /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
> {code}
>  def configure(self, env):
>     import params
>     import status_params
>     env.set_params(params)
>     env.set_params(status_params)
>     self.create_zeppelin_log_dir(env)
>     self.chown_zeppelin_pid_dir(env)
>     # create the pid and zeppelin dirs
>     Directory([params.zeppelin_pid_dir, params.zeppelin_dir],
>               owner=params.zeppelin_user,
>               group=params.zeppelin_group,
>               cd_access="a",
>               create_parents=True,
>               mode=0755
>     )
>     # write out zeppelin-site.xml
>     XmlConfig("zeppelin-site.xml",
>               conf_dir=params.conf_dir,
>               configurations=params.config['configurations']['zeppelin-config'],
>               owner=params.zeppelin_user,
>               group=params.zeppelin_group
> {code}
> The Failure message :-
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 375, 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 172, in start
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 119, in configure
>     self.chown_zeppelin_pid_dir(env)
>   File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 111, in chown_zeppelin_pid_dir
>     sudo=True)
>   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 'chown -R cstm-zeppelin:cstm-zeppelin
/var/run/zeppelin' returned 1. chown: cannot access '/var/run/zeppelin': No such file or directory
> {code}



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

Mime
View raw message