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

UpdateableAuthzPaths#applyPartialUpdate does not move children path if the authzObjects have the same name.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • None
    • None
    • None

    Description

      Similar to the issue of HMSPaths#renameAuthzObject in SENTRY-1644, when the following conditions satisfy:

      newPathInfo != null && oldPathInfo != null && oldName.equals(newName);
      

      applyPartialUpdate would only creates a parent directory, and all sub-partitions of a table will be lost in sentry. For example, a table and the correponding partitions at /user/hive/warehouse/db1.db/tab/{pat1,part2,par3.... is moved to /tmp/db1.db.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: