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

Add a -list-snapshots option to SnapshotInfo

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.99.0
    • Fix Version/s: 0.99.0, 0.96.3, 0.94.20, 0.98.3
    • Component/s: snapshots
    • Labels:
      None

      Description

      Add a -list-snapshots option to SnapshotInfo to show all the snapshots available. Also add a -remote-dir option to simplify the usage of SnapshotInfo in case the snapshot dir is not the one of the current hbase cluster

      $ hbase org.apache.hadoop.hbase.snapshot.SnapshotInfo -list-snapshots
      SNAPSHOT             | CREATION TIME        | TABLE NAME
      foo                  |  2014-05-07T22:40:13 | testtb
      bar                  |  2014-05-07T22:40:16 | testtb
      
      $ hbase org.apache.hadoop.hbase.snapshot.SnapshotInfo -remote-dir file:///backup/ -snapshot my_local_snapshot
      

        Attachments

        1. HBASE-11134-v1.patch
          5 kB
          Matteo Bertozzi
        2. HBASE-11134-v0.patch
          5 kB
          Matteo Bertozzi

          Activity

            People

            • Assignee:
              mbertozzi Matteo Bertozzi
              Reporter:
              mbertozzi Matteo Bertozzi
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: