You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Rakesh Gupta <ra...@gmail.com> on 2024/10/24 11:53:11 UTC

Review Request 75243: RANGER-4523: Suggestion on improving logs from AtlasNotificationMapper

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

Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, sanket shelar, Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

STEPS TO REPRODUCE:
Create hive db/table so that hive entities are created on atlas side
Create classifications
Create a tag policy and verify tag policy enforcement
Inspect tagsync logs

CURRENT BEHAVIOUR:
Since hive_process entity-type notifications are not handled by tagsync, there is a WARN message indicating this.
There are lot of log messages related to this "Dropped process entity notification for Atlas-Entity"


Suggestion:
To reduce unnecessary warnings, change the log level for dropped notifications related to entities from WARN to DEBUG.


Diffs
-----

  tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasNotificationMapper.java 5d5ab8a7d 


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


Testing
-------

mvn clean compile package install


Thanks,

Rakesh Gupta


Re: Review Request 75243: RANGER-4523: Suggestion on improving logs from AtlasNotificationMapper

Posted by Dineshkumar Yadav <di...@outlook.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75243/#review227021
-----------------------------------------------------------


Ship it!




Ship It!

- Dineshkumar Yadav


On Oct. 24, 2024, 12:04 p.m., Rakesh Gupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75243/
> -----------------------------------------------------------
> 
> (Updated Oct. 24, 2024, 12:04 p.m.)
> 
> 
> Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, sanket shelar, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4523
>     https://issues.apache.org/jira/browse/RANGER-4523
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> STEPS TO REPRODUCE:
> Create hive db/table so that hive entities are created on atlas side
> Create classifications
> Create a tag policy and verify tag policy enforcement
> Inspect tagsync logs
> 
> CURRENT BEHAVIOUR:
> Since hive_process entity-type notifications are not handled by tagsync, there is a WARN message indicating this.
> There are lot of log messages related to this "Dropped process entity notification for Atlas-Entity"
> 
> 
> Suggestion:
> To reduce unnecessary warnings, change the log level for dropped notifications related to entities from WARN to DEBUG.
> 
> 
> Diffs
> -----
> 
>   tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasNotificationMapper.java 5d5ab8a7d 
> 
> 
> Diff: https://reviews.apache.org/r/75243/diff/1/
> 
> 
> Testing
> -------
> 
> mvn clean compile package install
> verified tag plugin enforcement.
> 
> 
> Thanks,
> 
> Rakesh Gupta
> 
>


Re: Review Request 75243: RANGER-4523: Suggestion on improving logs from AtlasNotificationMapper

Posted by Rakesh Gupta <ra...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75243/
-----------------------------------------------------------

(Updated Oct. 24, 2024, 12:04 p.m.)


Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, sanket shelar, Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

STEPS TO REPRODUCE:
Create hive db/table so that hive entities are created on atlas side
Create classifications
Create a tag policy and verify tag policy enforcement
Inspect tagsync logs

CURRENT BEHAVIOUR:
Since hive_process entity-type notifications are not handled by tagsync, there is a WARN message indicating this.
There are lot of log messages related to this "Dropped process entity notification for Atlas-Entity"


Suggestion:
To reduce unnecessary warnings, change the log level for dropped notifications related to entities from WARN to DEBUG.


Diffs
-----

  tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasNotificationMapper.java 5d5ab8a7d 


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


Testing (updated)
-------

mvn clean compile package install
verified tag plugin enforcement.


Thanks,

Rakesh Gupta