You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2015/12/14 18:35:46 UTC
[jira] [Updated] (AMBARI-14373) If a bunch of RMF resources is
defined using list of names, list is modified in runtime
[ https://issues.apache.org/jira/browse/AMBARI-14373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lysnichenko updated AMBARI-14373:
----------------------------------------
Component/s: ambari-server
> If a bunch of RMF resources is defined using list of names, list is modified in runtime
> ---------------------------------------------------------------------------------------
>
> Key: AMBARI-14373
> URL: https://issues.apache.org/jira/browse/AMBARI-14373
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
>
> Given code like
> {code}
> base_dirs = [params.kafka_log_dir, params.kafka_pid_dir, params.conf_dir]
> Directory(base_dirs,
> mode=0755,
> cd_access='a',
> owner=params.kafka_user,
> group=params.user_group,
> recursive=True
> )
> set_dir_ownership(base_dirs)
> {code}
> base_dirs becomes empty after using it in Directory definition (there is a side effect here)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)