[ 
https://issues.apache.org/jira/browse/HDFS-16318?focusedWorklogId=681218&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-681218
 ]

ASF GitHub Bot logged work on HDFS-16318:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Nov/21 13:36
            Start Date: 14/Nov/21 13:36
    Worklog Time Spent: 10m 
      Work Description: 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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 681218)
    Time Spent: 40m  (was: 0.5h)

> Add exception blockinfo
> -----------------------
>
>                 Key: HDFS-16318
>                 URL: https://issues.apache.org/jira/browse/HDFS-16318
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.3.1
>            Reporter: guo
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to