ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramesh Mani <rm...@hortonworks.com>
Subject Re: Review Request 68855: RANGER-2222: Apache RangerKafkaPlugin support to handle Kafka Cluster as a new resource
Date Fri, 05 Oct 2018 15:48:49 GMT


> On Sept. 28, 2018, 10:27 p.m., Abhay Kulkarni wrote:
> > agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json
> > Lines 41 (patched)
> > <https://reviews.apache.org/r/68855/diff/3/?file=2092726#file2092726line41>
> >
> >     Need to review the resource hierarchy for Kafka resources. Can cluster be modeled
as parent of topic, with a subset of accesses allowed for it?

There is no hierarchy with it the resources of Kafka cluster.


- Ramesh


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


On Oct. 5, 2018, 3:43 p.m., Ramesh Mani wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68855/
> -----------------------------------------------------------
> 
> (Updated Oct. 5, 2018, 3:43 p.m.)
> 
> 
> Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2222
>     https://issues.apache.org/jira/browse/RANGER-2222
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-2222: Apache RangerKafkaPlugin support to handle Kafka Cluster as a new resource
> 
> 
> Diffs
> -----
> 
>   agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json ca3e0fe

>   plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuditHandler.java
PRE-CREATION 
>   plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java
eab869a 
>   plugin-kafka/src/test/java/org/apache/ranger/authorization/kafka/authorizer/KafkaRangerAuthorizerGSSTest.java
c1386fe 
>   plugin-kafka/src/test/java/org/apache/ranger/authorization/kafka/authorizer/KafkaRangerTopicCreationTest.java
PRE-CREATION 
>   plugin-kafka/src/test/resources/kafka-policies.json 0c07604 
>   plugin-kafka/src/test/resources/kafka_kerberos.jaas 1de804b 
>   security-admin/db/mysql/optimized/current/ranger_core_db_mysql.sql 3f23b00 
>   security-admin/db/oracle/optimized/current/ranger_core_db_oracle.sql bafdb96 
>   security-admin/db/postgres/optimized/current/ranger_core_db_postgres.sql 2bc58ac 
>   security-admin/db/sqlanywhere/optimized/current/ranger_core_db_sqlanywhere.sql 1b64eea

>   security-admin/db/sqlserver/optimized/current/ranger_core_db_sqlserver.sql 4a216fe

>   security-admin/src/main/java/org/apache/ranger/patch/PatchForKafkaServiceDefUpdate_J10025.java
PRE-CREATION 
>   src/main/assembly/plugin-kafka.xml 97ff8ad 
> 
> 
> Diff: https://reviews.apache.org/r/68855/diff/4/
> 
> 
> Testing
> -------
> 
> - This patch addresses "Cluster" and "DelegationToken" as resource in Ranger plugin.
> - Tested in local vm and added unit test for TopicCreation.
> - Upgrade patch tested for default policy creation for cluster and delegation token as
resource.
> 
> 
> Thanks,
> 
> Ramesh Mani
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message