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

S3Guard fsck: Use enum instead of int for severity in violations

    XMLWordPrintableJSON

Details

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

    Description

      Looking in the code, I can see that it's a severity level "2", so not that serious.

      1. We should go away from and int value here to something comprehensible, i.e. an enum.
      2. Or at least some contents used in the Violation enum setup.
      3. Either way, how about letting us choose which level to fail on.
      4. And maybe severity 2 should be logged at WARN, not ERROR, as an early user was confused "why an error yet none reported in status"

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: