You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Guru Thejus Arveti <th...@gmail.com> on 2025/04/30 06:43:56 UTC

Review Request 75384: RANGER-5203: Added capability to override redact data masktype transformer in hive plugin

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

Review request for ranger.


Repository: ranger


Description
-------

Added capability to override redact data masktype transformer in hive plugin


Diffs
-----

  hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java 8ff5a4219 


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


Testing
-------


Thanks,

Guru Thejus Arveti


Re: Review Request 75384: RANGER-5203: Added capability to override redact data masktype transformer in hive plugin

Posted by Guru Thejus Arveti <th...@gmail.com>.

> On April 30, 2025, 7:11 a.m., Pradeep Agrawal wrote:
> > Declare "ranger.plugin.hive.mask.redact.override" in RangerHadoopConstants file; declare a default value also there and use it in the code if not set.

Will change to constants file. Please let me know why you want a different default value ? while that is already part of serviceDef. I feel null value which is also the current default might be appropriate. And the code handles that as well. Please explain your reasoning.


- Guru Thejus


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


On April 30, 2025, 6:43 a.m., Guru Thejus Arveti wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75384/
> -----------------------------------------------------------
> 
> (Updated April 30, 2025, 6:43 a.m.)
> 
> 
> Review request for ranger.
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Added capability to override redact data masktype transformer in hive plugin
> 
> 
> Diffs
> -----
> 
>   hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java 8ff5a4219 
> 
> 
> Diff: https://reviews.apache.org/r/75384/diff/1/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guru Thejus Arveti
> 
>


Re: Review Request 75384: RANGER-5203: Added capability to override redact data masktype transformer in hive plugin

Posted by Pradeep Agrawal <pr...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75384/#review227311
-----------------------------------------------------------



Declare "ranger.plugin.hive.mask.redact.override" in RangerHadoopConstants file; declare a default value also there and use it in the code if not set.

- Pradeep Agrawal


On April 30, 2025, 6:43 a.m., Guru Thejus Arveti wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75384/
> -----------------------------------------------------------
> 
> (Updated April 30, 2025, 6:43 a.m.)
> 
> 
> Review request for ranger.
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Added capability to override redact data masktype transformer in hive plugin
> 
> 
> Diffs
> -----
> 
>   hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java 8ff5a4219 
> 
> 
> Diff: https://reviews.apache.org/r/75384/diff/1/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guru Thejus Arveti
> 
>


Re: Review Request 75384: RANGER-5203: Added capability to override redact data masktype transformer in hive plugin

Posted by Guru Thejus Arveti <th...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75384/
-----------------------------------------------------------

(Updated May 1, 2025, 5:26 p.m.)


Review request for ranger.


Repository: ranger


Description
-------

Added capability to override redact data masktype transformer in hive plugin


Diffs (updated)
-----

  agents-common/src/main/java/org/apache/ranger/authorization/hadoop/constants/RangerHadoopConstants.java fdba1c563 
  hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java 8ff5a4219 


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

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


Testing
-------


Thanks,

Guru Thejus Arveti