Repository: hadoop
Updated Branches:
  refs/heads/branch-3.0 cc0f14c13 -> 0b1e9665d


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/0b1e9665
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0b1e9665
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0b1e9665

Branch: refs/heads/branch-3.0
Commit: 0b1e9665df7812331db62251d1a4d7ac80970492
Parents: cc0f14c
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:22:01 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/0b1e9665/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