فهرست منبع

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 سال پیش
والد
کامیت
ac6bca6f29
3فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 0
      CHANGES.txt
  2. 1 0
      src/java/org/apache/hadoop/fs/InMemoryFileSystem.java
  3. 1 2
      src/java/org/apache/hadoop/mapred/ReduceTask.java

+ 2 - 0
CHANGES.txt

@@ -251,6 +251,8 @@ Trunk (unreleased changes)
     HADOOP-2393. Moves the handling of dir deletions in the tasktracker to
     HADOOP-2393. Moves the handling of dir deletions in the tasktracker to
     a separate thread. (Amareshwari Sriramadasu via ddas)
     a separate thread. (Amareshwari Sriramadasu via ddas)
 
 
+    HADOOP-3501. Deprecate InMemoryFileSystem. (cutting via omalley)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     HADOOP-3274. The default constructor of BytesWritable creates empty 
     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
  * the API for reserving space in the FS. The uri of this filesystem starts with
  * ramfs:// .
  * ramfs:// .
  */
  */
+@Deprecated
 public class InMemoryFileSystem extends ChecksumFileSystem {
 public class InMemoryFileSystem extends ChecksumFileSystem {
   private static class RawInMemoryFileSystem extends FileSystem {
   private static class RawInMemoryFileSystem extends FileSystem {
     private URI uri;
     private URI uri;

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

@@ -397,9 +397,8 @@ class ReduceTask extends Task {
     private long lastPollTime;
     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;
     private RamManager ramManager;