This is an automated email from the ASF dual-hosted git repository.
templedf pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 3c1a1ce HDFS-14487. Missing Space in Client Error Message
(Contributed by Shweta Yakkali via Daniel Templeton)
3c1a1ce is described below
commit 3c1a1ceea9e35ac53376276139416b728ed57f10
Author: Shweta Yakkali <[email protected]>
AuthorDate: Tue Jun 18 10:20:40 2019 -0700
HDFS-14487. Missing Space in Client Error Message (Contributed by Shweta
Yakkali via Daniel Templeton)
Change-Id: I0f8ce74a35ab24fe94fd0e57d8247bb3fa575e6f
---
.../src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 a4e0742..4a0d75e 100644
---
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
@@ -965,7 +965,7 @@ public class DFSOutputStream extends FSOutputSummer
}
try {
if (retries == 0) {
- throw new IOException("Unable to close file because the last block"
+ throw new IOException("Unable to close file because the last block
"
+ last + " does not have enough number of replicas.");
}
retries--;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]