[ https://issues.apache.org/jira/browse/AMBARI-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13618908#comment-13618908
]
Siddharth Wagle commented on AMBARI-1759:
-----------------------------------------
I think remove cache should be a silent vs throw AmbariException, if caller tries to delete
non-existent entity we should throw exception, in this case a log.warn should suffice.
> 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
>
>
> 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
|