Alexander Kolbasov created SENTRY-1932:
------------------------------------------
Summary: Improve logging for HMSPath
Key: SENTRY-1932
URL: https://issues.apache.org/jira/browse/SENTRY-1932
Project: Sentry
Issue Type: Improvement
Components: Sentry
Affects Versions: 2.0.0
Reporter: Alexander Kolbasov
Currently HMSPath logs too much information when it skips paths which are
outside the prefix:
{code}
2017-09-07 15:29:39,041 INFO org.apache.sentry.hdfs.HMSPaths: Path outside
prefix
2017-09-07 15:29:39,040 INFO org.apache.sentry.hdfs.HMSPaths: Skipping to
create authzObjPath as it is outside of prefix. authObj = l5_foo.customer_v1
pathElements=[data, blah, l5_blah_blah, CUSTOMER_V1, eap_part_no=12345]
{code}
This happens when Sentry sends a full snapshot and when NameNode receives delta
snapshots.
Probably we should log information more clearly and log at DEBUG level.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)