hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r705418 - in /hadoop/core/branches/branch-0.19: ./ src/hdfs/org/apache/hadoop/hdfs/server/namenode/
Date Fri, 17 Oct 2008 00:10:33 GMT
Author: cdouglas
Date: Thu Oct 16 17:10:32 2008
New Revision: 705418

URL: http://svn.apache.org/viewvc?rev=705418&view=rev
Log:
HADOOP-4425. Fix EditLogInputStream to overload the bulk read method.

Added:
    hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EditLogInputStream.java
      - copied, changed from r705416, hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EdlitLogInputStream.java
Removed:
    hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EdlitLogInputStream.java
Modified:
    hadoop/core/branches/branch-0.19/CHANGES.txt
    hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java

Modified: hadoop/core/branches/branch-0.19/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.19/CHANGES.txt?rev=705418&r1=705417&r2=705418&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.19/CHANGES.txt (original)
+++ hadoop/core/branches/branch-0.19/CHANGES.txt Thu Oct 16 17:10:32 2008
@@ -891,6 +891,9 @@
     TaskCompletionEvents on TaskTracker re-init. (Dhruba Borthakur via
     acmurthy) 
 
+    HADOOP-4425. Fix EditLogInputStream to overload the bulk read method.
+    (cdouglas)
+
 Release 0.18.2 - Unreleased
 
   BUG FIXES

Copied: hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EditLogInputStream.java
(from r705416, hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EdlitLogInputStream.java)
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EditLogInputStream.java?p2=hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EditLogInputStream.java&p1=hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EdlitLogInputStream.java&r1=705416&r2=705418&rev=705418&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EdlitLogInputStream.java
(original)
+++ hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/EditLogInputStream.java
Thu Oct 16 17:10:32 2008
@@ -42,6 +42,9 @@
   public abstract int read() throws IOException;
 
   /** {@inheritDoc} */
+  public abstract int read(byte[] b, int off, int len) throws IOException;
+
+  /** {@inheritDoc} */
   public abstract void close() throws IOException;
 
   /**

Modified: hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java?rev=705418&r1=705417&r2=705418&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java
(original)
+++ hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java
Thu Oct 16 17:10:32 2008
@@ -272,6 +272,11 @@
     }
 
     @Override
+    public int read(byte[] b, int off, int len) throws IOException {
+      return fStream.read(b, off, len);
+    }
+
+    @Override
     public void close() throws IOException {
       fStream.close();
     }



Mime
View raw message