Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8FDC7200C80 for ; Wed, 10 May 2017 16:59:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8E349160BD1; Wed, 10 May 2017 14:59:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 27CAE160BA8 for ; Wed, 10 May 2017 16:59:48 +0200 (CEST) Received: (qmail 27422 invoked by uid 500); 10 May 2017 14:59:45 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 24470 invoked by uid 99); 10 May 2017 14:59:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2017 14:59:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E28BFE028C; Wed, 10 May 2017 14:59:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@hbase.apache.org Date: Wed, 10 May 2017 15:00:09 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [28/51] [partial] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd. archived-at: Wed, 10 May 2017 14:59:51 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dd7176bf/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html b/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html index f16a58b..0f910b7 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html +++ b/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -374,14 +374,18 @@ extends readFields(DataInput in)  +void +setTableName(TableName table)  + + boolean tableFieldsEqual(TablePermission other)  - + String toString()  - + void write(DataOutput out)  @@ -631,13 +635,22 @@ extends TableName getTableName() + + + + @@ -646,7 +659,7 @@ extends
  • getFamily

    -
    public byte[] getFamily()
    +
    public byte[] getFamily()
  • @@ -655,7 +668,7 @@ extends
  • hasQualifier

    -
    public boolean hasQualifier()
    +
    public boolean hasQualifier()
  • @@ -664,7 +677,7 @@ extends
  • getQualifier

    -
    public byte[] getQualifier()
    +
    public byte[] getQualifier()
  • @@ -673,7 +686,7 @@ extends
  • hasNamespace

    -
    public boolean hasNamespace()
    +
    public boolean hasNamespace()
  • @@ -682,7 +695,7 @@ extends
  • getNamespace

    -
    public String getNamespace()
    +
    public String getNamespace()
  • @@ -691,7 +704,7 @@ extends
  • implies

    -
    public boolean implies(String namespace,
    +
    public boolean implies(String namespace,
                            Permission.Action action)
    Checks that a given table operation is authorized by this permission instance.
    @@ -711,7 +724,7 @@ extends
  • implies

    -
    public boolean implies(TableName table,
    +
    public boolean implies(TableName table,
                            byte[] family,
                            byte[] qualifier,
                            Permission.Action action)
    @@ -737,7 +750,7 @@ extends
  • implies

    -
    public boolean implies(TableName table,
    +
    public boolean implies(TableName table,
                            KeyValue kv,
                            Permission.Action action)
    Checks if this permission grants access to perform the given action on @@ -759,7 +772,7 @@ extends
  • matchesFamily

    -
    public boolean matchesFamily(TableName table,
    +
    public boolean matchesFamily(TableName table,
                                  byte[] family,
                                  Permission.Action action)
    Returns true if this permission matches the given column @@ -776,7 +789,7 @@ extends
  • matchesFamilyQualifier

    -
    public boolean matchesFamilyQualifier(TableName table,
    +
    public boolean matchesFamilyQualifier(TableName table,
                                           byte[] family,
                                           byte[] qualifier,
                                           Permission.Action action)
    @@ -799,7 +812,7 @@ extends
  • tableFieldsEqual

    -
    public boolean tableFieldsEqual(TablePermission other)
    +
    public boolean tableFieldsEqual(TablePermission other)
  • @@ -808,7 +821,7 @@ extends
  • equals

    -
    public boolean equals(Object obj)
    +
    public boolean equals(Object obj)
    Overrides:
    equals in class Permission
    @@ -821,7 +834,7 @@ extends
  • hashCode

    -
    public int hashCode()
    +
    public int hashCode()
    Overrides:
    hashCode in class Permission
    @@ -834,7 +847,7 @@ extends
  • toString

    -
    public String toString()
    +
    public String toString()
    Overrides:
    toString in class Permission
    @@ -847,7 +860,7 @@ extends
  • readFields

    -
    public void readFields(DataInput in)
    +
    public void readFields(DataInput in)
                     throws IOException
    Specified by:
    @@ -865,7 +878,7 @@ extends
  • write

    -
    public void write(DataOutput out)
    +
    public void write(DataOutput out)
                throws IOException
    Specified by:
    http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dd7176bf/devapidocs/org/apache/hadoop/hbase/security/access/UserPermission.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/UserPermission.html b/devapidocs/org/apache/hadoop/hbase/security/access/UserPermission.html index 7fadd12..df15fe9 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/access/UserPermission.html +++ b/devapidocs/org/apache/hadoop/hbase/security/access/UserPermission.html @@ -314,7 +314,7 @@ extends TablePermission -getFamily, getNamespace, getQualifier, getTableName, hasFamily, hasNamespace, hasQualifier, hasTable, implies, implies, implies, matchesFamily, matchesFamilyQualifier, tableFieldsEqual
  • +getFamily, getNamespace, getQualifier, getTableName, hasFamily, hasNamespace, hasQualifier, hasTable, implies, implies, implies, matchesFamily, matchesFamilyQualifier, setTableName, tableFieldsEqual
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dd7176bf/devapidocs/org/apache/hadoop/hbase/security/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html index dadc344..73b9c9d 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html @@ -191,8 +191,8 @@
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dd7176bf/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter.html b/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter.html index dbb75ec..1b043c2 100644 --- a/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter.html +++ b/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter.html @@ -121,7 +121,7 @@


    -
    public static class SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter
    +
    public static class SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter
     extends FSUtils.BlackListDirFilter
    Filter that only accepts completed snapshot directories
  • @@ -194,7 +194,7 @@ extends
  • CompletedSnaphotDirectoriesFilter

    -
    public CompletedSnaphotDirectoriesFilter(org.apache.hadoop.fs.FileSystem fs)
    +
    public CompletedSnaphotDirectoriesFilter(org.apache.hadoop.fs.FileSystem fs)
    Parameters:
    fs -
    http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dd7176bf/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.html b/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.html index 5a5a207..919a57b 100644 --- a/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.html +++ b/devapidocs/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab";

    @InterfaceAudience.Private
    -public final class SnapshotDescriptionUtils
    +public final class SnapshotDescriptionUtils
     extends Object
    Utility class to help manage SnapshotDesriptions.

    @@ -127,6 +127,7 @@ extends Field and Description +static String +ACLINFO_FILE  + + static long DEFAULT_MAX_WAIT_TIME

    By default, wait 300 seconds for a snapshot to complete
    - + private static org.apache.commons.logging.Log LOG  - + static String MASTER_SNAPSHOT_TIMEOUT_MILLIS  - + static long NO_SNAPSHOT_START_TIME_SPECIFIED
    Default value if no start time is specified
    - + static String SNAPSHOT_IN_PROGRESS
    This tag will be created in in-progess snapshots
    - + static int SNAPSHOT_LAYOUT_VERSION
    Version of the fs layout for a snapshot.
    - + static int SNAPSHOT_TIMEOUT_MILLIS_DEFAULT
    Deprecated.  @@ -225,7 +230,7 @@ extends + static String SNAPSHOT_TIMEOUT_MILLIS_KEY
    Deprecated.  @@ -233,13 +238,13 @@ extends + static String SNAPSHOT_TMP_DIR_NAME
    Temporary directory under the snapshot directory to store in-progress snapshots
    - + static String SNAPSHOTINFO_FILE
    The file contains the snapshot basic information and it is under the directory of a snapshot.
    @@ -355,20 +360,31 @@ extends +static void +grantSnapshotAcl(org.apache.hadoop.fs.Path snapshotDir, + org.apache.hadoop.fs.FileSystem fs, + TableName tableName, + org.apache.hadoop.conf.Configuration conf)  + + +static boolean +isSecurityAvailable(org.apache.hadoop.conf.Configuration conf)  + + static boolean isSnapshotOwner(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot, User user)
    Check if the user is this table snapshot's owner
    - + static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription readSnapshotInfo(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir)
    Read in the HBaseProtos.SnapshotDescription stored for the snapshot in the passed directory
    - + static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription validate(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot, org.apache.hadoop.conf.Configuration conf) @@ -376,7 +392,7 @@ extends + static void writeSnapshotInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot, org.apache.hadoop.fs.Path workingDir, @@ -384,6 +400,13 @@ extends Write the snapshot description into the working directory of a snapshot
    + +static void +writeTableAclInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot, + org.apache.hadoop.fs.Path workingDir, + org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.conf.Configuration conf)  + @@ -421,7 +444,7 @@ extends
  • SNAPSHOT_LAYOUT_VERSION

    -
    public static final int SNAPSHOT_LAYOUT_VERSION
    +
    public static final int SNAPSHOT_LAYOUT_VERSION
    Version of the fs layout for a snapshot. Future snapshots may have different file layouts, which we may need to read in differently.
    @@ -430,13 +453,26 @@ extends + + +
  • Deprecated. Use DEFAULT_MAX_WAIT_TIME instead.
    By default, check to see if the snapshot is complete (ms)
    @@ -536,7 +572,7 @@ public static final int

    SNAPSHOT_TIMEOUT_MILLIS_KEY

    @Deprecated
    -public static final String SNAPSHOT_TIMEOUT_MILLIS_KEY
    +public static final String SNAPSHOT_TIMEOUT_MILLIS_KEY
  • Deprecated. Use MASTER_SNAPSHOT_TIMEOUT_MILLIS instead.
    Conf key for # of ms elapsed before injecting a snapshot timeout error when waiting for completion.
    @@ -560,7 +596,7 @@ public static final 
  • SnapshotDescriptionUtils

    -
    private SnapshotDescriptionUtils()
    +
    private SnapshotDescriptionUtils()
  • @@ -577,7 +613,7 @@ public static final 
  • getMaxMasterTimeout

    -
    public static long getMaxMasterTimeout(org.apache.hadoop.conf.Configuration conf,
    +
    public static long getMaxMasterTimeout(org.apache.hadoop.conf.Configuration conf,
                                            org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription.Type type,
                                            long defaultMaxWaitTime)
    @@ -596,7 +632,7 @@ public static final 
  • getSnapshotRootDir

    -
    public static org.apache.hadoop.fs.Path getSnapshotRootDir(org.apache.hadoop.fs.Path rootDir)
    +
    public static org.apache.hadoop.fs.Path getSnapshotRootDir(org.apache.hadoop.fs.Path rootDir)
    Get the snapshot root directory. All the snapshots are kept under this directory, i.e. ${hbase.rootdir}/.snapshot
    @@ -613,7 +649,7 @@ public static final 
  • getCompletedSnapshotDir

    -
    public static org.apache.hadoop.fs.Path getCompletedSnapshotDir(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
    +
    public static org.apache.hadoop.fs.Path getCompletedSnapshotDir(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
                                                                     org.apache.hadoop.fs.Path rootDir)
    Get the directory for a specified snapshot. This directory is a sub-directory of snapshot root directory and all the data files for a snapshot are kept under this directory.
    @@ -632,7 +668,7 @@ public static final 
  • getCompletedSnapshotDir

    -
    public static org.apache.hadoop.fs.Path getCompletedSnapshotDir(String snapshotName,
    +
    public static org.apache.hadoop.fs.Path getCompletedSnapshotDir(String snapshotName,
                                                                     org.apache.hadoop.fs.Path rootDir)
    Get the directory for a completed snapshot. This directory is a sub-directory of snapshot root directory and all the data files for a snapshot are kept under this directory.
    @@ -651,7 +687,7 @@ public static final 
  • getWorkingSnapshotDir

    -
    public static org.apache.hadoop.fs.Path getWorkingSnapshotDir(org.apache.hadoop.fs.Path rootDir)
    +
    public static org.apache.hadoop.fs.Path getWorkingSnapshotDir(org.apache.hadoop.fs.Path rootDir)
    Get the general working directory for snapshots - where they are built, where they are temporarily copied on export, etc.
    @@ -668,7 +704,7 @@ public static final 
  • getWorkingSnapshotDir

    -
    public static org.apache.hadoop.fs.Path getWorkingSnapshotDir(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
    +
    public static org.apache.hadoop.fs.Path getWorkingSnapshotDir(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
                                                                   org.apache.hadoop.fs.Path rootDir)
    Get the directory to build a snapshot, before it is finalized
    @@ -686,7 +722,7 @@ public static final 
  • getWorkingSnapshotDir

    -
    public static org.apache.hadoop.fs.Path getWorkingSnapshotDir(String snapshotName,
    +
    public static org.apache.hadoop.fs.Path getWorkingSnapshotDir(String snapshotName,
                                                                   org.apache.hadoop.fs.Path rootDir)
    Get the directory to build a snapshot, before it is finalized
    @@ -704,7 +740,7 @@ public static final 
  • getCompletedSnapshotDir

    -
    private static final org.apache.hadoop.fs.Path getCompletedSnapshotDir(org.apache.hadoop.fs.Path snapshotsDir,
    +
    private static final org.apache.hadoop.fs.Path getCompletedSnapshotDir(org.apache.hadoop.fs.Path snapshotsDir,
                                                                            String snapshotName)
    Get the directory to store the snapshot instance
    @@ -722,7 +758,7 @@ public static final 
  • getSnapshotsDir

    -
    public static final org.apache.hadoop.fs.Path getSnapshotsDir(org.apache.hadoop.fs.Path rootDir)
    +
    public static final org.apache.hadoop.fs.Path getSnapshotsDir(org.apache.hadoop.fs.Path rootDir)
    Parameters:
    rootDir - hbase root directory
    @@ -737,7 +773,7 @@ public static final 
  • validate

    -
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription validate(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
    +
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription validate(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
                                                                                                              org.apache.hadoop.conf.Configuration conf)
                                                                                                       throws IllegalArgumentException
    Convert the passed snapshot description into a 'full' snapshot description based on default @@ -761,7 +797,7 @@ public static final 
  • writeSnapshotInfo

    -
    public static void writeSnapshotInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
    +
    public static void writeSnapshotInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
                                          org.apache.hadoop.fs.Path workingDir,
                                          org.apache.hadoop.fs.FileSystem fs)
                                   throws IOException
    @@ -783,7 +819,7 @@ public static final 
  • createInProgressTag

    -
    public static void createInProgressTag(org.apache.hadoop.fs.Path workingDir,
    +
    public static void createInProgressTag(org.apache.hadoop.fs.Path workingDir,
                                            org.apache.hadoop.fs.FileSystem fs)
                                     throws IOException
    Create in-progress tag under .tmp of in-progress snapshot
    @@ -799,7 +835,7 @@ public static final 
  • readSnapshotInfo

    -
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription readSnapshotInfo(org.apache.hadoop.fs.FileSystem fs,
    +
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription readSnapshotInfo(org.apache.hadoop.fs.FileSystem fs,
                                                                                                                      org.apache.hadoop.fs.Path snapshotDir)
                                                                                                               throws CorruptedSnapshotException
    Read in the HBaseProtos.SnapshotDescription stored for the snapshot in the passed directory
    @@ -821,7 +857,7 @@ public static final 
  • completeSnapshot

    -
    public static void completeSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
    +
    public static void completeSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
                                         org.apache.hadoop.fs.Path rootdir,
                                         org.apache.hadoop.fs.Path workingDir,
                                         org.apache.hadoop.fs.FileSystem fs)
    @@ -845,10 +881,10 @@ public static final 
     
     
    -
      +
      • isSnapshotOwner

        -
        public static boolean isSnapshotOwner(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
        +
        public static boolean isSnapshotOwner(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
                                               User user)
        Check if the user is this table snapshot's owner
        @@ -861,6 +897,54 @@ public static final  + + + + + + +
          +
        • +

          writeTableAclInfo

          +
          public static void writeTableAclInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot,
          +                                     org.apache.hadoop.fs.Path workingDir,
          +                                     org.apache.hadoop.fs.FileSystem fs,
          +                                     org.apache.hadoop.conf.Configuration conf)
          +                              throws IOException
          +
          +
          Throws:
          +
          IOException
          +
          +
        • +
        + + + +
          +
        • +

          grantSnapshotAcl

          +
          public static void grantSnapshotAcl(org.apache.hadoop.fs.Path snapshotDir,
          +                                    org.apache.hadoop.fs.FileSystem fs,
          +                                    TableName tableName,
          +                                    org.apache.hadoop.conf.Configuration conf)
          +                             throws IOException
          +
          +
          Throws:
          +
          IOException
          +
          +
        • +
      http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dd7176bf/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/HBaseSnapshotException.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/HBaseSnapshotException.html b/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/HBaseSnapshotException.html index e53a470..c5aa3e6 100644 --- a/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/HBaseSnapshotException.html +++ b/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/HBaseSnapshotException.html @@ -138,9 +138,10 @@ (package private) long -SnapshotManager.cloneSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot, +SnapshotManager.cloneSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor, - NonceKey nonceKey) + NonceKey nonceKey, + boolean restoreAcl)
      Clone the specified snapshot into a new table.
      http://git-wip-us.apache.org/repos/asf/hbase-site/blob/dd7176bf/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/RestoreSnapshotException.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/RestoreSnapshotException.html b/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/RestoreSnapshotException.html index 2fb28a4..b12720f 100644 --- a/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/RestoreSnapshotException.html +++ b/devapidocs/org/apache/hadoop/hbase/snapshot/class-use/RestoreSnapshotException.html @@ -129,13 +129,28 @@ TableName tableName)  +void +Admin.cloneSnapshot(String snapshotName, + TableName tableName, + boolean restoreAcl) +
      Create a new table by cloning the snapshot content.
      + + + +void +HBaseAdmin.cloneSnapshot(String snapshotName, + TableName tableName, + boolean restoreAcl)  + + private TableName HBaseAdmin.getTableNameBeforeRestoreSnapshot(String snapshotName)  private Future<Void> -HBaseAdmin.internalRestoreSnapshotAsync(String snapshotName, - TableName tableName) +HBaseAdmin.internalRestoreSnapshotAsync(String snapshotName, + TableName tableName, + boolean restoreAcl)
      Execute Restore/Clone snapshot and wait for the server to complete (blocking).