[ 
https://issues.apache.org/jira/browse/HDFS-15978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

JiangHua Zhu reassigned HDFS-15978:
-----------------------------------

    Assignee: JiangHua Zhu

> 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
>
> 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.");
>        }



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

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