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

Admin#snapshot method documentation is misleading.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1
    • documentation
    • None
    • Reviewed

    Description

      The documentation for the Admin#snapshot function is misleading in regards to snapshot concurrency.

      It currently states the following: 

      Only a single snapshot should be taken at a time for an instance of HBase, or results may be undefined (you can tell multiple HBase clusters to snapshot at the same time, but only one at a time for a single cluster).

      This seems to indicate that it's dangerous to run snapshots concurrently when in fact the HBase master will simply run them sequentially (as per this Slack thread https://apache-hbase.slack.com/archives/C13K8NVAM/p1540994948005900)

      The suggested fix is to simply remove this entire sentence.

      Attachments

        1. HBASE-21415.patch
          2 kB
          Philippe Laflamme
        2. HBASE-21415.patch
          3 kB
          Philippe Laflamme
        3. HBASE-21415.002.patch
          8 kB
          Josh Elser
        4. HBASE-21415.003.patch
          8 kB
          Josh Elser

        Activity

          People

            plaflamme Philippe Laflamme
            plaflamme Philippe Laflamme
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: