You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2009/06/02 17:55:07 UTC

[jira] Created: (HADOOP-5958) Use JDK 1.6 File APIs in DF.java wherever possible

Use JDK 1.6 File APIs in DF.java wherever possible
--------------------------------------------------

                 Key: HADOOP-5958
                 URL: https://issues.apache.org/jira/browse/HADOOP-5958
             Project: Hadoop Core
          Issue Type: Bug
          Components: fs
            Reporter: Devaraj Das
             Fix For: 0.21.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.