You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/04/21 18:56:58 UTC

[jira] [Updated] (AMBARI-10634) service_config_versions endpoint returns invalid group_id for default config group.

     [ https://issues.apache.org/jira/browse/AMBARI-10634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hurley updated AMBARI-10634:
-------------------------------------
    Attachment: AMBARI-10634.patch

> service_config_versions endpoint returns invalid group_id for default config group.
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-10634
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10634
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10634.patch
>
>
> *service_config_versions* endpoint returns *group_id* with value *null* instead of *-1* for default config group.
> For example:
> */api/v1/clusters/c1/configurations/service_config_versions?service_name=ZOOKEEPER&service_config_version=1*
> {noformat}
> .....
>       "createtime" : 1429608363202,
>       "group_id" : null,
>       "group_name" : "default",
>       "hosts" : [ ],
>       "is_cluster_compatible" : true,
>       "is_current" : true,
>       "service_config_version" : 1,
>       "service_config_version_note" : "Initial configurations for ZooKeeper",
>       "service_name" : "ZOOKEEPER",
>       "user" : "admin"
> .....
> {noformat}
> Changed to {{null}} by accident, moving back to {{-1}} will fix this issue.



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