[jira] [Created] (RANGER-2568) Ranger Hive policy creation page in Ranger Admin UI shows resources as Database,None instead of Database,Table,Column

2019-09-13 Thread Nitin Galave (Jira)
Nitin Galave created RANGER-2568:


 Summary: Ranger Hive policy creation page in Ranger Admin UI shows 
resources as Database,None instead of Database,Table,Column
 Key: RANGER-2568
 URL: https://issues.apache.org/jira/browse/RANGER-2568
 Project: Ranger
  Issue Type: Bug
  Components: Ranger
Reporter: Nitin Galave


When user clicks on create policy btn from Hive policy landing page,
the create policy page shows resources as :
database,none instead of the earlier default: database,table,column.
Screenshot attached.

Are most of the customers more likely to create Hive policies with 
Database/None setting or with Database/ Table/ Column setting..

This new behavior can be confusing to existing users.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Assigned] (RANGER-2568) Ranger Hive policy creation page in Ranger Admin UI shows resources as Database,None instead of Database,Table,Column

2019-09-13 Thread Nitin Galave (Jira)


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

Nitin Galave reassigned RANGER-2568:


Assignee: Nitin Galave

> Ranger Hive policy creation page in Ranger Admin UI shows resources as 
> Database,None instead of Database,Table,Column
> -
>
> Key: RANGER-2568
> URL: https://issues.apache.org/jira/browse/RANGER-2568
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Nitin Galave
>Assignee: Nitin Galave
>Priority: Major
>
> When user clicks on create policy btn from Hive policy landing page,
> the create policy page shows resources as :
> database,none instead of the earlier default: database,table,column.
> Screenshot attached.
> Are most of the customers more likely to create Hive policies with 
> Database/None setting or with Database/ Table/ Column setting..
> This new behavior can be confusing to existing users.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (RANGER-2568) Ranger Hive policy creation page in Ranger Admin UI shows resources as Database,None instead of Database,Table,Column

2019-09-13 Thread Nitin Galave (Jira)


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

Nitin Galave updated RANGER-2568:
-
Attachment: 0001-RANGER-2568.patch

> Ranger Hive policy creation page in Ranger Admin UI shows resources as 
> Database,None instead of Database,Table,Column
> -
>
> Key: RANGER-2568
> URL: https://issues.apache.org/jira/browse/RANGER-2568
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Nitin Galave
>Assignee: Nitin Galave
>Priority: Major
> Attachments: 0001-RANGER-2568.patch
>
>
> When user clicks on create policy btn from Hive policy landing page,
> the create policy page shows resources as :
> database,none instead of the earlier default: database,table,column.
> Screenshot attached.
> Are most of the customers more likely to create Hive policies with 
> Database/None setting or with Database/ Table/ Column setting..
> This new behavior can be confusing to existing users.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (RANGER-2568) Ranger Hive policy creation page in Ranger Admin UI shows resources as Database,None instead of Database,Table,Column

2019-09-13 Thread Nitin Galave (Jira)


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

Nitin Galave commented on RANGER-2568:
--

cc : [~mehul]/[~vperiasamy]
After Appling patch, the hive create policy page shows resources as :
default: database,table,column. 

But once we toggle database to url and then url  to database that time it shows 
resources as:
database,none.

> Ranger Hive policy creation page in Ranger Admin UI shows resources as 
> Database,None instead of Database,Table,Column
> -
>
> Key: RANGER-2568
> URL: https://issues.apache.org/jira/browse/RANGER-2568
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Nitin Galave
>Assignee: Nitin Galave
>Priority: Major
> Attachments: 0001-RANGER-2568.patch
>
>
> When user clicks on create policy btn from Hive policy landing page,
> the create policy page shows resources as :
> database,none instead of the earlier default: database,table,column.
> Screenshot attached.
> Are most of the customers more likely to create Hive policies with 
> Database/None setting or with Database/ Table/ Column setting..
> This new behavior can be confusing to existing users.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


Review Request 71483: RANGER-2568: Ranger Hive policy creation page in Ranger Admin UI shows resources as Database, None instead of Database, Table, Column.

2019-09-13 Thread Nitin Galave

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

Review request for ranger, Mehul Parikh, Pradeep Agrawal, and Velmurugan 
Periasamy.


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


Repository: ranger


Description
---

When user clicks on create policy btn from Hive policy landing page,
the create policy page shows resources as :
database,none instead of the earlier default: database,table,column.
Screenshot attached.

Are most of the customers more likely to create Hive policies with 
Database/None setting or with Database/ Table/ Column setting..

This new behavior can be confusing to existing users.


Diffs
-

  security-admin/src/main/webapp/scripts/models/BackboneFormDataType.js 1ae2aef 


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


Testing
---

Performed basic CRUD operations.


Thanks,

Nitin Galave



Re: Review Request 71472: RANGER-2534 : Official logo for Apache Ranger

2019-09-13 Thread Mehul Parikh

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


Ship it!




Ship It!

- Mehul Parikh


On Sept. 12, 2019, 12:22 p.m., Nitin Galave wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71472/
> ---
> 
> (Updated Sept. 12, 2019, 12:22 p.m.)
> 
> 
> Review request for ranger, Gautam Borad, Madhan Neethiraj, Mehul Parikh, 
> Pradeep Agrawal, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2534
> https://issues.apache.org/jira/browse/RANGER-2534
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> Coming up with few suggestions to finalise Logo for Ranger. And also changed 
> ranger admin UI colour.
> 
> 
> Diffs
> -
> 
>   security-admin/src/main/resources/conf.dist/security-applicationContext.xml 
> e6b078b 
>   security-admin/src/main/webapp/favicon.ico 
> 8a163fbc628488b0f58bc23dc517294ce9aff557 
>   security-admin/src/main/webapp/images/favicon.ico PRE-CREATION 
>   security-admin/src/main/webapp/images/logo.png 
> 47718f922367d12d43d7cf74aa567e6f25b6ebee 
>   security-admin/src/main/webapp/images/ranger_logo.png PRE-CREATION 
>   security-admin/src/main/webapp/index.html ebcea3b 
>   security-admin/src/main/webapp/login.jsp 4202a9e 
>   security-admin/src/main/webapp/styles/xa.css 3968636 
>   
> security-admin/src/main/webapp/templates/common/ServiceManagerLayout_tmpl.html
>  08082bd 
>   
> security-admin/src/main/webapp/templates/security_zone/ZoneResourceItem_tmpl.html
>  31dd595 
>   security-admin/src/main/webapp/templates/users/UserTableLayout_tmpl.html 
> 6562bac 
> 
> 
> Diff: https://reviews.apache.org/r/71472/diff/1/
> 
> 
> Testing
> ---
> 
> 1)Verified that Ranger logo and fevicon icon is added on Ranger UI.
> 2)Verified colour schema changes on Ranger UI.
> 
> 
> Thanks,
> 
> Nitin Galave
> 
>



[jira] [Comment Edited] (RANGER-2568) Ranger Hive policy creation page in Ranger Admin UI shows resources as Database,None instead of Database,Table,Column

2019-09-13 Thread Nitin Galave (Jira)


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

Nitin Galave edited comment on RANGER-2568 at 9/13/19 2:01 PM:
---

cc : [~mehul]/[~vperiasamy]/[~aleekha] 
 After Appling patch, the hive create policy page shows resources as :
 default: database,table,column.

But once we toggle database to url and then url to database that time it shows 
resources as:
 database,none.


was (Author: nitin.galave):
cc : [~mehul]/[~vperiasamy]
After Appling patch, the hive create policy page shows resources as :
default: database,table,column. 

But once we toggle database to url and then url  to database that time it shows 
resources as:
database,none.

> Ranger Hive policy creation page in Ranger Admin UI shows resources as 
> Database,None instead of Database,Table,Column
> -
>
> Key: RANGER-2568
> URL: https://issues.apache.org/jira/browse/RANGER-2568
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Nitin Galave
>Assignee: Nitin Galave
>Priority: Major
> Attachments: 0001-RANGER-2568.patch
>
>
> When user clicks on create policy btn from Hive policy landing page,
> the create policy page shows resources as :
> database,none instead of the earlier default: database,table,column.
> Screenshot attached.
> Are most of the customers more likely to create Hive policies with 
> Database/None setting or with Database/ Table/ Column setting..
> This new behavior can be confusing to existing users.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


Re: Review Request 71473: RANGER-2567: Ranger fails to connect wired Solr

2019-09-13 Thread Madhan Neethiraj

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




embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java
Lines 111 (patched)


- call SSLContext.setDefault() only if "sslContext != null"
- please review and update intentation in #110, #111



embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java
Lines 487 (patched)


It looks like any exception thrown from this method will cause Ranger Admin 
to abort startup. Instead, I would suggest to log a WARN/ERROR message with 
failure details and have Ranger Admin continue.



embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java
Lines 504 (patched)


Consider replacing "!StringUtil.isEmpty" with "StringUtil.isNotEmpty" - for 
better readability.


- Madhan Neethiraj


On Sept. 12, 2019, 11:33 a.m., Pradeep Agrawal wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71473/
> ---
> 
> (Updated Sept. 12, 2019, 11:33 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, bhavik patel, Gautam Borad, Abhay 
> Kulkarni, Madhan Neethiraj, Mehul Parikh, Mugdha Varadkar, Nikhil P, Nitin 
> Galave, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2567
> https://issues.apache.org/jira/browse/RANGER-2567
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> ** Problem Statement: ** Ranger fails to connect wired SSL through configured 
> ranger truststore file. Currently it works when solr certificate is added in 
> jdk ca certs. Though in the file PropertiesUtil.java, truststore related 
> System properties has been provided its not being considered probably 
> Ranger's embeded tomcat server starts prior to load of Ranger's truststore 
> configs via PropertiesUtil.java.
> 
> ** Proposed Solution: ** Proposed patch contain changes in 
> EmbeddedServer.java file so that truststore related configs can be 
> initialized prior to Ranger's embeded tomcat server start.
> 
> 
> Diffs
> -
> 
>   
> embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java
>  b39212a79 
> 
> 
> Diff: https://reviews.apache.org/r/71473/diff/3/
> 
> 
> Testing
> ---
> 
> Without patch solr collection was failing and after the patch ranger is able 
> to create solr collection and ranger UI is able to fetch access audit records 
> from solr.
> 
> 
> Thanks,
> 
> Pradeep Agrawal
> 
>



Review Request 71484: RANGER-2393: Document level authorization support for solr

2019-09-13 Thread Sailaja Polavarapu

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

Review request for ranger, Abhay Kulkarni, Ramesh Mani, and Velmurugan 
Periasamy.


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


Repository: ranger


Description
---

Implemented Document level authorization support for Solr based on user roles.


Diffs
-

  
plugin-solr/src/main/java/org/apache/ranger/authorization/solr/authorizer/RangerSolrAuthorizer.java
 48d4fb74c 
  
ranger-solr-plugin-shim/src/main/java/org/apache/ranger/authorization/solr/authorizer/RangerSolrAuthorizer.java
 4cfa7e188 
  security-admin/src/main/java/org/apache/ranger/biz/RoleDBStore.java 28b2c1108 


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


Testing
---

1. Patched cluster with the changes and verified basic functionality is working 
fine.
2. Also verified few negative cases on authorization to solr.


Thanks,

Sailaja Polavarapu



[jira] [Updated] (RANGER-2393) Document level authorization for solr

2019-09-13 Thread Sailaja Polavarapu (Jira)


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

Sailaja Polavarapu updated RANGER-2393:
---
Attachment: 0001-RANGER-2393-Document-level-authorization-support-for.patch

> Document level authorization for solr
> -
>
> Key: RANGER-2393
> URL: https://issues.apache.org/jira/browse/RANGER-2393
> Project: Ranger
>  Issue Type: New Feature
>  Components: Ranger
>Reporter: Sailaja Polavarapu
>Assignee: Sailaja Polavarapu
>Priority: Major
> Attachments: 
> 0001-RANGER-2393-Document-level-authorization-support-for.patch
>
>
> Implement Ranger's solr plugin to support document level authorization. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (RANGER-2393) Document level authorization for solr

2019-09-13 Thread Sailaja Polavarapu (Jira)


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

Sailaja Polavarapu commented on RANGER-2393:


Review request available at:

[https://reviews.apache.org/r/71484/]

> Document level authorization for solr
> -
>
> Key: RANGER-2393
> URL: https://issues.apache.org/jira/browse/RANGER-2393
> Project: Ranger
>  Issue Type: New Feature
>  Components: Ranger
>Reporter: Sailaja Polavarapu
>Assignee: Sailaja Polavarapu
>Priority: Major
> Attachments: 
> 0001-RANGER-2393-Document-level-authorization-support-for.patch
>
>
> Implement Ranger's solr plugin to support document level authorization. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)