hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kih...@apache.org
Subject hadoop git commit: HDFS-10292. Add block id when client got Unable to close file exception. Contributed by Brahma Reddy Battula.
Date Thu, 14 Apr 2016 19:26:39 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 ece01478c -> 0bc8c327e


HDFS-10292. Add block id when client got Unable to close file exception. Contributed by Brahma
Reddy Battula.

(cherry picked from commit 2c155afe2736a5571bbb3bdfb2fe6f9709227229)


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

Branch: refs/heads/branch-2
Commit: 0bc8c327e9c3df31afccde6313af0fa333e63185
Parents: ece0147
Author: Kihwal Lee <kihwal@apache.org>
Authored: Thu Apr 14 14:26:23 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Thu Apr 14 14:26:23 2016 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/0bc8c327/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
index 6d29ec8..18509f8 100755
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
@@ -815,7 +815,7 @@ public class DFSOutputStream extends FSOutputSummer
         try {
           if (retries == 0) {
             throw new IOException("Unable to close file because the last block"
-                + " does not have enough number of replicas.");
+                + last + " does not have enough number of replicas.");
           }
           retries--;
           Thread.sleep(sleeptime);


Mime
View raw message