You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/09/12 04:15:51 UTC

[jira] [Commented] (AMBARI-3191) Cannot delete a stopped host_component in INSTALLED state

    [ https://issues.apache.org/jira/browse/AMBARI-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765090#comment-13765090 ] 

Sumit Mohanty commented on AMBARI-3191:
---------------------------------------

The process is to move the host components to MAINTENANCE and then delete them. However, it should also be allowed to delete while they are at INSTALLED state.
                
> Cannot delete a stopped host_component in INSTALLED state
> ---------------------------------------------------------
>
>                 Key: AMBARI-3191
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3191
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.4.1
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 1.4.1
>
>         Attachments: AMBARI-3191.patch
>
>
> I have a host with 4 stopped host_components. When I issue a DELETE on say {noformat}http://c6401:8080/api/v1/clusters/vmc/hosts/c6404.ambari.apache.org/host_components/DATANODE{noformat}
> The response is:
> {noformat}
> {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: To remove master or slave components they must be in MAINTENANCE/INIT/INSTALL_FAILED/UNKNOWN state. Current=INSTALLED."
> }
> {noformat}

--
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