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

Add number of children in HdfsFileStatus

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.0-beta
    • namenode
    • None
    • 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.branch-2.patch
          18 kB
          Brandon Li
        3. HDFS-4772.3.patch
          18 kB
          Brandon Li
        4. HDFS-4772.2.patch
          18 kB
          Brandon Li

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: