Repository: hadoop
Updated Branches:
  refs/heads/trunk 3187dbd7a -> 83e65c5fe


HDFS-5795. RemoteBlockReader2#checkSuccess() shoud print error status. (Xiao 
Chen via Yongjun Zhang)


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

Branch: refs/heads/trunk
Commit: 83e65c5fe84819b6c6da015b269fb4e46a88d105
Parents: 3187dbd
Author: Yongjun Zhang <[email protected]>
Authored: Thu Sep 24 22:13:14 2015 -0700
Committer: Yongjun Zhang <[email protected]>
Committed: Thu Sep 24 22:13:14 2015 -0700

----------------------------------------------------------------------
 .../hadoop/hdfs/protocol/datatransfer/DataTransferProtoUtil.java  | 1 +
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/83e65c5f/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtoUtil.java
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtoUtil.java
 
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtoUtil.java
index 28097ab..e2e5f39 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtoUtil.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtoUtil.java
@@ -137,6 +137,7 @@ public abstract class DataTransferProtoUtil {
       } else {
         throw new IOException(
           "Got error"
+          + ", status=" + response.getStatus().name()
           + ", status message " + response.getMessage()
           + ", " + logInfo
         );

http://git-wip-us.apache.org/repos/asf/hadoop/blob/83e65c5f/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 afe677e..8c26a1d 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -962,6 +962,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9134. Move LEASE_{SOFTLIMIT,HARDLIMIT}_PERIOD constants from
     HdfsServerConstants to HdfsConstants. (Mingliang Liu via wheat9)
 
+    HDFS-5795. RemoteBlockReader2#checkSuccess() shoud print error status.
+    (Xiao Chen via Yongjun Zhang)
+
   OPTIMIZATIONS
 
     HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

Reply via email to