Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1605

SENTRY-1508 need to be fixed because of Kerberos initialization issue

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      SENTRY-1508 performs full Sentry HDFS sync at the construction time. Turns out, it does not work with Kerberos on, because the Hive code initialized Kerberos client only AFTER instantiating MetastorePlugin. Fix is pretty straightforward: MetastorePlugin should not attempt synchronization with Sentry from the constructor. It should rely on the housekeeping thread's SyncTask to ultimately succeed in pushing the first full update. The subtle point is that until it happens, all partial updates going through MetastorePlugin should skip Sentry notification step while keeping updating the MetastorePlugin's local cache as usual.

        Attachments

        1. SENTRY-1605.002.patch
          11 kB
          Vadim Spector
        2. SENTRY-1605.001.patch
          8 kB
          Vadim Spector

          Issue Links

            Activity

              People

              • Assignee:
                vspector@gmail.com Vadim Spector
                Reporter:
                vspector@gmail.com Vadim Spector
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: