hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1179519 - in /hadoop/common/branches/branch-0.20-security: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/DFSClient.java
Date Thu, 06 Oct 2011 06:34:51 GMT
Author: atm
Date: Thu Oct  6 06:34:51 2011
New Revision: 1179519

URL: http://svn.apache.org/viewvc?rev=1179519&view=rev
Log:
HDFS-2408. DFSClient#getNumCurrentReplicas is package private in 205 but public in branch-0.20-append
(stack via atm)

Modified:
    hadoop/common/branches/branch-0.20-security/CHANGES.txt
    hadoop/common/branches/branch-0.20-security/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java

Modified: hadoop/common/branches/branch-0.20-security/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/CHANGES.txt?rev=1179519&r1=1179518&r2=1179519&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20-security/CHANGES.txt Thu Oct  6 06:34:51 2011
@@ -298,6 +298,9 @@ Release 0.20.205.0 - unreleased
 
     HDFS-2392. Dist with hftp is failing again. (Daryn Sharp via jitendra)
 
+    HDFS-2408. DFSClient#getNumCurrentReplicas is package private in 205 but
+               public in branch-0.20-append (stack via atm)
+
   IMPROVEMENTS
 
     MAPREDUCE-2928. MR-2413 improvements (Eli Collins via mattf)

Modified: hadoop/common/branches/branch-0.20-security/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java?rev=1179519&r1=1179518&r2=1179519&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java
(original)
+++ hadoop/common/branches/branch-0.20-security/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java
Thu Oct  6 06:34:51 2011
@@ -3569,7 +3569,7 @@ public class DFSClient implements FSCons
      * block is not yet allocated, then this API will return 0 because there are
      * no replicas in the pipeline.
      */
-    int getNumCurrentReplicas() throws IOException {
+    public int getNumCurrentReplicas() throws IOException {
       synchronized(dataQueue) {
         if (nodes == null) {
           return blockReplication;



Mime
View raw message