ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10634) service_config_versions endpoint returns invalid group_id for default config group.
Date Tue, 21 Apr 2015 16:58:07 GMT

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

Srimanth Gunturi commented on AMBARI-10634:
-------------------------------------------

+1 for 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)

Mime
View raw message