diff --git a/auth-agents-common/src/main/java/org/apache/atlas/plugin/service/RangerBasePlugin.java b/auth-agents-common/src/main/java/org/apache/atlas/plugin/service/RangerBasePlugin.java index 21bec4d03e..1b2688d89a 100644 --- a/auth-agents-common/src/main/java/org/apache/atlas/plugin/service/RangerBasePlugin.java +++ b/auth-agents-common/src/main/java/org/apache/atlas/plugin/service/RangerBasePlugin.java @@ -65,6 +65,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.stream.Collectors; public class RangerBasePlugin { @@ -306,6 +307,8 @@ public void setPolicies(ServicePolicies policies) { List abacPolicies = policies.getAbacPolicies().getPolicies(); PoliciesStore.getInstance().setResourcePolicies(resourcePolicies); + LOG.info("Setting tag policies : "+ tagPolicies.size()); + LOG.info("Setting tag policies : "+ tagPolicies.stream().map(x -> x.getGuid()).collect(Collectors.toList())); PoliciesStore.getInstance().setTagPolicies(tagPolicies); PoliciesStore.getInstance().setAbacPolicies(abacPolicies); }