Hadoop Common
  1. Hadoop Common
  2. HADOOP-5958

Use JDK 1.6 File APIs in DF.java wherever possible

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

          People

          • Assignee:
            Aaron Kimball
            Reporter:
            Devaraj Das
          • Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development