Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15619 Über-JIRA: S3Guard Phase IV: Hadoop 3.3 features
  3. HADOOP-15988

Should be able to set empty directory flag to TRUE in DynamoDBMetadataStore#innerGet when using authoritative directory listings

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.3.0
    • Component/s: fs/s3
    • Labels:
      None

      Description

      We have the following comment and implementation in DynamoDBMetadataStore:

              // When this class has support for authoritative
              // (fully-cached) directory listings, we may also be able to answer
              // TRUE here.  Until then, we don't know if we have full listing or
              // not, thus the UNKNOWN here:
              meta.setIsEmptyDirectory(
                  hasChildren ? Tristate.FALSE : Tristate.UNKNOWN);
      

      We have authoritative listings now in dynamo since HADOOP-15621, so we should resolve this comment, implement the solution and test it.

        Attachments

        1. HADOOP-15988.001.patch
          5 kB
          Gabor Bota
        2. HADOOP-15988.002.patch
          5 kB
          Gabor Bota

          Activity

            People

            • Assignee:
              gabor.bota Gabor Bota
              Reporter:
              gabor.bota Gabor Bota
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: