Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13980 S3Guard CLI: Add fsck check and fix commands
  3. HADOOP-16563

S3Guard fsck: Detect if a directory if authoritative and highlight errors if detected in it

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Followup from HADOOP-16423.

      One of the changes with the HADOOP-16430 PR is that we now have an S3A FS method boolean allowAuthoritative(final Path path) that takes a path and returns true iff its authoritative either by the MS being auth or the given path being marked as one of the authoritative dirs. I think the validation when an authoritative directory is consistent between the metastore and S3 should be using this when it wants to highlight an authoritative path is inconsistent.

      This can be a follow-on patch, because as usual it will need more tests, in the code, and someone to try out the command line.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gabor.bota Gabor Bota
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: