Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
When we test reading data with datanodes killed, DFSInputStream::getBestNodeDNAddrPair becomes a hot spot method and effectively blocks the client JVM. This log seems too verbose:
if (chosenNode == null) { DFSClient.LOG.warn("No live nodes contain block " + block.getBlock() + " after checking nodes = " + Arrays.toString(nodes) + ", ignoredNodes = " + ignoredNodes); return null; }