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

Use DirectoryListing.hasMore() directly in nfs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: nfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In NFS the following code path can be simplified using DirectoryListing.hasMore():

          boolean eof = (n < fstatus.length) ? false : (dlisting
              .getRemainingEntries() == 0);
      

        Attachments

          Activity

            People

            • Assignee:
              gtCarrera9 Li Lu
              Reporter:
              wheat9 Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: