Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1932

Improve logging for HMSPath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Sentry
    • None

    Description

      Currently HMSPath logs too much information when it skips paths which are outside the prefix:

      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]
      

      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.

      Attachments

        1. SENTRY-1932.01.patch
          1 kB
          Arjun Mishra
        2. SENTRY-1932.02.patch
          1 kB
          Arjun Mishra
        3. SENTRY-1932.03.patch
          1 kB
          Arjun Mishra

        Issue Links

          Activity

            People

              arjunmishra13 Arjun Mishra
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: