Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2566

need FileSystem#globStatus method

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.2
    • Fix Version/s: 0.16.0
    • Component/s: fs
    • Labels:
      None

      Description

      To remove the cache of FileStatus in DFSPath (HADOOP-2565) without hurting performance, we must use file enumeration APIs that return FileStatus[] rather than Path[]. Currently we have FileSystem#globPaths(), but that method should be deprecated and replaced with a FileSystem#globStatus().

      We need to deprecate FileSystem#globPaths() in 0.16 in order to remove the cache in 0.17.

        Attachments

        1. globStatus.patch
          13 kB
          Hairong Kuang
        2. globStatus1.patch
          14 kB
          Hairong Kuang
        3. globStatus2.patch
          16 kB
          Hairong Kuang
        4. globStatus3.patch
          17 kB
          Hairong Kuang
        5. globStatus4.patch
          20 kB
          Hairong Kuang
        6. globStatus5.patch
          19 kB
          Hairong Kuang
        7. globStatus6.patch
          20 kB
          Hairong Kuang
        8. globStatus7.patch
          20 kB
          Hairong Kuang
        9. globStatus8.patch
          20 kB
          Hairong Kuang
        10. globStatus9.patch
          20 kB
          Hairong Kuang
        11. globStatus10.patch
          20 kB
          Hairong Kuang

          Issue Links

            Activity

              People

              • Assignee:
                hairong Hairong Kuang
                Reporter:
                cutting Doug Cutting
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: