[
https://issues.apache.org/jira/browse/HDFS-15978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaoqiao He updated HDFS-15978:
-------------------------------
Component/s: namanode
Fix Version/s: 3.4.0
Hadoop Flags: Reviewed
Issue Type: Improvement (was: Bug)
Priority: Trivial (was: Major)
Committed to trunk.
Thanks [~jianghuazhu] for your contributions!
> Solve DatanodeManager#getBlockRecoveryCommand() printing IOException
> --------------------------------------------------------------------
>
> Key: HDFS-15978
> URL: https://issues.apache.org/jira/browse/HDFS-15978
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namanode
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Attachments: screenshot-1.png
>
> Time Spent: 1h
> 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]