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

Use JDK 1.6 File APIs in DF.java wherever possible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • fs
    • None
    • Reviewed

    Description

      JDK 1.6 has File APIs like File.getFreeSpace() which should be used instead of spawning a command process for getting the various disk/partition related attributes. This would avoid spikes in memory consumption by tasks when things like LocalDirAllocator is used for creating paths on the filesystem.

      Attachments

        1. HADOOP-5958.2.patch
          18 kB
          Aaron Kimball
        2. HADOOP-5958.3.patch
          18 kB
          Aaron Kimball
        3. HADOOP-5958.4.patch
          18 kB
          Aaron Kimball
        4. HADOOP-5958.5.patch
          6 kB
          Aaron Kimball
        5. HADOOP-5958.6.patch
          6 kB
          Aaron Kimball
        6. HADOOP-5958.patch
          9 kB
          Aaron Kimball
        7. HADOOP-5958-hdfs.patch
          1 kB
          Aaron Kimball
        8. HADOOP-5958-mapred.patch
          0.6 kB
          Aaron Kimball

        Activity

          People

            kimballa Aaron Kimball
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: