Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2006 ability to support storing extended attributes per file
  3. HDFS-6410

DFSClient unwraps AclException in xattr methods, but those methods cannot throw AclException.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • HDFS XAttrs (HDFS-2006)
    • HDFS XAttrs (HDFS-2006)
    • None
    • None

    Description

      The various xattr methods in DFSClient specify AclException in the call to RemoteException#unwrapRemoteException. It's impossible for the xattr APIs to throw AclException. Since encountering AclException would be an unexpected condition, we should not unwrap it so that instead we maintain the full stack trace.

      Attachments

        1. hdfs-6410.1.patch
          3 kB
          Andrew Wang

        Activity

          People

            andrew.wang Andrew Wang
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: