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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.2.0
    • fs/s3
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: