[
https://issues.apache.org/jira/browse/AMBARI-23293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swapan Shridhar resolved AMBARI-23293.
--------------------------------------
Resolution: Fixed
> Fix the following : 1. Host Component deletes are broken 2. Use resource Type
> in for getting resources from Mpack Modules.
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-23293
> URL: https://issues.apache.org/jira/browse/AMBARI-23293
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Swapan Shridhar
> Assignee: Swapan Shridhar
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> After Fix:
> *1. Host Component Delete*:
> {code:title=DELETE
> http://<AmbariServer>:8080/api/v1/clusters/c1/hosts/<HostName>/host_components/13}
> {
> "deleteResult" : [
> {
> "deleted" : {
> "key" : "component_id: 13"
> }
> }
> ]
> }
> {code}
> *2. Use resource Type in for getting resources from Mpack Modules.*
> *Reason:* When we are creating a Service, Host Component and Service
> Component when *name* provided is not same as the *type*, we need to use the
> ResourceType to refer the mpack to get the resource component from stack.
> Eg:
> {code}
> {
> "ServiceInfo":{
> "service_group_name":"dev",
> "service_type":"ZOOKEEPER",
> "service_name":"ZOOKEEPER_dev"
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)