public void checkSnapshotSupport() throws UnsupportedOperationException {
    if (!this.isSnapshotSupported) {
      throw new UnsupportedOperationException(
        "To use snapshots, You must add to the hbase-site.xml of the HBase Master: '"
          + HBASE_SNAPSHOT_ENABLED + "' property with value 'true'.");
    }
  }
Throws an exception if snapshot operations (take a snapshot, restore, clone) are not supported.
Called at the beginning of snapshot() and restoreSnapshot() methods.
@throws UnsupportedOperationException if snapshot are not supported
hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotManager.java