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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: HDFS XAttrs (HDFS-2006)
    • Fix Version/s: HDFS XAttrs (HDFS-2006)
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: