You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/05/14 20:25:00 UTC

[jira] [Assigned] (HDFS-17528) FsImageValidation: set txid when saving a new image

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

Tsz-wo Sze reassigned HDFS-17528:
---------------------------------

    Component/s: tools
       Assignee: Tsz-wo Sze
    Description: 
- When the fsimage is specified as a file and the FsImageValidation tool saves a new image (for removing inaccessible inodes), the txid is not set.  Then, the resulted image will have 0 as its txid.

- When the fsimage is specified as a directory, the txid is set.  However, it will get NPE since NameNode metrics is uninitialized (although the metrics is not used by FsImageValidation).

> FsImageValidation: set txid when saving a new image
> ---------------------------------------------------
>
>                 Key: HDFS-17528
>                 URL: https://issues.apache.org/jira/browse/HDFS-17528
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> - When the fsimage is specified as a file and the FsImageValidation tool saves a new image (for removing inaccessible inodes), the txid is not set.  Then, the resulted image will have 0 as its txid.
> - When the fsimage is specified as a directory, the txid is set.  However, it will get NPE since NameNode metrics is uninitialized (although the metrics is not used by FsImageValidation).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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