You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2018/12/09 18:26:00 UTC

[jira] [Created] (AMBARI-25025) Duplicate kerberos_descriptor name reported as HTTP 500

Doroszlai, Attila created AMBARI-25025:
------------------------------------------

             Summary: Duplicate kerberos_descriptor name reported as HTTP 500
                 Key: AMBARI-25025
                 URL: https://issues.apache.org/jira/browse/AMBARI-25025
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
            Reporter: Doroszlai, Attila
            Assignee: Doroszlai, Attila
             Fix For: 2.8.0


Duplicate {{kerberos_descriptor}} name is reported as HTTP 500 Server Error.  It should result in HTTP 409 Conflict.

{noformat}
$ curl -X POST -d @metrics_descriptor.json "http://${AMBARI_SERVER}:8080/api/v1/kerberos_descriptors/metrics_descriptor"
HTTP/1.1 201 Created
$ curl -X POST -d @metrics_descriptor.json "http://${AMBARI_SERVER}:8080/api/v1/kerberos_descriptors/metrics_descriptor"
HTTP/1.1 500 Server Error
...
  Detail: Key (kerberos_descriptor_name)=(metrics_descriptor) already exists.
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)