You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Keta Patel (JIRA)" <ji...@apache.org> on 2016/02/02 22:42:39 UTC

[jira] [Commented] (AMBARI-14766) Selecting ALL groups does not work under Manage Alert Notifications

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

Keta Patel commented on AMBARI-14766:
-------------------------------------

The fix for this issue involves updating all the groups with the target id if the global flag is true (i.e. if the ALL option for Groups is selected). This update is performed on the server code in the class AlertTargetResourceProvider.
The earlier approach of passing group ids in the API is not used as it does not line up with the purpose of removing of these group ids when the global flag is true for the target.

Please find the patch "AMBARI-14766_Feb02.patch" with all the required fix for this issue.

> Selecting ALL groups does not work under Manage Alert Notifications
> -------------------------------------------------------------------
>
>                 Key: AMBARI-14766
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14766
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server, ambari-web
>    Affects Versions: trunk
>            Reporter: Keta Patel
>            Assignee: Keta Patel
>            Priority: Minor
>         Attachments: AMBARI-14766.patch, AMBARI-14766_Feb02.patch
>
>
> Selecting "ALL" groups does not work under Manage Alert Notifications.
> Reproduction Steps:-
> 1. Go to Alerts Tab in Ambari GUI
> 2. Actions --> Manage Notifications
> 3. Create New Alert Notification (Click the custom radio button for groups and select couple of options eg HDFS, PIG)
> 4. Save it.
> 5. Edit the newly created Alert notification by clicking on the All radio button. Everything gets selected.
> 6. Save it
> Expected results:
> On Saving the Alert notification, the dialog box "Manage Alert Notification"  should show Groups as ALL ( or Show all the values eg HDFS, PIG, MR2). Basically all the values should be selected.



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