HDDS-1500. Allocate block failures in client should print exception trace. Contributed by Aravindan Vijayan (#801).

This commit is contained in:
avijayanhwx 2019-05-09 03:08:49 -07:00 committed by Mukul Kumar Singh
parent f257497b0f
commit 25951255ce
1 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ public class BlockOutputStreamEntryPool {
succeededAllocates += 1;
} catch (IOException ioe) {
LOG.error("Try to allocate more blocks for write failed, already "
+ "allocated " + succeededAllocates + " blocks for this write.");
+ "allocated {} blocks for this write.", succeededAllocates, ioe);
throw ioe;
}
}
@ -341,4 +341,4 @@ public class BlockOutputStreamEntryPool {
boolean isEmpty() {
return streamEntries.isEmpty();
}
}
}