Andrii Tkach created AMBARI-3807:
------------------------------------

             Summary: Cannot save config-group due to missing service id
                 Key: AMBARI-3807
                 URL: https://issues.apache.org/jira/browse/AMBARI-3807
             Project: Ambari
          Issue Type: Task
          Components: client
    Affects Versions: 1.4.2
            Reporter: Andrii Tkach
            Assignee: Andrii Tkach
             Fix For: 1.4.2


In HDFS service I overrode property 'DataNode HeapSize' to 1111 and tried 
saving it. The following API call was made:
{code}
PUT http://server:8080/api/v1/clusters/c1/config_groups/10

[{"ConfigGroup":{"id":10,"cluster_name":"c1","group_name":"HighMem 
DataNodes","description":"New configuration group created on Mon Nov 18 
2013","hosts":[],"desired_configs":[{"type":"global","tag":"version1384811800927","properties":{"dtnode_heapsize":"1111"}}]}}]
{code}

with the following error:
{code}
{
  "status" : 400,
  "message" : "java.lang.IllegalArgumentException: Cluster name, group name and 
tag need to be provided."
}
{code}

It seems like the service ID is missing in the request



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to