hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yjzhan...@apache.org
Subject hadoop git commit: HDFS-5795. RemoteBlockReader2#checkSuccess() shoud print error status. (Xiao Chen via Yongjun Zhang)
Date Fri, 25 Sep 2015 05:19:06 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 16ae3f5d4 -> bc5ee8079


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

(cherry picked from commit 83e65c5fe84819b6c6da015b269fb4e46a88d105)


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

Branch: refs/heads/branch-2
Commit: bc5ee80794d608e01fa4b51fc7d0ae2883f8d097
Parents: 16ae3f5
Author: Yongjun Zhang <yzhang@cloudera.com>
Authored: Thu Sep 24 22:13:14 2015 -0700
Committer: Yongjun Zhang <yzhang@cloudera.com>
Committed: Thu Sep 24 22:15:28 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/bc5ee807/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/bc5ee807/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 2a59966..0aac1a1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -614,6 +614,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


Mime
View raw message