HDFS-10908. Improve StripedBlockReader#createBlockReader error logging. Contributed by Manoj Govindassamy.
This commit is contained in:
parent
d6afcf364c
commit
2ab1ef15c5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user