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

Record file path when FSDirAclOp throws AclException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: