@@ -811,7 +811,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);