[ 
https://issues.apache.org/jira/browse/HDFS-12947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16338475#comment-16338475
 ] 

Tsz Wo Nicholas Sze commented on HDFS-12947:
--------------------------------------------

In the 003 patch, the limit becomes per FileSystem but not per Snapshottable 
directory.  I think it should better to be per directory since we are be able 
to support many directories, each with a small number of snapshot.
- Per directory snapshot limit: a file system wide limit in order to protect 
the system.
- Per directory snapshot quota: for admin to manage snapshot usages.

> 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
>            Priority: Major
>         Attachments: HDFS-12947.001.patch, HDFS-12947.002.patch, 
> HDFS-12947.003.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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to