[jira] [Commented] (RANGER-2891) Add checkCanShowColumnsMetadata for presto plugin

2020-07-02 Thread Ramesh Mani (Jira)


[ 
https://issues.apache.org/jira/browse/RANGER-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150740#comment-17150740
 ] 

Ramesh Mani commented on RANGER-2891:
-

Could you please add a detailed description for this Jira. Thank you.

> Add checkCanShowColumnsMetadata for presto plugin
> -
>
> Key: RANGER-2891
> URL: https://issues.apache.org/jira/browse/RANGER-2891
> Project: Ranger
>  Issue Type: Improvement
>  Components: plugins
>Affects Versions: 2.0.0
>Reporter: rujia
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (RANGER-2890) Add missing log4j properties for audit log

2020-07-02 Thread Ramesh Mani (Jira)


[ 
https://issues.apache.org/jira/browse/RANGER-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150739#comment-17150739
 ] 

Ramesh Mani commented on RANGER-2890:
-

[~rujia1019]  Thank you for the contribution. Could you please add a detailed 
description for this Jira. Also please put the patch for review in review board 
 [https://reviews.apache.org/r/new/] against the "ranger" project.

> Add missing log4j properties for audit log
> --
>
> Key: RANGER-2890
> URL: https://issues.apache.org/jira/browse/RANGER-2890
> Project: Ranger
>  Issue Type: Improvement
>  Components: audit
>Affects Versions: 2.0.0
>Reporter: rujia
>Priority: Major
> Attachments: 0001-aduit-for-log4j.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (RANGER-2891) Add checkCanShowColumnsMetadata for presto plugin

2020-07-02 Thread rujia (Jira)
rujia created RANGER-2891:
-

 Summary: Add checkCanShowColumnsMetadata for presto plugin
 Key: RANGER-2891
 URL: https://issues.apache.org/jira/browse/RANGER-2891
 Project: Ranger
  Issue Type: Improvement
  Components: plugins
Affects Versions: 2.0.0
Reporter: rujia






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (RANGER-2890) Add missing log4j properties for audit log

2020-07-02 Thread rujia (Jira)


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

rujia updated RANGER-2890:
--
Summary: Add missing log4j properties for audit log  (was: Add missing 
log4j propertis for audit log)

> Add missing log4j properties for audit log
> --
>
> Key: RANGER-2890
> URL: https://issues.apache.org/jira/browse/RANGER-2890
> Project: Ranger
>  Issue Type: Improvement
>  Components: audit
>Affects Versions: 2.0.0
>Reporter: rujia
>Priority: Major
> Attachments: 0001-aduit-for-log4j.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (RANGER-2890) Add missing log4j propertis for audit log

2020-07-02 Thread rujia (Jira)


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

rujia updated RANGER-2890:
--
Attachment: 0001-aduit-for-log4j.patch

> Add missing log4j propertis for audit log
> -
>
> Key: RANGER-2890
> URL: https://issues.apache.org/jira/browse/RANGER-2890
> Project: Ranger
>  Issue Type: Improvement
>  Components: audit
>Affects Versions: 2.0.0
>Reporter: rujia
>Priority: Major
> Attachments: 0001-aduit-for-log4j.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (RANGER-2890) Add missing log4j propertis for audit log

2020-07-02 Thread rujia (Jira)
rujia created RANGER-2890:
-

 Summary: Add missing log4j propertis for audit log
 Key: RANGER-2890
 URL: https://issues.apache.org/jira/browse/RANGER-2890
 Project: Ranger
  Issue Type: Improvement
  Components: audit
Affects Versions: 2.0.0
Reporter: rujia






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (RANGER-2885) Add missing PermType Java codes for new versions of Kafka

2020-07-02 Thread RickyMa (Jira)


[ 
https://issues.apache.org/jira/browse/RANGER-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150470#comment-17150470
 ] 

RickyMa commented on RANGER-2885:
-

[~pradeep] : Could you please also have a look at this? Thanks a lot.

> Add missing PermType Java codes for new versions of Kafka
> -
>
> Key: RANGER-2885
> URL: https://issues.apache.org/jira/browse/RANGER-2885
> Project: Ranger
>  Issue Type: Bug
>  Components: admin, Ranger
>Affects Versions: master
>Reporter: RickyMa
>Priority: Major
> Fix For: master
>
> Attachments: RANGER-2885.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are codes missing for:
> https://issues.apache.org/jira/browse/RANGER-2117
> https://issues.apache.org/jira/browse/RANGER-2692
> When calling 
> 'http://10.1.0.44:6080/service/public/api/policy?repositoryName=tdw_kafka\=kafka\=false',
>  it will return 'Unknown' value in permMapList.permList field, which is not 
> appropriate.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[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 much.

> 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
>  Components: admin, Ranger
>Affects Versions: master
>Reporter: RickyMa
>Priority: Minor
> Fix For: master
>
> Attachments: RANGER-2856.patch, image-2020-07-02-21-58-59-495.png, 
> image-2020-07-02-22-03-36-267.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: 
> '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]
> Result: The policy still exists, but it has no policyItems. A policy with no 
> policyItems is completely meaningless and it should be deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


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

2020-07-02 Thread Bill Ricky

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72588/
---

(Updated 七月 2, 2020, 5:23 p.m.)


Review request for ranger.


Bugs: RANGER-2856
https://issues.apache.org/jira/browse/RANGER-2856


Repository: ranger


Description
---

A policy should be deleted if it has no policyItems


Diffs (updated)
-

  security-admin/src/main/java/org/apache/ranger/biz/PolicyRefUpdater.java 
564a2e764 
  security-admin/src/main/java/org/apache/ranger/rest/PublicAPIsv2.java 
4862442c9 
  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 
2a507dd8e 


Diff: https://reviews.apache.org/r/72588/diff/2/

Changes: https://reviews.apache.org/r/72588/diff/1-2/


Testing
---

1.Compilation OK
2.Already used in production environment


File Attachments


RANGER-2856.patch
  
https://reviews.apache.org/media/uploaded/files/2020/06/14/e6fee3bc-4d58-41e9-9efd-b07d0b47646e__RANGER-2856.patch


Thanks,

Bill Ricky



[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 patch then download that 
file and go to your RR and select: update -> update Diff -> select the file and 
upload it. After upload publish the RR again.

!image-2020-07-02-22-03-36-267.png!

> 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
>  Components: admin, Ranger
>Affects Versions: master
>Reporter: RickyMa
>Priority: Minor
> Fix For: master
>
> Attachments: RANGER-2856.patch, image-2020-07-02-21-58-59-495.png, 
> image-2020-07-02-22-03-36-267.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: 
> '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]
> Result: The policy still exists, but it has no policyItems. A policy with no 
> policyItems is completely meaningless and it should be deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (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:all-tabpanel
 ]

Pradeep Agrawal updated RANGER-2856:

Attachment: image-2020-07-02-22-03-36-267.png

> 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
>  Components: admin, Ranger
>Affects Versions: master
>Reporter: RickyMa
>Priority: Minor
> Fix For: master
>
> Attachments: RANGER-2856.patch, image-2020-07-02-21-58-59-495.png, 
> image-2020-07-02-22-03-36-267.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: 
> '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]
> Result: The policy still exists, but it has no policyItems. A policy with no 
> policyItems is completely meaningless and it should be deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[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 :  
[https://reviews.apache.org/r/72588/diff/1#index_header]

!image-2020-07-02-21-58-59-495.png!

 

 

> 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
>  Components: admin, Ranger
>Affects Versions: master
>Reporter: RickyMa
>Priority: Minor
> Fix For: master
>
> Attachments: RANGER-2856.patch, image-2020-07-02-21-58-59-495.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: 
> '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]
> Result: The policy still exists, but it has no policyItems. A policy with no 
> policyItems is completely meaningless and it should be deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (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:all-tabpanel
 ]

Pradeep Agrawal updated RANGER-2856:

Attachment: image-2020-07-02-21-58-59-495.png

> 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
>  Components: admin, Ranger
>Affects Versions: master
>Reporter: RickyMa
>Priority: Minor
> Fix For: master
>
> Attachments: RANGER-2856.patch, image-2020-07-02-21-58-59-495.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: 
> '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]
> Result: The policy still exists, but it has no policyItems. A policy with no 
> policyItems is completely meaningless and it should be deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[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 RANGER-2856.patch 
file had already been uploaded at RR [https://reviews.apache.org/r/72588/] two 
weeks before.

> 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
>  Components: admin, Ranger
>Affects Versions: master
>Reporter: RickyMa
>Priority: Minor
> Fix For: master
>
> Attachments: RANGER-2856.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: 
> '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]
> Result: The policy still exists, but it has no policyItems. A policy with no 
> policyItems is completely meaningless and it should be deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Review Request 72635: RANGER-2887: Upgrade Tomcat to 7.0.104

2020-07-02 Thread Mahesh Bandal

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72635/
---

(Updated July 2, 2020, 12:44 p.m.)


Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan 
Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and 
Velmurugan Periasamy.


Changes
---

Wider distribution


Bugs: RANGER-2887
https://issues.apache.org/jira/browse/RANGER-2887


Repository: ranger


Description
---

Upgrade Tomcat version to follow best practices


Diffs
-

  pom.xml 5bfd08df2 


Diff: https://reviews.apache.org/r/72635/diff/1/


Testing
---

updated jars are loaded in classpath and Ranger started withoud any issue. 
Ranger works as it is.


Thanks,

Mahesh Bandal