Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28734

Improve HBase shell snapshot command Doc with TTL option

    XMLWordPrintableJSON

Details

    Description

      The current HBase shell snapshot command allows users to create a snapshot of a specific table. While this command is useful, it could be enhanced by adding a TTL (Time-to-Live) option. This would allow users to specify a time period after which the snapshot would automatically be deleted.

      I propose we introduce a TTL option in the snapshot command doc as follows:

      hbase> snapshot 'sourceTable', 'snapshotName', {TTL => '7d'}

      This would create a snapshot of 'sourceTable' called 'snapshotName' that would automatically be deleted after 7 days. The addition document of a TTL option would provide a better user experience and assist with efficient storage management.

      Attachments

        Issue Links

          Activity

            People

              heliangjun Liangjun He
              Ashok shetty Ashok shetty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: