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-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org