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

Shashikant Banerjee updated HDFS-12947:
---------------------------------------
    Attachment: HDFS-12947.001.patch

Patch v1 adds a config "dfs.namenode.snapshot.max.limit" which limits the 
maximum no of snapshots under a snapshottable directory, default value of which 
is 10. If the configuration value is set to a negative value, it will set the 
max limit to 65536 as earlier.


> 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
>
>
> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to