hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanishakon...@apache.org
Subject hadoop git commit: HDFS-13225. StripeReader#checkMissingBlocks() 's IOException info is incomplete. Contributed by lufei.
Date Wed, 07 Mar 2018 22:21:28 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.1 1dedc68f9 -> 885d46a24


HDFS-13225. StripeReader#checkMissingBlocks() 's IOException info is incomplete. Contributed
by lufei.

(cherry picked from commit 19ae4429f9a2807548bb4b9ff296521fbdbbb2bc)


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

Branch: refs/heads/branch-3.1
Commit: 885d46a24571b4fad61480477d18d699e427d892
Parents: 1dedc68
Author: Hanisha Koneru <hanishakoneru@apache.org>
Authored: Wed Mar 7 14:17:10 2018 -0800
Committer: Hanisha Koneru <hanishakoneru@apache.org>
Committed: Wed Mar 7 14:21:04 2018 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hdfs/protocol/LocatedBlocks.java  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/885d46a2/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/LocatedBlocks.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/LocatedBlocks.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/LocatedBlocks.java
index e7d5b3a..baf59ce 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/LocatedBlocks.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/LocatedBlocks.java
@@ -188,11 +188,11 @@ public class LocatedBlocks {
 
   @Override
   public String toString() {
-    return getClass().getSimpleName() + "{" + "\n  fileLength=" + fileLength
-        + "\n  underConstruction=" + underConstruction
-        + "\n  blocks=" + blocks
-        + "\n  lastLocatedBlock=" + lastLocatedBlock
-        + "\n  isLastBlockComplete=" + isLastBlockComplete
-        + "\n  ecPolicy=" + ecPolicy + "}";
+    return getClass().getSimpleName() + "{" + ";  fileLength=" + fileLength
+        + ";  underConstruction=" + underConstruction
+        + ";  blocks=" + blocks
+        + ";  lastLocatedBlock=" + lastLocatedBlock
+        + ";  isLastBlockComplete=" + isLastBlockComplete
+        + ";  ecPolicy=" + ecPolicy + "}";
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message