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 49080200D10 for ; Sat, 9 Sep 2017 17:14:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 479BE1609BC; Sat, 9 Sep 2017 15:14:10 +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 261141609B3 for ; Sat, 9 Sep 2017 17:14:07 +0200 (CEST) Received: (qmail 38447 invoked by uid 500); 9 Sep 2017 15:14:00 -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 33706 invoked by uid 99); 9 Sep 2017 15:13:55 -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, 09 Sep 2017 15:13:55 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 39A2CF573A; Sat, 9 Sep 2017 15:13:55 +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, 09 Sep 2017 15:14:39 -0000 Message-Id: <0531f6ab40384b53b79e0895032f2d10@git.apache.org> In-Reply-To: <66995acc0cf745738afee05fa04155ea@git.apache.org> References: <66995acc0cf745738afee05fa04155ea@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [47/51] [partial] hbase-site git commit: Published site at . archived-at: Sat, 09 Sep 2017 15:14:10 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/1490b3ab/apidocs/org/apache/hadoop/hbase/ClusterStatus.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/ClusterStatus.html b/apidocs/org/apache/hadoop/hbase/ClusterStatus.html index 83f1f43..67155d7 100644 --- a/apidocs/org/apache/hadoop/hbase/ClusterStatus.html +++ b/apidocs/org/apache/hadoop/hbase/ClusterStatus.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":9,"i23":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":42,"i20":10,"i21":10,"i22":9,"i23":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -100,27 +100,18 @@ var activeTableTab = "activeTableTab";
  • java.lang.Object
    • -
    • org.apache.hadoop.io.VersionedWritable
    • -
    • -
      • org.apache.hadoop.hbase.ClusterStatus
    -
  • -
    • -
      -
      All Implemented Interfaces:
      -
      org.apache.hadoop.io.Writable
      -


      @InterfaceAudience.Public
      -public class ClusterStatus
      -extends org.apache.hadoop.io.VersionedWritable
      +public class ClusterStatus +extends Object
      Status information on the HBase cluster.

      ClusterStatus provides clients with information such as: @@ -137,26 +128,23 @@ extends org.apache.hadoop.io.VersionedWritable

    • Regions in transition at master
    • The unique cluster ID
    - ClusterStatus.Options provides a way to filter out infos which unwanted. - The following codes will retrieve all the cluster information. + ClusterStatus.Option provides a way to get desired ClusterStatus information. + The following codes will get all the cluster information.
      
      // Original version still works
      Admin admin = connection.getAdmin();
      ClusterStatus status = admin.getClusterStatus();
      // or below, a new version which has the same effects
    - ClusterStatus status = admin.getClusterStatus(Options.defaultOptions());
    + ClusterStatus status = admin.getClusterStatus(EnumSet.allOf(Option.class));
      
      
    - If information about dead servers and master coprocessors are unwanted, + If information about live servers is the only wanted. then codes in the following way:
      
      Admin admin = connection.getAdmin();
    - ClusterStatus status = admin.getClusterStatus(
    -                                Options.defaultOptions()
    -                                       .excludeDeadServers()
    -                                       .excludeMasterCoprocessors());
    + ClusterStatus status = admin.getClusterStatus(EnumSet.of(Option.LIVE_SERVERS));
      
      
    @@ -293,7 +281,11 @@ extends org.apache.hadoop.io.VersionedWritable byte -getVersion()  +getVersion() +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0
    +
    + int @@ -313,13 +305,6 @@ extends org.apache.hadoop.io.VersionedWritable
      -
    • - - -

      Methods inherited from class org.apache.hadoop.io.VersionedWritable

      -readFields, write
    • -
    - @@ -537,7 +522,7 @@ public int 
  • getMaster

    -
    public ServerName getMaster()
    +
    public ServerName getMaster()
    Returns detailed information about the current master ServerName.
    Returns:
    @@ -551,7 +536,7 @@ public int 
  • getBackupMastersSize

    -
    public int getBackupMastersSize()
    +
    public int getBackupMastersSize()
    Returns:
    the number of backup masters in the cluster
    @@ -564,7 +549,7 @@ public int 
  • getBackupMasters

    -
    public Collection<ServerNamegetBackupMasters()
    +
    public Collection<ServerNamegetBackupMasters()
    Returns:
    the names of backup masters
    @@ -577,7 +562,7 @@ public int 
  • getLoad

    -
    public ServerLoad getLoad(ServerName sn)
    +
    public ServerLoad getLoad(ServerName sn)
    Parameters:
    sn -
    @@ -592,7 +577,7 @@ public int 
  • getClusterId

    -
    public String getClusterId()
    +
    public String getClusterId()
  • @@ -601,7 +586,7 @@ public int 
  • getMasterCoprocessors

    -
    public String[] getMasterCoprocessors()
    +
    public String[] getMasterCoprocessors()
  • @@ -610,7 +595,7 @@ public int 
  • getLastMajorCompactionTsForTable

    -
    public long getLastMajorCompactionTsForTable(TableName table)
    +
    public long getLastMajorCompactionTsForTable(TableName table)
  • @@ -619,7 +604,7 @@ public int 
  • getLastMajorCompactionTsForRegion

    -
    public long getLastMajorCompactionTsForRegion(byte[] region)
    +
    public long getLastMajorCompactionTsForRegion(byte[] region)
  • @@ -628,7 +613,7 @@ public int 
  • isBalancerOn

    -
    public boolean isBalancerOn()
    +
    public boolean isBalancerOn()
  • @@ -637,7 +622,7 @@ public int 
  • getBalancerOn

    -
    public Boolean getBalancerOn()
    +
    public Boolean getBalancerOn()
  • @@ -646,7 +631,7 @@ public int 
  • toString

    -
    public String toString()
    +
    public String toString()
    Overrides:
    toString in class Object
    @@ -659,7 +644,7 @@ public int 
  • newBuilder

    -
    public static org.apache.hadoop.hbase.ClusterStatus.Builder newBuilder()
    +
    public static org.apache.hadoop.hbase.ClusterStatus.Builder newBuilder()
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/1490b3ab/apidocs/org/apache/hadoop/hbase/PleaseHoldException.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/PleaseHoldException.html b/apidocs/org/apache/hadoop/hbase/PleaseHoldException.html index f8246ab..29e200a 100644 --- a/apidocs/org/apache/hadoop/hbase/PleaseHoldException.html +++ b/apidocs/org/apache/hadoop/hbase/PleaseHoldException.html @@ -44,7 +44,7 @@