Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12947

Limit the number of Snapshots allowed to be created for a Snapshottable Directory

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: snapshots
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. HDFS-12947.001.patch
          8 kB
          Shashikant Banerjee
        2. HDFS-12947.002.patch
          9 kB
          Shashikant Banerjee
        3. HDFS-12947.003.patch
          13 kB
          Shashikant Banerjee
        4. HDFS-12947.004.patch
          13 kB
          Shashikant Banerjee

          Issue Links

            Activity

              People

              • Assignee:
                shashikant Shashikant Banerjee
                Reporter:
                shashikant Shashikant Banerjee
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: