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

Add boundary condition test coverage to HDFS synchronization test suite around max #of groups

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 1.5.0
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      Normally, HDFS ACLs has a limit of 32 entries per object (HDFS-5617), but this limit should not be enforced when using Sentry HDFS synchronization. I verified that this works, but we should add a test case to cover this scenario. Something like:

      1. Grant to >32 unique groups to a table
      2. Verify -getfacls returns all items

      It would also be interesting to see what happens when a new table is created when a database has been granted >32 groups. The new table's directory will inherit the permissions from the directory and I would assume that when the feature is disabled some of these will be missing. It would be good to verify that things don't blow up.

        Attachments

        1. SENTRY-583.5.patch
          25 kB
          Anne Yu
        2. SENTRY-583.6.patch
          20 kB
          Anne Yu
        3. SENTRY-583.7.patch
          22 kB
          Anne Yu
        4. SENTRY-583.8.patch
          34 kB
          Anne Yu
        5. SENTRY-583-0.patch
          20 kB
          Anne Yu
        6. SENTRY-583-1.patch
          20 kB
          Anne Yu
        7. SENTRY-583-2.patch
          20 kB
          Anne Yu
        8. SENTRY-583-3.patch
          19 kB
          Anne Yu
        9. SENTRY-583-4.patch
          24 kB
          Anne Yu

          Issue Links

            Activity

              People

              • Assignee:
                anneyu Anne Yu
                Reporter:
                lskuff Lenni Kuff
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: