hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umamah...@apache.org
Subject hadoop git commit: HDFS-9713. DataXceiver#copyBlock should return if block is pinned. Contributed by Uma Maheswara Rao G.
Date Mon, 08 Feb 2016 04:52:16 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 5b59a0ea8 -> aea31eee7


HDFS-9713. DataXceiver#copyBlock should return if block is pinned. Contributed by Uma Maheswara
Rao G.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/aea31eee
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/aea31eee
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/aea31eee

Branch: refs/heads/trunk
Commit: aea31eee78a287f251447686ba3f5bbcfe9c60a3
Parents: 5b59a0e
Author: Uma Maheswara Rao G <uma.gangumalla@intel.com>
Authored: Sun Feb 7 20:50:47 2016 -0800
Committer: Uma Maheswara Rao G <uma.gangumalla@intel.com>
Committed: Sun Feb 7 20:50:47 2016 -0800

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 .../java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java  | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/aea31eee/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index c79e0b5..6c448eb 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -2710,6 +2710,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9761. Rebalancer sleeps too long between iterations
     (Mingliang Liu via cnauroth)
 
+    HDFS-9713. DataXceiver#copyBlock should return if block is pinned.
+    (umamahesh)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/aea31eee/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
index 190e69c..99eb6fa 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
@@ -995,6 +995,7 @@ class DataXceiver extends Receiver implements Runnable {
           "to " + peer.getRemoteAddressString() + " because it's pinned ";
       LOG.info(msg);
       sendResponse(ERROR, msg);
+      return;
     }
     
     if (!dataXceiverServer.balanceThrottler.acquire()) { // not able to start


Mime
View raw message