Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15226 Über-JIRA: S3Guard Phase III: Hadoop 3.2 features
  3. HADOOP-14756

S3Guard: expose capability query in MetadataStore and add tests of authoritative mode

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 3.2.0
    • Component/s: fs/s3
    • Labels:
      None
    • Target Version/s:

      Description

      MetadataStoreTestBase.testListChildren would be improved with the ability to query the features offered by the store, and the outcome of put(), so probe the correctness of the authoritative mode

      1. Add predicate to MetadataStore interface supportsAuthoritativeDirectories() or similar
      2. If #1 is true, assert that directory is fully cached after changes
      3. Add "isNew" flag to MetadataStore.put(DirListingMetadata); use to verify when changes are made

        Attachments

        1. HADOOP-14756.003.patch
          7 kB
          Gabor Bota
        2. HADOOP-14756.002.patch
          7 kB
          Gabor Bota
        3. HADOOP-14756.001.patch
          3 kB
          Gabor Bota

          Activity

            People

            • Assignee:
              gabor.bota Gabor Bota
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: