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 "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2021/08/03 19:45:00 UTC

[jira] [Updated] (HDFS-16055) Quota is not preserved in snapshot INode

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

Stephen O'Donnell updated HDFS-16055:
-------------------------------------
    Fix Version/s: 3.3.2

> Quota is not preserved in snapshot INode
> ----------------------------------------
>
>                 Key: HDFS-16055
>                 URL: https://issues.apache.org/jira/browse/HDFS-16055
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 3.3.0
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.2
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Quota feature is not preserved during snapshot creation, this causes {{INodeDirectory#metadataEquals}} to ALWAYS return true. Therefore, {{snapshotDiff}} will ALWAYS return the snapshot root as modified, even if the quota is set before the snapshot creation:
> {code:bash}
> $ hdfs snapshotDiff /diffTest s0 .
> Difference between snapshot s0 and current directory under directory /diffTest:
> M	.
> {code}



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

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