[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-07 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17152575#comment-17152575 ] RickyMa commented on RANGER-2856: - [~pradeep] : Got it. Thanks a lot. > A policy should be deleted if

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-07 Thread Pradeep Agrawal (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17152565#comment-17152565 ] Pradeep Agrawal commented on RANGER-2856: - [~RickyMa] : Please close the RR. Next time please

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-07 Thread Pradeep Agrawal (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17152564#comment-17152564 ] Pradeep Agrawal commented on RANGER-2856: - Patch committed : 

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-02 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150469#comment-17150469 ] RickyMa commented on RANGER-2856: - [~pradeep] : Got it. It's done. Please review it again. Thank you so

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-02 Thread Pradeep Agrawal (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150436#comment-17150436 ] Pradeep Agrawal commented on RANGER-2856: - [~RickyMa] : if [^RANGER-2856.patch] is your proposed

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-02 Thread Pradeep Agrawal (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150431#comment-17150431 ] Pradeep Agrawal commented on RANGER-2856: - [~RickyMa] : I see your patch diff like this :  

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-02 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150282#comment-17150282 ] RickyMa commented on RANGER-2856: - [~pradeep] : Sorry, I don't quite get it. Because I can see

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-07-01 Thread Pradeep Agrawal (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17149442#comment-17149442 ] Pradeep Agrawal commented on RANGER-2856: - [~RickyMa] : Upload this patch 

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-29 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17147998#comment-17147998 ] RickyMa commented on RANGER-2856: - [~madhan] : It's been a couple of days. Do you have time to review

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-14 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17135188#comment-17135188 ] RickyMa commented on RANGER-2856: - [~madhan] : I got your point now. I didn't know that. That explains

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-13 Thread Madhan Neethiraj (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17134924#comment-17134924 ] Madhan Neethiraj commented on RANGER-2856: -- Current callers of

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-13 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17134919#comment-17134919 ] RickyMa commented on RANGER-2856: - [~madhan] - Alright, I can add this REST API. But I am still a little

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-11 Thread Madhan Neethiraj (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133923#comment-17133923 ] Madhan Neethiraj commented on RANGER-2856: -- [~RickyMa] - instead of handling such optimization

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-11 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133901#comment-17133901 ] RickyMa commented on RANGER-2856: - [~madhan] : I added an if condition to dispel your worries about 

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-11 Thread Madhan Neethiraj (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133587#comment-17133587 ] Madhan Neethiraj commented on RANGER-2856: -- The side effect is deleting such policies is

[jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems

2020-06-11 Thread RickyMa (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133534#comment-17133534 ] RickyMa commented on RANGER-2856: - A simple patch to fix this bug. Pull Request and Review link is