You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/10 10:23:00 UTC

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

     [ https://issues.apache.org/jira/browse/AMBARI-25025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated AMBARI-25025:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Minor
>              Labels: pull-request-available
>             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)