[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

Re: Review Request 72588: RANGER-2856: A policy should be deleted if it has no policyItems

2020-06-11 Thread Pradeep Agrawal
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72588/#review220999 --- Why you want to delete such policies. Can you give more details

[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] [Updated] (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:all-tabpanel ] RickyMa updated RANGER-2856: Attachment: (was: RANGER-2856.patch) > A policy should be deleted if it has no policyItems >

Re: Review Request 72588: RANGER-2856: A policy should be deleted if it has no policyItems

2020-06-11 Thread Madhan Neethiraj
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72588/#review220997 --- The side effect is deleting such policies is potential skipping

[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

Review Request 72588: RANGER-2856: A policy should be deleted if it has no policyItems

2020-06-11 Thread Haoxiang Ma
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72588/ --- Review request for ranger. Bugs: RANGER-2856

[jira] [Updated] (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:all-tabpanel ] RickyMa updated RANGER-2856: Attachment: RANGER-2856.patch > A policy should be deleted if it has no policyItems >

[GitHub] [ranger] rickyma opened a new pull request #66: RANGER-2856: A policy should be deleted if it has no policyItems

2020-06-11 Thread GitBox
rickyma opened a new pull request #66: URL: https://github.com/apache/ranger/pull/66 Condition: A policy contains only one policyItem and the policyItem only sets one user and no groups. Action: Delete the user in the policyItem using API:

[jira] [Updated] (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:all-tabpanel ] RickyMa updated RANGER-2856: Description: Condition: A policy contains only one policyItem and the policyItem only sets one user and

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

2020-06-11 Thread RickyMa (Jira)
RickyMa created RANGER-2856: --- Summary: A policy should be deleted if it has no policyItems Key: RANGER-2856 URL: https://issues.apache.org/jira/browse/RANGER-2856 Project: Ranger Issue Type: Bug

[jira] [Updated] (RANGER-2855) import policy for ranger is not working properly if updateifexist parameter is passed

2020-06-11 Thread Dineshkumar Yadav (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dineshkumar Yadav updated RANGER-2855: -- Description: If updateifexist parameter is passed during import ranger policy then it

[jira] [Updated] (RANGER-2855) import policy for ranger is not working properly if updateifexist parameter is passed

2020-06-11 Thread Dineshkumar Yadav (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dineshkumar Yadav updated RANGER-2855: -- Description: If updateifexist parameter is passed during import ranger policy then it

Re: Review Request 72585: RANGER-2854: Make audit bootstrap property configurable

2020-06-11 Thread bhavik patel
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72585/#review220994 --- Ship it! Ship It! - bhavik patel On June 11, 2020, 12:25

Review Request 72585: RANGER-2854: Make audit bootstrap property configurable

2020-06-11 Thread Pradeep Agrawal
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72585/ --- Review request for ranger, Ankita Sinha, Don Bosco Durai, bhavik patel, Colm O

[jira] [Commented] (RANGER-2853) "Unauthenticated : Please check the permission in the policy for the user": An NPE in ranger admin when enable kms.

2020-06-11 Thread Pradeep Agrawal (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133183#comment-17133183 ] Pradeep Agrawal commented on RANGER-2853: - [~lalapala] : Please close the review request. >

[jira] [Updated] (RANGER-2855) import policy for ranger is not working properly if updateifexist parameter is passed

2020-06-11 Thread Dineshkumar Yadav (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dineshkumar Yadav updated RANGER-2855: -- Description: If updateifexist parameter is passed during import ranger policy then it

[jira] [Updated] (RANGER-2855) import policy for ranger is not working properly if updateifexist parameter is passed

2020-06-11 Thread Dineshkumar Yadav (Jira)
[ https://issues.apache.org/jira/browse/RANGER-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dineshkumar Yadav updated RANGER-2855: -- Description: if updateifexist parameter is passed during import ranger policy then it

[jira] [Created] (RANGER-2855) import policy for ranger is not working properly if updateifexist parameter is passed

2020-06-11 Thread Dineshkumar Yadav (Jira)
Dineshkumar Yadav created RANGER-2855: - Summary: import policy for ranger is not working properly if updateifexist parameter is passed Key: RANGER-2855 URL: https://issues.apache.org/jira/browse/RANGER-2855

[jira] [Created] (RANGER-2854) Make audit bootstrap property configurable

2020-06-11 Thread Pradeep Agrawal (Jira)
Pradeep Agrawal created RANGER-2854: --- Summary: Make audit bootstrap property configurable Key: RANGER-2854 URL: https://issues.apache.org/jira/browse/RANGER-2854 Project: Ranger Issue

[jira] [Commented] (RANGER-2852) Add .gitattributes file to prevent CRLF and LF mismatches for source and text files

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