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

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

                Author: ASF GitHub Bot
            Created on: 15/Apr/21 07:26
            Start Date: 15/Apr/21 07:26
    Worklog Time Spent: 10m 
      Work Description: jianghuazhu opened a new pull request #2913:
URL: https://github.com/apache/hadoop/pull/2913


   …OException.
   
   ## NOTICE
   
   Please create an issue in ASF JIRA before opening a pull request,
   and you need to set the title of the pull request which starts with
   the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
   For more details, please see 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
   


-- 
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.

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


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

            Worklog Id:     (was: 583182)
    Remaining Estimate: 0h
            Time Spent: 10m

> Solve DatanodeManager#getBlockRecoveryCommand() printing IOException
> --------------------------------------------------------------------
>
>                 Key: HDFS-15978
>                 URL: https://issues.apache.org/jira/browse/HDFS-15978
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Major
>         Attachments: screenshot-1.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When calling DatanodeManager#getBlockRecoveryCommand(), if an IOException 
> occurs, there is no space when printing the BlockInfo information, which is 
> not conducive to viewing the log.
> BlockUnderConstructionFeature uc = b.getUnderConstructionFeature();
>        if(uc == null) {
>          throw new IOException("Recovery block "+ b +
>              "where it is not under construction.");
>        }
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to