Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ void openInfo(boolean refreshLocatedBlocks) throws IOException {
// locations will not be available with NN for getting the length. Lets
// retry for 3 times to get the length.
if (lastBlockBeingWrittenLength == -1) {
DFSClient.LOG.warn("Last block locations not available. "
DFSClient.LOG.warn("Last block locations " + getCurrentBlock() + " of " + src + " from "
+ currentNode + " not available. "
+ "Datanodes might not have reported blocks completely."
+ " Will retry for " + retriesForLastBlockLength + " times");
waitFor(conf.getRetryIntervalForGetLastBlockLength());
Expand Down