[
https://issues.apache.org/jira/browse/HDFS-17380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17824605#comment-17824605
]
ASF GitHub Bot commented on HDFS-17380:
---------------------------------------
Hexiaoqiao commented on PR #6549:
URL: https://github.com/apache/hadoop/pull/6549#issuecomment-1984971681
@szetszwo Thanks for your response.
> This may not be acceptable in some use cases since the newly created files
will be lost (i.e. data loss) if we recover from an earlier fsimage.
Recover from one earlier checkpoint will not loss data, it will keep both
fsimage and all editlog util the latest transaction.
> If we remove the inaccessible inodes, we won't lose any files.
When you talk about `inaccessible inode`, do you mean NameNode unexpected
logic cause some inodes are unreachable?
> this is just a tool to fix fsimages. Users may choose not to use it if
they are fine to recover from an earlier fsimage.
+1. Will involve to review once understand what it will improve. Thanks
again.
> FsImageValidation: remove inaccessible nodes
> --------------------------------------------
>
> Key: HDFS-17380
> URL: https://issues.apache.org/jira/browse/HDFS-17380
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: tools
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
>
> If a fsimage is corrupted, it may have inaccessible nodes. The
> FsImageValidation tool currently is able to identify the inaccessible nodes
> when validating the INodeMap. This JIRA is to update the tool to remove the
> inaccessible nodes and then save a new fsimage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]