Jonathan Hurley created AMBARI-10634:
----------------------------------------

             Summary: 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


*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)

Reply via email to