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

NFS readdirplus doesn't return dotdot attributes

    XMLWordPrintableJSON

    Details

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

      Description

      In RpcProgramNfs3#readdirplus():

      entries[1] = new READDIRPLUS3Response.EntryPlus3(dotdotFileId, "..",
                dotdotFileId, postOpDirAttr, new FileHandle(dotdotFileId));
      

      It should return the directory's parent attribute instead of postOpDirAttr.

        Attachments

        1. HDFS-6890.001.patch
          2 kB
          Brandon Li

          Activity

            People

            • Assignee:
              brandonli Brandon Li
              Reporter:
              brandonli Brandon Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: