[jira] [Updated] (AMBARI-15532) ambari-web allows to delete a service that has running processes

2016-03-24 Thread Andrii Babiichuk (JIRA)

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

Andrii Babiichuk updated AMBARI-15532:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

committed to trunk

> ambari-web allows to delete a service that has running processes
> 
>
> Key: AMBARI-15532
> URL: https://issues.apache.org/jira/browse/AMBARI-15532
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.4.0
>Reporter: Andrii Babiichuk
>Assignee: Andrii Babiichuk
>Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-15532.patch
>
>
> # Navigate to Hive Service summary page
> # Stop Webhcat server
> # Delete Hive Service
> *Actual behavior:* As one master component of Hive is in installed state 
> which brings hive service in installed state, ambari-web considers this to be 
> a valid siatuation and executes delete API call on Hive service resource
> *Expected behavior:* Instead of relying on service state, state of all master 
> and slave component of a service should be checked and if any of them is in 
> started state then user should be asked to stop the master component first. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (AMBARI-15532) ambari-web allows to delete a service that has running processes

2016-03-23 Thread Andrii Babiichuk (JIRA)

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

Andrii Babiichuk updated AMBARI-15532:
--
Status: Patch Available  (was: Open)

  24653 tests complete (21 seconds)
  145 tests pending


> ambari-web allows to delete a service that has running processes
> 
>
> Key: AMBARI-15532
> URL: https://issues.apache.org/jira/browse/AMBARI-15532
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.4.0
>Reporter: Andrii Babiichuk
>Assignee: Andrii Babiichuk
>Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-15532.patch
>
>
> # Navigate to Hive Service summary page
> # Stop Webhcat server
> # Delete Hive Service
> *Actual behavior:* As one master component of Hive is in installed state 
> which brings hive service in installed state, ambari-web considers this to be 
> a valid siatuation and executes delete API call on Hive service resource
> *Expected behavior:* Instead of relying on service state, state of all master 
> and slave component of a service should be checked and if any of them is in 
> started state then user should be asked to stop the master component first. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (AMBARI-15532) ambari-web allows to delete a service that has running processes

2016-03-23 Thread Andrii Babiichuk (JIRA)

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

Andrii Babiichuk updated AMBARI-15532:
--
Attachment: AMBARI-15532.patch

> ambari-web allows to delete a service that has running processes
> 
>
> Key: AMBARI-15532
> URL: https://issues.apache.org/jira/browse/AMBARI-15532
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-web
>Affects Versions: 2.4.0
>Reporter: Andrii Babiichuk
>Assignee: Andrii Babiichuk
>Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-15532.patch
>
>
> # Navigate to Hive Service summary page
> # Stop Webhcat server
> # Delete Hive Service
> *Actual behavior:* As one master component of Hive is in installed state 
> which brings hive service in installed state, ambari-web considers this to be 
> a valid siatuation and executes delete API call on Hive service resource
> *Expected behavior:* Instead of relying on service state, state of all master 
> and slave component of a service should be checked and if any of them is in 
> started state then user should be asked to stop the master component first. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)