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

HMSPathsDumper.cloneToEntry should set authzObjToEntries properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0, 2.0.0
    • 1.8.0, 2.0.0
    • None
    • None

    Description

      HMSPathsDumper.initializeFromDump is trying to clone a new HMSPaths from TPathsDump. Internally it calls cloneToEntry to construct HMSPaths.authzObjToEntries, which is representation of hive authorized objects to path entries mapping. It appears to be cloneToEntry fail to properly construct authzObjToEntries

      Attachments

        1. hmspaths-debug.patch
          8 kB
          Lei (Eddy) Xu
        2. org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End-output.txt
          9.22 MB
          Lei (Eddy) Xu
        3. SENTRY-1727.00-sentry-ha-redesign.patch
          0.9 kB
          Lei (Eddy) Xu

        Issue Links

          Activity

            People

              eddyxu Lei (Eddy) Xu
              hahao Hao Hao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: