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

Jaimin D Jetly commented on AMBARI-6197:
----------------------------------------

Patch integrated to trunk.

> Decommissioned running DataNode has "delete" menu item in action pulldown
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-6197
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6197
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.1
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>             Fix For: 1.6.1
>
>         Attachments: AMBARI-6197.patch
>
>
> Delete operation is not allowed for a hostComponent if it is in STARTED state.
> Currently delete menu item is shown when a hostComponent is flagged 
> decommissioned and in STARTED state. Performing delete operation in this 
> condition returns API 500 server error. If the hostComponent is brought in 
> INSTALLED state with the decommissioned flag and then delete operation is 
> performed then it happens as expected
> Delete menu item should be shown When hostComponent is in INSTALLED state and 
> should be grayed when it is in STARTED state. ambari-web client should not 
> consider decommission status of a hostComponent while validating the required 
> condition to enable/disable "delete" menu item.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to