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;
|
succeededAllocates += 1;
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
LOG.error("Try to allocate more blocks for write failed, already "
|
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;
|
throw ioe;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue