HDDS-1500. Allocate block failures in client should print exception trace. Contributed by Aravindan Vijayan (#801).
This commit is contained in:
parent
f257497b0f
commit
25951255ce
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue