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

NFS should not return NFS3ERR_IO for AccessControlException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.6.0
    • nfs
    • None
    • Reviewed

    Description

      As jingzhao 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.

      Attachments

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

        Issue Links

          Activity

            People

              abutala Abhiraj Butala
              brandonli Brandon Li
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: