Hexiaoqiao commented on a change in pull request #3649:
URL: https://github.com/apache/hadoop/pull/3649#discussion_r748825616



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java
##########
@@ -257,7 +257,7 @@ 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() + " 
not available. "

Review comment:
       Also add `src` will be more helpful IMO. Thanks.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to