HDFS-10908. Improve StripedBlockReader#createBlockReader error logging. Contributed by Manoj Govindassamy.

This commit is contained in:
Wei-Chiu Chuang 2016-09-30 12:35:47 -07:00
parent d6afcf364c
commit 2ab1ef15c5

View File

@ -122,7 +122,7 @@ private BlockReader createBlockReader(long offsetInBlock) {
"", newConnectedPeer(block, dnAddr, blockToken, source), source, "", newConnectedPeer(block, dnAddr, blockToken, source), source,
null, stripedReader.getCachingStrategy(), datanode.getTracer(), -1); null, stripedReader.getCachingStrategy(), datanode.getTracer(), -1);
} catch (IOException e) { } catch (IOException e) {
LOG.debug("Exception while creating remote block reader, datanode {}", LOG.info("Exception while creating remote block reader, datanode {}",
source, e); source, e);
return null; return null;
} }