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

Add number of children in HdfsFileStatus

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      This JIRA is to track the change to return the number of children for a directory, so the client doesn't need to make a getListing() call to calculate the number of dirents. This makes it convenient for the client to check directory size change.

        Attachments

        1. HDFS-4772.patch
          21 kB
          Brandon Li
        2. HDFS-4772.2.patch
          18 kB
          Brandon Li
        3. HDFS-4772.3.patch
          18 kB
          Brandon Li
        4. HDFS-4772.branch-2.patch
          18 kB
          Brandon Li

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: