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

Sumit Mohanty updated AMBARI-1759:
----------------------------------

    Attachment: AMBARI-1759.patch

The latest patch does not throw exception when ServiceComponentHost is not 
found. Tested that deleting an already deleted resource throws 404 as expected.
                
> Error in creating host component
> --------------------------------
>
>                 Key: AMBARI-1759
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1759
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 1.3.0
>
>         Attachments: AMBARI-1759.patch, AMBARI-1759.patch
>
>
> Error occurs when trying create host component on host where this component 
> has been deleted earlier.
> Returns:
> { "status" : 500, "message" : 
> "org.apache.ambari.server.controller.spi.SystemException: An internal system 
> exception occurred: Duplicate entry for ServiceComponentHost, 
> serviceName=HIVE, serviceComponentNameHIVE_SERVER, hostname= host1" }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to