Przeglądaj źródła

HADOOP-3501. Deprecate InMemoryFileSystem. Contributed by Doug Cutting.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@664113 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley 17 lat temu
rodzic
commit
ac6bca6f29

+ 2 - 0
CHANGES.txt

@@ -251,6 +251,8 @@ Trunk (unreleased changes)
     HADOOP-2393. Moves the handling of dir deletions in the tasktracker to
     a separate thread. (Amareshwari Sriramadasu via ddas)
 
+    HADOOP-3501. Deprecate InMemoryFileSystem. (cutting via omalley)
+
   OPTIMIZATIONS
 
     HADOOP-3274. The default constructor of BytesWritable creates empty 

+ 1 - 0
src/java/org/apache/hadoop/fs/InMemoryFileSystem.java

@@ -35,6 +35,7 @@ import org.apache.hadoop.util.Progressable;
  * the API for reserving space in the FS. The uri of this filesystem starts with
  * ramfs:// .
  */
+@Deprecated
 public class InMemoryFileSystem extends ChecksumFileSystem {
   private static class RawInMemoryFileSystem extends FileSystem {
     private URI uri;

+ 1 - 2
src/java/org/apache/hadoop/mapred/ReduceTask.java

@@ -397,9 +397,8 @@ class ReduceTask extends Task {
     private long lastPollTime;
     
     /**
-     * A reference to the in memory file system for writing the map outputs to.
+     * A reference to the RamManager for writing the map outputs to.
      */
-    //private InMemoryFileSystem inMemFileSys;
     
     private RamManager ramManager;