Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6451

NFS should not return NFS3ERR_IO for AccessControlException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.6.0
    • Component/s: nfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      As Jing Zhao pointed out in HDFS-6411, we need to catch the AccessControlException from the HDFS calls, and return NFS3ERR_ACCESS instead of NFS3ERR_IO for it.

      Another possible improvement is to have a single class/method for the common exception handling process, instead of repeating the same exception handling process in different NFS methods.

      1. HDFS-6451.patch
        8 kB
        Abhiraj Butala
      2. HDFS-6451.002.patch
        65 kB
        Abhiraj Butala
      3. HDFS-6451.003.patch
        65 kB
        Abhiraj Butala

        Issue Links

          Activity

            People

            • Assignee:
              Abhiraj Butala
              Reporter:
              Brandon Li
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development