HDFS-15045. DataStreamer#createBlockOutputStream() should log exception in warn. Contributed by Ravuri Sushma Sree.
This commit is contained in:
parent
c93cb6790e
commit
c2e9783d5f
@ -1788,7 +1788,7 @@ boolean createBlockOutputStream(DatanodeInfo[] nodes,
|
|||||||
restartingNodes.clear();
|
restartingNodes.clear();
|
||||||
} catch (IOException ie) {
|
} catch (IOException ie) {
|
||||||
if (!errorState.isRestartingNode()) {
|
if (!errorState.isRestartingNode()) {
|
||||||
LOG.info("Exception in createBlockOutputStream " + this, ie);
|
LOG.warn("Exception in createBlockOutputStream " + this, ie);
|
||||||
}
|
}
|
||||||
if (ie instanceof InvalidEncryptionKeyException &&
|
if (ie instanceof InvalidEncryptionKeyException &&
|
||||||
refetchEncryptionKey > 0) {
|
refetchEncryptionKey > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user