Abhay Kulkarni created RANGER-4284:
--------------------------------------

             Summary: Additional logging messages to help with debugging  when 
policy deltas are enabled
                 Key: RANGER-4284
                 URL: https://issues.apache.org/jira/browse/RANGER-4284
             Project: Ranger
          Issue Type: Improvement
          Components: Ranger
            Reporter: Abhay Kulkarni
            Assignee: Abhay Kulkarni


When policy deltas are enabled, it will help to debug any issues regarding 
computation and application of policy deltas. The Jira addresses this by 
printing the contents of Ranger policies in Ranger admin server and the 
policy-deltas downloaded to ranger plugin as well as contents of Ranger 
policies in the plugin generated by applying downloaded deltas to existing 
policies.

This behavior is controlled by the following configuration parameters.

Ranger-Admin:

ranger.admin.policy.save.to.disk (default:false) : If true, prints policy-cache 
in a file with name suffixed by the policy-version in the directory specified 
by ranger.admin.policy.cache.dir configuration parameter.

Plugin:

ranger.plugin.<component>.preserve.deltas (default:false): If true, prints the 
downloaded policy-deltas in a file with name suffixed by the policy-version in 
a sub-directory named 'deltas' under the directory specified by 
'ranger.plugin.<component>.policy.cache.dir' configuration parameter.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to