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

HMSPathsDumper.cloneToEntry should set authzObjToEntries properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0, 2.0.0
    • Fix Version/s: 1.8.0, 2.0.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: