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 <hanishakon...@apache.org>
Authored: Wed Mar 7 14:17:10 2018 -0800
Committer: Hanisha Koneru <hanishakon...@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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to