Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13363

Record file path when FSDirAclOp throws AclException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      When AclTransformation methods throws AclException, it does not record the file path that has the exception. Therefore even if it throws an exception, we would never know which file has those invalid ACLs.

       

      These AclTransformation methods are invoked in FSDirAclOp methods, which know the file path. These FSDirAclOp methods can catch AclException, and then add the file path in the error message.

        Attachments

        1. HDFS-13363.001.patch
          7 kB
          Gabor Bota
        2. HDFS-13363.002.patch
          6 kB
          Gabor Bota
        3. HDFS-13363.003.patch
          4 kB
          Gabor Bota

          Issue Links

            Activity

              People

              • Assignee:
                gabor.bota Gabor Bota
                Reporter:
                jojochuang Wei-Chiu Chuang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: