Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48FFA18423 for ; Tue, 26 Jan 2016 17:55:58 +0000 (UTC) Received: (qmail 16382 invoked by uid 500); 26 Jan 2016 17:55:57 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 16310 invoked by uid 500); 26 Jan 2016 17:55:57 -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 15784 invoked by uid 99); 26 Jan 2016 17:55:56 -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; Tue, 26 Jan 2016 17:55:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AB34AE020E; Tue, 26 Jan 2016 17:55:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: misty@apache.org To: commits@hbase.apache.org Date: Tue, 26 Jan 2016 17:56:05 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [10/18] hbase-site git commit: Published site at d6b3d838eba382f6b7734ca1f40fa58eb97a4f89. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c221e35e/testapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html ---------------------------------------------------------------------- diff --git a/testapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html b/testapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html index da9bc73..4a74f63 100644 --- a/testapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html +++ b/testapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html @@ -640,7 +640,7 @@ extends
  • MiniHBaseCluster

    -
    public MiniHBaseCluster(org.apache.hadoop.conf.Configuration conf,
    +
    public MiniHBaseCluster(org.apache.hadoop.conf.Configuration conf,
                     int numMasters,
                     int numRegionServers,
                     Class<? extends HMaster> masterClass,
    @@ -666,7 +666,7 @@ extends 
     
  • getConfiguration

    -
    public org.apache.hadoop.conf.Configuration getConfiguration()
    +
    public org.apache.hadoop.conf.Configuration getConfiguration()
  • @@ -675,7 +675,7 @@ extends
  • startRegionServer

    -
    public void startRegionServer(String hostname,
    +
    public void startRegionServer(String hostname,
                          int port)
                            throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -695,7 +695,7 @@ extends
  • killRegionServer

    -
    public void killRegionServer(ServerName serverName)
    +
    public void killRegionServer(ServerName serverName)
                           throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Kills the region server process if this is a distributed cluster, otherwise @@ -713,7 +713,7 @@ extends
  • stopRegionServer

    -
    public void stopRegionServer(ServerName serverName)
    +
    public void stopRegionServer(ServerName serverName)
                           throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Stops the given region server, by attempting a gradual stop.
    @@ -730,7 +730,7 @@ extends
  • waitForRegionServerToStop

    -
    public void waitForRegionServerToStop(ServerName serverName,
    +
    public void waitForRegionServerToStop(ServerName serverName,
                                  long timeout)
                                    throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -748,7 +748,7 @@ extends
  • startZkNode

    -
    public void startZkNode(String hostname,
    +
    public void startZkNode(String hostname,
                    int port)
                      throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -768,7 +768,7 @@ extends
  • killZkNode

    -
    public void killZkNode(ServerName serverName)
    +
    public void killZkNode(ServerName serverName)
                     throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Kills the zookeeper node process if this is a distributed cluster, otherwise, @@ -786,7 +786,7 @@ extends
  • stopZkNode

    -
    public void stopZkNode(ServerName serverName)
    +
    public void stopZkNode(ServerName serverName)
                     throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Stops the region zookeeper if this is a distributed cluster, otherwise @@ -804,7 +804,7 @@ extends
  • waitForZkNodeToStart

    -
    public void waitForZkNodeToStart(ServerName serverName,
    +
    public void waitForZkNodeToStart(ServerName serverName,
                             long timeout)
                               throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -822,7 +822,7 @@ extends
  • waitForZkNodeToStop

    -
    public void waitForZkNodeToStop(ServerName serverName,
    +
    public void waitForZkNodeToStop(ServerName serverName,
                            long timeout)
                              throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -840,7 +840,7 @@ extends
  • startDataNode

    -
    public void startDataNode(ServerName serverName)
    +
    public void startDataNode(ServerName serverName)
                        throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Starts a new datanode on the given hostname or if this is a mini/local cluster, @@ -858,7 +858,7 @@ extends
  • killDataNode

    -
    public void killDataNode(ServerName serverName)
    +
    public void killDataNode(ServerName serverName)
                       throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Kills the datanode process if this is a distributed cluster, otherwise, @@ -876,7 +876,7 @@ extends
  • stopDataNode

    -
    public void stopDataNode(ServerName serverName)
    +
    public void stopDataNode(ServerName serverName)
                       throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Stops the datanode if this is a distributed cluster, otherwise @@ -894,7 +894,7 @@ extends
  • waitForDataNodeToStart

    -
    public void waitForDataNodeToStart(ServerName serverName,
    +
    public void waitForDataNodeToStart(ServerName serverName,
                               long timeout)
                                 throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -912,7 +912,7 @@ extends
  • waitForDataNodeToStop

    -
    public void waitForDataNodeToStop(ServerName serverName,
    +
    public void waitForDataNodeToStop(ServerName serverName,
                              long timeout)
                                throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -930,7 +930,7 @@ extends
  • startMaster

    -
    public void startMaster(String hostname,
    +
    public void startMaster(String hostname,
                    int port)
                      throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -950,7 +950,7 @@ extends
  • killMaster

    -
    public void killMaster(ServerName serverName)
    +
    public void killMaster(ServerName serverName)
                     throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Kills the master process if this is a distributed cluster, otherwise, @@ -968,7 +968,7 @@ extends
  • stopMaster

    -
    public void stopMaster(ServerName serverName)
    +
    public void stopMaster(ServerName serverName)
                     throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Stops the given master, by attempting a gradual stop.
    @@ -985,7 +985,7 @@ extends
  • waitForMasterToStop

    -
    public void waitForMasterToStop(ServerName serverName,
    +
    public void waitForMasterToStop(ServerName serverName,
                            long timeout)
                              throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -1003,7 +1003,7 @@ extends
  • startRegionServer

    -
    public JVMClusterUtil.RegionServerThread startRegionServer()
    +
    public JVMClusterUtil.RegionServerThread startRegionServer()
                                                         throws IOException
    Starts a region server thread running
    Returns:
    New RegionServerThread
    @@ -1017,7 +1017,7 @@ extends
  • abortRegionServer

    -
    public String abortRegionServer(int serverNumber)
    +
    public String abortRegionServer(int serverNumber)
    Cause a region server to exit doing basic clean up only on its way out.
    Parameters:
    serverNumber - Used as index into a list.
  • @@ -1028,7 +1028,7 @@ extends
  • stopRegionServer

    -
    public JVMClusterUtil.RegionServerThread stopRegionServer(int serverNumber)
    +
    public JVMClusterUtil.RegionServerThread stopRegionServer(int serverNumber)
    Shut down the specified region server cleanly
    Parameters:
    serverNumber - Used as index into a list.
    Returns:
    the region server that was stopped
    @@ -1040,7 +1040,7 @@ extends
  • stopRegionServer

    -
    public JVMClusterUtil.RegionServerThread stopRegionServer(int serverNumber,
    +
    public JVMClusterUtil.RegionServerThread stopRegionServer(int serverNumber,
                                                      boolean shutdownFS)
    Shut down the specified region server cleanly
    Parameters:
    serverNumber - Used as index into a list.
    shutdownFS - True is we are to shutdown the filesystem as part of this @@ -1056,7 +1056,7 @@ extends
  • waitOnRegionServer

    -
    public String waitOnRegionServer(int serverNumber)
    +
    public String waitOnRegionServer(int serverNumber)
    Wait for the specified region server to stop. Removes this thread from list of running threads.
    Parameters:
    serverNumber -
    @@ -1069,7 +1069,7 @@ extends
  • startMaster

    -
    public JVMClusterUtil.MasterThread startMaster()
    +
    public JVMClusterUtil.MasterThread startMaster()
                                             throws IOException
    Starts a master thread running
    Returns:
    New RegionServerThread
    @@ -1083,7 +1083,7 @@ extends
  • getMasterAdminService

    -
    public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface getMasterAdminService()
    +
    public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface getMasterAdminService()
    Returns the current active master, if available.
    Specified by:
    @@ -1097,7 +1097,7 @@ extends
  • getMaster

    -
    public HMaster getMaster()
    +
    public HMaster getMaster()
    Returns the current active master, if available.
    Returns:
    the active HMaster, null if none is active.
  • @@ -1108,7 +1108,7 @@ extends
  • getMasterThread

    -
    public JVMClusterUtil.MasterThread getMasterThread()
    +
    public JVMClusterUtil.MasterThread getMasterThread()
    Returns the current active master thread, if available.
    Returns:
    the active MasterThread, null if none is active.
  • @@ -1119,7 +1119,7 @@ extends
  • getMaster

    -
    public HMaster getMaster(int serverNumber)
    +
    public HMaster getMaster(int serverNumber)
    Returns the master at the specified index, if available.
    Returns:
    the active HMaster, null if none is active.
  • @@ -1130,7 +1130,7 @@ extends
  • abortMaster

    -
    public String abortMaster(int serverNumber)
    +
    public String abortMaster(int serverNumber)
    Cause a master to exit without shutting down entire cluster.
    Parameters:
    serverNumber - Used as index into a list.
  • @@ -1141,7 +1141,7 @@ extends
  • stopMaster

    -
    public JVMClusterUtil.MasterThread stopMaster(int serverNumber)
    +
    public JVMClusterUtil.MasterThread stopMaster(int serverNumber)
    Shut down the specified master cleanly
    Parameters:
    serverNumber - Used as index into a list.
    Returns:
    the region server that was stopped
    @@ -1153,7 +1153,7 @@ extends
  • stopMaster

    -
    public JVMClusterUtil.MasterThread stopMaster(int serverNumber,
    +
    public JVMClusterUtil.MasterThread stopMaster(int serverNumber,
                                          boolean shutdownFS)
    Shut down the specified master cleanly
    Parameters:
    serverNumber - Used as index into a list.
    shutdownFS - True is we are to shutdown the filesystem as part of this @@ -1169,7 +1169,7 @@ extends
  • waitOnMaster

    -
    public String waitOnMaster(int serverNumber)
    +
    public String waitOnMaster(int serverNumber)
    Wait for the specified master to stop. Removes this thread from list of running threads.
    Parameters:
    serverNumber -
    @@ -1182,7 +1182,7 @@ extends
  • waitForActiveAndReadyMaster

    -
    public boolean waitForActiveAndReadyMaster(long timeout)
    +
    public boolean waitForActiveAndReadyMaster(long timeout)
                                         throws IOException
    Blocks until there is an active master and that master has completed initialization.
    @@ -1203,7 +1203,7 @@ extends
  • getMasterThreads

    -
    public List<JVMClusterUtil.MasterThreadgetMasterThreads()
    +
    public List<JVMClusterUtil.MasterThreadgetMasterThreads()
    Returns:
    List of master threads.
  • @@ -1213,7 +1213,7 @@ extends
  • getLiveMasterThreads

    -
    public List<JVMClusterUtil.MasterThreadgetLiveMasterThreads()
    +
    public List<JVMClusterUtil.MasterThreadgetLiveMasterThreads()
    Returns:
    List of live master threads (skips the aborted and the killed)
  • @@ -1223,7 +1223,7 @@ extends
  • join

    -
    public void join()
    +
    public void join()
    Wait for Mini HBase Cluster to shut down.
  • @@ -1233,7 +1233,7 @@ extends
  • shutdown

    -
    public void shutdown()
    +
    public void shutdown()
                   throws IOException
    Shut down the mini HBase cluster
    @@ -1249,7 +1249,7 @@ extends
  • close

    -
    public void close()
    +
    public void close()
                throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Closes all the resources held open for this cluster. Note that this call does not shutdown @@ -1271,7 +1271,7 @@ extends
  • getClusterStatus

    -
    public ClusterStatus getClusterStatus()
    +
    public ClusterStatus getClusterStatus()
                                    throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Returns a ClusterStatus for this HBase cluster.
    @@ -1288,7 +1288,7 @@ extends
  • flushcache

    -
    public void flushcache()
    +
    public void flushcache()
                     throws IOException
    Call flushCache on all regions on all participating regionservers.
    Throws:
    @@ -1301,7 +1301,7 @@ extends
  • flushcache

    -
    public void flushcache(TableName tableName)
    +
    public void flushcache(TableName tableName)
                     throws IOException
    Call flushCache on all regions of the specified table.
    Throws:
    @@ -1314,7 +1314,7 @@ extends
  • compact

    -
    public void compact(boolean major)
    +
    public void compact(boolean major)
                  throws IOException
    Call flushCache on all regions on all participating regionservers.
    Throws:
    @@ -1327,7 +1327,7 @@ extends
  • compact

    -
    public void compact(TableName tableName,
    +
    public void compact(TableName tableName,
                boolean major)
                  throws IOException
    Call flushCache on all regions of the specified table.
    @@ -1341,7 +1341,7 @@ extends
  • getRegionServerThreads

    -
    public List<JVMClusterUtil.RegionServerThreadgetRegionServerThreads()
    +
    public List<JVMClusterUtil.RegionServerThreadgetRegionServerThreads()
    Returns:
    List of region server threads.
  • @@ -1351,7 +1351,7 @@ extends
  • getLiveRegionServerThreads

    -
    public List<JVMClusterUtil.RegionServerThreadgetLiveRegionServerThreads()
    +
    public List<JVMClusterUtil.RegionServerThreadgetLiveRegionServerThreads()
    Returns:
    List of live region server threads (skips the aborted and the killed)
  • @@ -1361,7 +1361,7 @@ extends
  • getRegionServer

    -
    public HRegionServer getRegionServer(int serverNumber)
    +
    public HRegionServer getRegionServer(int serverNumber)
    Grab a numbered region server of your choice.
    Parameters:
    serverNumber -
    Returns:
    region server
    @@ -1373,7 +1373,7 @@ extends
  • getRegions

    -
    public List<HRegiongetRegions(byte[] tableName)
    +
    public List<HRegiongetRegions(byte[] tableName)
  • @@ -1382,7 +1382,7 @@ extends
  • getRegions

    -
    public List<HRegiongetRegions(TableName tableName)
    +
    public List<HRegiongetRegions(TableName tableName)
  • @@ -1391,7 +1391,7 @@ extends
  • getServerWithMeta

    -
    public int getServerWithMeta()
    +
    public int getServerWithMeta()
    Returns:
    Index into List of getRegionServerThreads() of HRS carrying regionName. Returns -1 if none found.
  • @@ -1402,7 +1402,7 @@ extends
  • getServerWith

    -
    public int getServerWith(byte[] regionName)
    +
    public int getServerWith(byte[] regionName)
    Get the location of the specified region
    Parameters:
    regionName - Name of the region in bytes
    Returns:
    Index into List of getRegionServerThreads() @@ -1415,7 +1415,7 @@ extends
  • getServerHoldingRegion

    -
    public ServerName getServerHoldingRegion(TableName tn,
    +
    public ServerName getServerHoldingRegion(TableName tn,
                                     byte[] regionName)
                                       throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    @@ -1435,7 +1435,7 @@ extends
  • countServedRegions

    -
    public long countServedRegions()
    +
    public long countServedRegions()
    Counts the total numbers of regions being served by the currently online region servers by asking each how many regions they have. Does not look at hbase:meta at all. Count includes catalog tables.
    @@ -1448,7 +1448,7 @@ extends
  • killAll

    -
    public void killAll()
    +
    public void killAll()
    Do a simulated kill all masters and regionservers. Useful when it is impossible to bring the mini-cluster back for clean shutdown.
  • @@ -1459,7 +1459,7 @@ extends
  • waitUntilShutDown

    -
    public void waitUntilShutDown()
    +
    public void waitUntilShutDown()
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Wait for HBase Cluster to shut down.
    @@ -1474,7 +1474,7 @@ extends
  • findRegionsForTable

    -
    public List<HRegionfindRegionsForTable(TableName tableName)
    +
    public List<HRegionfindRegionsForTable(TableName tableName)
  • @@ -1483,7 +1483,7 @@ extends
  • getRegionServerIndex

    -
    protected int getRegionServerIndex(ServerName serverName)
    +
    protected int getRegionServerIndex(ServerName serverName)
  • @@ -1492,7 +1492,7 @@ extends
  • getMasterIndex

    -
    protected int getMasterIndex(ServerName serverName)
    +
    protected int getMasterIndex(ServerName serverName)
  • @@ -1501,7 +1501,7 @@ extends
  • getAdminProtocol

    -
    public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdminProtocol(ServerName serverName)
    +
    public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdminProtocol(ServerName serverName)
                                                                                                            throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Returns an AdminProtocol interface to the regionserver
    @@ -1518,7 +1518,7 @@ extends
  • getClientProtocol

    -
    public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClientProtocol(ServerName serverName)
    +
    public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClientProtocol(ServerName serverName)
                                                                                                               throws IOException
    Description copied from class: org.apache.hadoop.hbase.HBaseCluster
    Returns a ClientProtocol interface to the regionserver