You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/11/14 13:36:17 UTC

[GitHub] [hadoop] GuoPhilipse commented on a change in pull request #3649: HDFS-16318. Add exception blockinfo

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



##########
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:
       Thanks @Hexiaoqiao for your review , just have updated `src` info in the log, but i have not idea on the log test cases ,Could you give me some advice ?




-- 
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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org