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 251DC200D22 for ; Sat, 21 Oct 2017 17:18:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23A20160BF2; Sat, 21 Oct 2017 15:18:55 +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 0D36E160BF3 for ; Sat, 21 Oct 2017 17:18:52 +0200 (CEST) Received: (qmail 33388 invoked by uid 500); 21 Oct 2017 15:18:50 -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 31828 invoked by uid 99); 21 Oct 2017 15:18:49 -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; Sat, 21 Oct 2017 15:18:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 30529DFFD7; Sat, 21 Oct 2017 15:18:49 +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: Sat, 21 Oct 2017 15:19:21 -0000 Message-Id: In-Reply-To: <2998d5ae1c604fe0a9926e1eceac718c@git.apache.org> References: <2998d5ae1c604fe0a9926e1eceac718c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [35/51] [partial] hbase-site git commit: Published site at . archived-at: Sat, 21 Oct 2017 15:18:55 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c0c4a947/devapidocs/org/apache/hadoop/hbase/client/Admin.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Admin.html b/devapidocs/org/apache/hadoop/hbase/client/Admin.html index 26ba759..c85eb47 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Admin.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Admin.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":50,"i4":6,"i5":6,"i6":18,"i7":18,"i8":6,"i9":6,"i10":6,"i11":50,"i12":50,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":38,"i24":38,"i25":38,"i26":38,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":38,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":38,"i51":6,"i52":6,"i53":38,"i54":38,"i55":6,"i56":38,"i57":18,"i58":6,"i59":6,"i60":6,"i61":38,"i62":38,"i63":6,"i64":50,"i65":18,"i66":6,"i67":6,"i68":6,"i69":38,"i70":38,"i71":6,"i72":50,"i73":6,"i74":6,"i75":6,"i76":38,"i77":38,"i78":6,"i79":6,"i80":6,"i81":6,"i82":6,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":6,"i91":6,"i92":38,"i93":6,"i94":6,"i95":6,"i96":6,"i97":6,"i98":6,"i99":6,"i100":18,"i101":6,"i102":38,"i103":38,"i104":38,"i105":38,"i106":6,"i107":6,"i108":6,"i109":6,"i110":6,"i111":6,"i112":6,"i113":6,"i114":50,"i115":6,"i116":38,"i117": 6,"i118":6,"i119":6,"i120":6,"i121":6,"i122":6,"i123":18,"i124":18,"i125":50,"i126":6,"i127":6,"i128":38,"i129":6,"i130":6,"i131":6,"i132":6,"i133":6,"i134":38,"i135":6,"i136":6,"i137":6,"i138":38,"i139":38,"i140":6,"i141":38,"i142":38,"i143":38,"i144":38,"i145":38,"i146":6,"i147":38,"i148":6,"i149":6,"i150":6,"i151":6,"i152":6,"i153":6,"i154":38,"i155":6,"i156":6,"i157":50,"i158":6,"i159":6,"i160":6,"i161":6,"i162":6,"i163":38,"i164":6,"i165":38,"i166":6,"i167":6,"i168":6,"i169":6,"i170":6,"i171":18,"i172":18,"i173":6,"i174":6,"i175":6,"i176":6,"i177":6,"i178":6,"i179":6,"i180":6,"i181":50,"i182":6,"i183":50,"i184":50,"i185":50,"i186":6,"i187":50,"i188":6,"i189":6,"i190":6,"i191":6,"i192":6,"i193":6,"i194":6,"i195":6,"i196":6,"i197":6,"i198":38,"i199":38,"i200":6,"i201":6,"i202":6,"i203":6,"i204":50,"i205":6,"i206":6,"i207":6,"i208":6,"i209":6,"i210":18}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":50,"i4":6,"i5":6,"i6":18,"i7":18,"i8":6,"i9":6,"i10":6,"i11":50,"i12":50,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":38,"i24":38,"i25":38,"i26":38,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":38,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":38,"i52":6,"i53":6,"i54":38,"i55":38,"i56":6,"i57":38,"i58":18,"i59":6,"i60":6,"i61":6,"i62":38,"i63":38,"i64":50,"i65":18,"i66":6,"i67":6,"i68":6,"i69":38,"i70":38,"i71":6,"i72":50,"i73":6,"i74":6,"i75":6,"i76":38,"i77":38,"i78":6,"i79":6,"i80":6,"i81":6,"i82":6,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":18,"i91":6,"i92":38,"i93":6,"i94":6,"i95":6,"i96":6,"i97":6,"i98":6,"i99":6,"i100":18,"i101":6,"i102":38,"i103":38,"i104":38,"i105":38,"i106":6,"i107":6,"i108":6,"i109":6,"i110":6,"i111":6,"i112":6,"i113":6,"i114":50,"i115":6,"i116":38,"i117" :6,"i118":6,"i119":6,"i120":6,"i121":6,"i122":6,"i123":18,"i124":18,"i125":50,"i126":6,"i127":6,"i128":38,"i129":6,"i130":6,"i131":6,"i132":6,"i133":6,"i134":38,"i135":6,"i136":6,"i137":6,"i138":38,"i139":38,"i140":6,"i141":38,"i142":38,"i143":38,"i144":38,"i145":38,"i146":6,"i147":38,"i148":6,"i149":6,"i150":6,"i151":6,"i152":6,"i153":6,"i154":38,"i155":6,"i156":6,"i157":50,"i158":6,"i159":6,"i160":6,"i161":6,"i162":6,"i163":38,"i164":6,"i165":38,"i166":6,"i167":6,"i168":6,"i169":6,"i170":6,"i171":18,"i172":18,"i173":6,"i174":6,"i175":6,"i176":6,"i177":6,"i178":6,"i179":6,"i180":6,"i181":50,"i182":6,"i183":50,"i184":50,"i185":50,"i186":6,"i187":50,"i188":6,"i189":6,"i190":6,"i191":6,"i192":6,"i193":6,"i194":6,"i195":6,"i196":6,"i197":6,"i198":38,"i199":38,"i200":6,"i201":6,"i202":6,"i203":6,"i204":50,"i205":6,"i206":6,"i207":6,"i208":6,"i209":6,"i210":18}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -450,6 +450,14 @@ extends void +decommissionRegionServers(List<ServerName> servers, + boolean offload) +
Mark region server(s) as decommissioned to prevent additional regions from getting + assigned to them.
+ + + +void deleteColumn(TableName tableName, byte[] columnFamily)
Deprecated.  @@ -459,51 +467,51 @@ extends + void deleteColumnFamily(TableName tableName, byte[] columnFamily)
Delete a column family from a table.
- + Future<Void> deleteColumnFamilyAsync(TableName tableName, byte[] columnFamily)
Delete a column family from a table.
- + void deleteNamespace(String name)
Delete an existing namespace.
- + Future<Void> deleteNamespaceAsync(String name)
Delete an existing namespace.
- + void deleteSnapshot(byte[] snapshotName)
Delete an existing snapshot.
- + void deleteSnapshot(String snapshotName)
Delete an existing snapshot.
- + void deleteSnapshots(Pattern pattern)
Delete existing snapshots whose names match the pattern passed.
- + void deleteSnapshots(String regex)
Deprecated.  @@ -512,19 +520,19 @@ extends + void deleteTable(TableName tableName)
Deletes a table.
- + Future<Void> deleteTableAsync(TableName tableName)
Deletes the table but does not block and wait for it to be completely removed.
- + HTableDescriptor[] deleteTables(Pattern pattern)
Deprecated.  @@ -535,7 +543,7 @@ extends + HTableDescriptor[] deleteTables(String regex)
Deprecated.  @@ -546,7 +554,7 @@ extends + void deleteTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern) @@ -554,7 +562,7 @@ extends + void deleteTableSnapshots(String tableNameRegex, String snapshotNameRegex) @@ -564,31 +572,31 @@ extends + default void disableReplicationPeer(String peerId)
Stop the replication stream to the specified peer.
- + void disableTable(TableName tableName)
Disable table and wait on completion.
- + Future<Void> disableTableAsync(TableName tableName)
Disable the table but does not block and wait for it to be completely disabled.
- + void disableTableReplication(TableName tableName)
Disable a table's replication switch.
- + HTableDescriptor[] disableTables(Pattern pattern)
Deprecated.  @@ -599,7 +607,7 @@ extends + HTableDescriptor[] disableTables(String regex)
Deprecated.  @@ -610,12 +618,6 @@ extends -void -drainRegionServers(List<ServerName> servers) -
Mark a region server as draining to prevent additional regions from getting assigned to it.
- - default boolean enableCatalogJanitor(boolean enable) @@ -801,7 +803,7 @@ extends -int +default int getMasterInfoPort()
Get the info port of the current master if one is available.
@@ -1000,8 +1002,8 @@ extends List<ServerName> -listDrainingRegionServers() -
List region servers marked as draining to not get additional regions assigned to them.
+listDecommissionedRegionServers() +
List region servers marked as decommissioned, which can not be assigned regions.
@@ -1370,8 +1372,9 @@ extends void -removeDrainFromRegionServers(List<ServerName> servers) -
Remove drain from a region server to allow additional regions assignments.
+recommissionRegionServer(ServerName server, + List<byte[]> encodedRegionNames) +
Remove decommission marker from a region server to allow regions assignments.
@@ -5559,8 +5562,8 @@ void 
  • getMasterInfoPort

    -
    int getMasterInfoPort()
    -               throws IOException
    +
    default int getMasterInfoPort()
    +                       throws IOException
    Get the info port of the current master if one is available.
    Returns:
    @@ -5576,7 +5579,7 @@ void 
  • compact

    -
    void compact(TableName tableName,
    +
    void compact(TableName tableName,
                  CompactType compactType)
           throws IOException,
                  InterruptedException
    @@ -5599,7 +5602,7 @@ void 
  • compact

    -
    void compact(TableName tableName,
    +
    void compact(TableName tableName,
                  byte[] columnFamily,
                  CompactType compactType)
           throws IOException,
    @@ -5624,7 +5627,7 @@ void 
     
  • majorCompact

    -
    void majorCompact(TableName tableName,
    +
    void majorCompact(TableName tableName,
                       CompactType compactType)
                throws IOException,
                       InterruptedException
    @@ -5647,7 +5650,7 @@ void 
  • majorCompact

    -
    void majorCompact(TableName tableName,
    +
    void majorCompact(TableName tableName,
                       byte[] columnFamily,
                       CompactType compactType)
                throws IOException,
    @@ -5672,7 +5675,7 @@ void 
     
  • getCompactionState

    -
    CompactionState getCompactionState(TableName tableName,
    +
    CompactionState getCompactionState(TableName tableName,
                                        CompactType compactType)
                                 throws IOException
    Get the current compaction state of a table. It could be in a compaction, or none.
    @@ -5693,7 +5696,7 @@ void 
  • getSecurityCapabilities

    -
    List<SecurityCapabilitygetSecurityCapabilities()
    +
    List<SecurityCapabilitygetSecurityCapabilities()
                                               throws IOException
    Return the set of supported security capabilities.
    @@ -5710,7 +5713,7 @@ void 

    setSplitOrMergeEnabled

    @Deprecated
    -default boolean[] setSplitOrMergeEnabled(boolean enabled,
    +default boolean[] setSplitOrMergeEnabled(boolean enabled,
                                                          boolean synchronous,
                                                          MasterSwitchType... switchTypes)
                                                   throws IOException
    @@ -5735,7 +5738,7 @@ default boolean[] 
  • splitOrMergeEnabledSwitch

    -
    boolean[] splitOrMergeEnabledSwitch(boolean enabled,
    +
    boolean[] splitOrMergeEnabledSwitch(boolean enabled,
                                         boolean synchronous,
                                         MasterSwitchType... switchTypes)
                                  throws IOException
    @@ -5759,7 +5762,7 @@ default boolean[] 

    isSplitOrMergeEnabled

    @Deprecated
    -default boolean isSplitOrMergeEnabled(MasterSwitchType switchType)
    +default boolean isSplitOrMergeEnabled(MasterSwitchType switchType)
                                                throws IOException
    Deprecated. Since 2.0.0. Will be removed in 3.0.0. Use splitOrMergeEnabledSwitch(MasterSwitchType)} instead.
    @@ -5778,7 +5781,7 @@ default boolean 
  • splitOrMergeEnabledSwitch

    -
    boolean splitOrMergeEnabledSwitch(MasterSwitchType switchType)
    +
    boolean splitOrMergeEnabledSwitch(MasterSwitchType switchType)
                                throws IOException
    Query the current state of the switch.
    @@ -5795,7 +5798,7 @@ default boolean 
  • addReplicationPeer

    -
    default void addReplicationPeer(String peerId,
    +
    default void addReplicationPeer(String peerId,
                                     ReplicationPeerConfig peerConfig)
                              throws IOException
    Add a new replication peer for replicating data to slave cluster.
    @@ -5814,7 +5817,7 @@ default boolean 
  • removeReplicationPeer

    -
    default void removeReplicationPeer(String peerId)
    +
    default void removeReplicationPeer(String peerId)
                                 throws IOException
    Remove a peer and stop the replication.
    @@ -5831,7 +5834,7 @@ default boolean 
  • enableReplicationPeer

    -
    default void enableReplicationPeer(String peerId)
    +
    default void enableReplicationPeer(String peerId)
                                 throws IOException
    Restart the replication stream to the specified peer.
    @@ -5848,7 +5851,7 @@ default boolean 
  • disableReplicationPeer

    -
    default void disableReplicationPeer(String peerId)
    +
    default void disableReplicationPeer(String peerId)
                                  throws IOException
    Stop the replication stream to the specified peer.
    @@ -5865,7 +5868,7 @@ default boolean 
  • getReplicationPeerConfig

    -
    default ReplicationPeerConfig getReplicationPeerConfig(String peerId)
    +
    default ReplicationPeerConfig getReplicationPeerConfig(String peerId)
                                                     throws IOException
    Returns the configured ReplicationPeerConfig for the specified peer.
    @@ -5884,7 +5887,7 @@ default boolean 
  • updateReplicationPeerConfig

    -
    default void updateReplicationPeerConfig(String peerId,
    +
    default void updateReplicationPeerConfig(String peerId,
                                              ReplicationPeerConfig peerConfig)
                                       throws IOException
    Update the peerConfig for the specified peer.
    @@ -5903,7 +5906,7 @@ default boolean 
  • appendReplicationPeerTableCFs

    -
    default void appendReplicationPeerTableCFs(String id,
    +
    default void appendReplicationPeerTableCFs(String id,
                                                Map<TableName,? extends Collection<String>> tableCfs)
                                         throws ReplicationException,
                                                IOException
    @@ -5924,7 +5927,7 @@ default boolean 
  • removeReplicationPeerTableCFs

    -
    default void removeReplicationPeerTableCFs(String id,
    +
    default void removeReplicationPeerTableCFs(String id,
                                                Map<TableName,? extends Collection<String>> tableCfs)
                                         throws ReplicationException,
                                                IOException
    @@ -5945,7 +5948,7 @@ default boolean 
  • listReplicationPeers

    -
    default List<ReplicationPeerDescriptionlistReplicationPeers()
    +
    default List<ReplicationPeerDescriptionlistReplicationPeers()
                                                            throws IOException
    Return a list of replication peers.
    @@ -5963,7 +5966,7 @@ default boolean 

    listReplicationPeers

    @Deprecated
    -default List<ReplicationPeerDescriptionlistReplicationPeers(String regex)
    +default List<ReplicationPeerDescriptionlistReplicationPeers(String regex)
                                                                        throws IOException
    Deprecated. since 2.0 version and will be removed in 3.0 version. Use listReplicationPeers(Pattern) instead.
    @@ -5984,7 +5987,7 @@ default 
  • listReplicationPeers

    -
    default List<ReplicationPeerDescriptionlistReplicationPeers(Pattern pattern)
    +
    default List<ReplicationPeerDescriptionlistReplicationPeers(Pattern pattern)
                                                            throws IOException
    Return a list of replication peers.
    @@ -5997,52 +6000,61 @@ default  +
    • -

      drainRegionServers

      -
      void drainRegionServers(List<ServerName> servers)
      -                 throws IOException
      -
      Mark a region server as draining to prevent additional regions from getting assigned to it.
      +

      decommissionRegionServers

      +
      void decommissionRegionServers(List<ServerName> servers,
      +                               boolean offload)
      +                        throws IOException
      +
      Mark region server(s) as decommissioned to prevent additional regions from getting + assigned to them. Optionally unload the regions on the servers. If there are multiple servers + to be decommissioned, decommissioning them at the same time can prevent wasteful region + movements. Region unloading is asynchronous.
      Parameters:
      -
      servers - List of region servers to drain.
      +
      servers - The list of servers to decommission.
      +
      offload - True to offload the regions from the decommissioned servers
      Throws:
      IOException
    - + - +