[
https://issues.apache.org/jira/browse/HDFS-12947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309854#comment-16309854
]
Tsz Wo Nicholas Sze commented on HDFS-12947:
--------------------------------------------
Shash, thanks for working on this. We already have per snapshottable directory
snapshot quota. It is a good idea to add a system-wide snapshot limit.
- Why checking (maxSnapshotLimit > snapshotQuota)? It seems okay if
maxSnapshotLimit > snapshotQuota. I think we should not change the snapshot
quota logic.
- Let's remove DirectorySnapshottableFeature.SNAPSHOT_LIMIT.
> Limit the number of Snapshots allowed to be created for a Snapshottable
> Directory
> ---------------------------------------------------------------------------------
>
> Key: HDFS-12947
> URL: https://issues.apache.org/jira/browse/HDFS-12947
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Attachments: HDFS-12947.001.patch, HDFS-12947.002.patch
>
>
> Currently, A snapshottable directory is able to accommodate 65,536 snapshots.
> In case a directory has large no of snapshots , deletion of any of the
> earlier snapshots take a lot of time which might lead to namenode crash
> (HDFS-11225).
> This jira is introduced to limit the no of the snapshots under a
> snapshottable directory to a reasonable value(say 10) which can be overriden.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]