Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
2.7.1
-
None
-
None
-
None
Description
There are some not appropriate logLevel output in many palaces of DataXceiver. When some exceptions happened, the output logLevel often the info level not warn. Like these:
try { blockSender = new BlockSender(block, blockOffset, length, true, false, sendChecksum, datanode, clientTraceFmt, cachingStrategy); } catch(IOException e) { String msg = "opReadBlock " + block + " received exception " + e; LOG.info(msg); sendResponse(ERROR, msg); throw e; }
And this case is not only one, it looks frequent in DataXceiver methods.