Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4750 Support NFSv3 interface to HDFS
  3. HDFS-5330

fix readdir and readdirplus for large directories

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: nfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      These two calls need to use cookies to do multiple round trips to namenode to get the complete list of the dirents. Currently implementation passes an inode path as "startAfter" for listPath(), however, namenode doesn't resolve startAfter as an inode path. Better use file name as "startAfter".

        Attachments

        1. HDFS-5330.006.patch
          17 kB
          Brandon Li
        2. HDFS-5330.005.patch
          17 kB
          Brandon Li
        3. HDFS-5330.004.patch
          17 kB
          Brandon Li
        4. HDFS-5330.003.patch
          17 kB
          Brandon Li
        5. HDFS-5330.002.patch
          17 kB
          Brandon Li
        6. HDFS-5330.001.patch
          18 kB
          Brandon Li

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: