HDFS-15045. DataStreamer#createBlockOutputStream() should log exception in warn. Contributed by Ravuri Sushma Sree.

This commit is contained in:
Surendra Singh Lilhore 2019-12-11 08:52:55 +05:30
parent c93cb6790e
commit c2e9783d5f

View File

@ -1788,7 +1788,7 @@ boolean createBlockOutputStream(DatanodeInfo[] nodes,
restartingNodes.clear();
} catch (IOException ie) {
if (!errorState.isRestartingNode()) {
LOG.info("Exception in createBlockOutputStream " + this, ie);
LOG.warn("Exception in createBlockOutputStream " + this, ie);
}
if (ie instanceof InvalidEncryptionKeyException &&
refetchEncryptionKey > 0) {