ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7218) rename host group deletes configs
Date Wed, 10 Sep 2014 10:21:28 GMT

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

Dmitry Lysnichenko commented on AMBARI-7218:
--------------------------------------------

Looks like group rename works even without my patch when using request 

{code}
 curl "http://c6401.ambari.apache.org:8080/api/v1/clusters/clusters/config_groups/15" -X PUT
-H "Pragma: no-cache" -H "Origin: http://c6401.ambari.apache.org:8080"  --data "{""ConfigGroup"":{""group_name"":""test4"",""description"":""New
configuration group created on Wed Sep 10 2014"",""tag"":""MAPREDUCE2"",""hosts"":[{""host_name"":""c6402.ambari.apache.org""}],""desired_configs"":[{""type"":""mapred-site"",""tag"":""version1410343458873""}]}}"
--compressed
{code}

So I reverted my patch from the trunk

> rename host group deletes configs
> ---------------------------------
>
>                 Key: AMBARI-7218
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7218
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.7.0
>
>
> 1. create host group
> 2. override a property (to make a new scv)
> 3. go and rename that group
> 4. that scv ends up being deleted and now that group has lost it's config



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

Mime
View raw message