ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 19:51:00 GMT

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

Hudson commented on AMBARI-10634:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2391 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2391/])
AMBARI-10634 - service_config_versions endpoint returns invalid group_id for default config
group (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5d4fb317764cfde48898377975f1df17b20e40a4)
* ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceConfigVersionResponse.java


> 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