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

need FileSystem#globStatus method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.2
    • 0.16.0
    • fs
    • 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. globStatus9.patch
          20 kB
          Hairong Kuang
        2. globStatus8.patch
          20 kB
          Hairong Kuang
        3. globStatus7.patch
          20 kB
          Hairong Kuang
        4. globStatus6.patch
          20 kB
          Hairong Kuang
        5. globStatus5.patch
          19 kB
          Hairong Kuang
        6. globStatus4.patch
          20 kB
          Hairong Kuang
        7. globStatus3.patch
          17 kB
          Hairong Kuang
        8. globStatus2.patch
          16 kB
          Hairong Kuang
        9. globStatus10.patch
          20 kB
          Hairong Kuang
        10. globStatus1.patch
          14 kB
          Hairong Kuang
        11. globStatus.patch
          13 kB
          Hairong Kuang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: