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 D2C95200CC1 for ; Mon, 10 Jul 2017 17:02:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D14461646DF; Mon, 10 Jul 2017 15:02:28 +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 845C4162F07 for ; Mon, 10 Jul 2017 17:02:27 +0200 (CEST) Received: (qmail 50917 invoked by uid 500); 10 Jul 2017 15:02:21 -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 48284 invoked by uid 99); 10 Jul 2017 15:02:18 -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; Mon, 10 Jul 2017 15:02:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 59D95F553D; Mon, 10 Jul 2017 15:02:17 +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: Mon, 10 Jul 2017 15:03:05 -0000 Message-Id: In-Reply-To: <4e9e25cd2e164b51a050e6349f88158b@git.apache.org> References: <4e9e25cd2e164b51a050e6349f88158b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [50/51] [partial] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd. archived-at: Mon, 10 Jul 2017 15:02:29 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0821e51a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncAdmin.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncAdmin.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncAdmin.html index cdfccb8..e303773 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncAdmin.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncAdmin.html @@ -832,154 +832,182 @@ 824 } 825 826 /** -827 * Get a list of {@link RegionLoad} of all regions hosted on a region seerver for a table. -828 * @param serverName -829 * @param tableName -830 * @return a list of {@link RegionLoad} wrapped by {@link CompletableFuture} -831 */ -832 CompletableFuture<List<RegionLoad>> getRegionLoads(ServerName serverName, -833 Optional<TableName> tableName); -834 -835 /** -836 * Check whether master is in maintenance mode -837 * @return true if master is in maintenance mode, false otherwise. The return value will be -838 * wrapped by a {@link CompletableFuture} +827 * Shuts down the HBase cluster. +828 */ +829 CompletableFuture<Void> shutdown(); +830 +831 /** +832 * Shuts down the current HBase master only. +833 */ +834 CompletableFuture<Void> stopMaster(); +835 +836 /** +837 * Stop the designated regionserver. +838 * @param serverName 839 */ -840 CompletableFuture<Boolean> isMasterInMaintenanceMode(); +840 CompletableFuture<Void> stopRegionServer(ServerName serverName); 841 842 /** -843 * Get the current compaction state of a table. It could be in a major compaction, a minor -844 * compaction, both, or none. -845 * @param tableName table to examine -846 * @return the current compaction state wrapped by a {@link CompletableFuture} -847 */ -848 CompletableFuture<CompactionState> getCompactionState(TableName tableName); -849 -850 /** -851 * Get the current compaction state of region. It could be in a major compaction, a minor -852 * compaction, both, or none. -853 * @param regionName region to examine -854 * @return the current compaction state wrapped by a {@link CompletableFuture} -855 */ -856 CompletableFuture<CompactionState> getCompactionStateForRegion(byte[] regionName); -857 -858 /** -859 * Get the timestamp of the last major compaction for the passed table. -860 * <p> -861 * The timestamp of the oldest HFile resulting from a major compaction of that table, or not -862 * present if no such HFile could be found. -863 * @param tableName table to examine -864 * @return the last major compaction timestamp wrapped by a {@link CompletableFuture} -865 */ -866 CompletableFuture<Optional<Long>> getLastMajorCompactionTimestamp(TableName tableName); -867 -868 /** -869 * Get the timestamp of the last major compaction for the passed region. -870 * <p> -871 * The timestamp of the oldest HFile resulting from a major compaction of that region, or not -872 * present if no such HFile could be found. -873 * @param regionName region to examine -874 * @return the last major compaction timestamp wrapped by a {@link CompletableFuture} +843 * Update the configuration and trigger an online config change on the regionserver. +844 * @param serverName : The server whose config needs to be updated. +845 */ +846 CompletableFuture<Void> updateConfiguration(ServerName serverName); +847 +848 /** +849 * Update the configuration and trigger an online config change on all the masters and +850 * regionservers. +851 */ +852 CompletableFuture<Void> updateConfiguration(); +853 +854 /** +855 * Get a list of {@link RegionLoad} of all regions hosted on a region seerver for a table. +856 * @param serverName +857 * @param tableName +858 * @return a list of {@link RegionLoad} wrapped by {@link CompletableFuture} +859 */ +860 CompletableFuture<List<RegionLoad>> getRegionLoads(ServerName serverName, +861 Optional<TableName> tableName); +862 +863 /** +864 * Check whether master is in maintenance mode +865 * @return true if master is in maintenance mode, false otherwise. The return value will be +866 * wrapped by a {@link CompletableFuture} +867 */ +868 CompletableFuture<Boolean> isMasterInMaintenanceMode(); +869 +870 /** +871 * Get the current compaction state of a table. It could be in a major compaction, a minor +872 * compaction, both, or none. +873 * @param tableName table to examine +874 * @return the current compaction state wrapped by a {@link CompletableFuture} 875 */ -876 CompletableFuture<Optional<Long>> getLastMajorCompactionTimestampForRegion(byte[] regionName); +876 CompletableFuture<CompactionState> getCompactionState(TableName tableName); 877 878 /** -879 * Turn the load balancer on or off. -880 * @param on -881 * @return Previous balancer value wrapped by a {@link CompletableFuture}. -882 */ -883 CompletableFuture<Boolean> setBalancerOn(boolean on); -884 -885 /** -886 * Invoke the balancer. Will run the balancer and if regions to move, it will go ahead and do the -887 * reassignments. Can NOT run for various reasons. Check logs. -888 * @return True if balancer ran, false otherwise. The return value will be wrapped by a -889 * {@link CompletableFuture}. -890 */ -891 default CompletableFuture<Boolean> balance() { -892 return balance(false); -893 } -894 -895 /** -896 * Invoke the balancer. Will run the balancer and if regions to move, it will go ahead and do the -897 * reassignments. If there is region in transition, force parameter of true would still run -898 * balancer. Can *not* run for other reasons. Check logs. -899 * @param forcible whether we should force balance even if there is region in transition. -900 * @return True if balancer ran, false otherwise. The return value will be wrapped by a -901 * {@link CompletableFuture}. -902 */ -903 CompletableFuture<Boolean> balance(boolean forcible); -904 -905 /** -906 * Query the current state of the balancer. -907 * @return true if the balance switch is on, false otherwise. The return value will be wrapped by a -908 * {@link CompletableFuture}. -909 */ -910 CompletableFuture<Boolean> isBalancerOn(); -911 -912 /** -913 * Set region normalizer on/off. -914 * @param on whether normalizer should be on or off -915 * @return Previous normalizer value wrapped by a {@link CompletableFuture} -916 */ -917 CompletableFuture<Boolean> setNormalizerOn(boolean on); -918 -919 /** -920 * Query the current state of the region normalizer -921 * @return true if region normalizer is on, false otherwise. The return value will be wrapped by a -922 * {@link CompletableFuture} -923 */ -924 CompletableFuture<Boolean> isNormalizerOn(); -925 -926 /** -927 * Invoke region normalizer. Can NOT run for various reasons. Check logs. -928 * @return true if region normalizer ran, false otherwise. The return value will be wrapped by a -929 * {@link CompletableFuture} +879 * Get the current compaction state of region. It could be in a major compaction, a minor +880 * compaction, both, or none. +881 * @param regionName region to examine +882 * @return the current compaction state wrapped by a {@link CompletableFuture} +883 */ +884 CompletableFuture<CompactionState> getCompactionStateForRegion(byte[] regionName); +885 +886 /** +887 * Get the timestamp of the last major compaction for the passed table. +888 * <p> +889 * The timestamp of the oldest HFile resulting from a major compaction of that table, or not +890 * present if no such HFile could be found. +891 * @param tableName table to examine +892 * @return the last major compaction timestamp wrapped by a {@link CompletableFuture} +893 */ +894 CompletableFuture<Optional<Long>> getLastMajorCompactionTimestamp(TableName tableName); +895 +896 /** +897 * Get the timestamp of the last major compaction for the passed region. +898 * <p> +899 * The timestamp of the oldest HFile resulting from a major compaction of that region, or not +900 * present if no such HFile could be found. +901 * @param regionName region to examine +902 * @return the last major compaction timestamp wrapped by a {@link CompletableFuture} +903 */ +904 CompletableFuture<Optional<Long>> getLastMajorCompactionTimestampForRegion(byte[] regionName); +905 +906 /** +907 * Turn the load balancer on or off. +908 * @param on +909 * @return Previous balancer value wrapped by a {@link CompletableFuture}. +910 */ +911 CompletableFuture<Boolean> setBalancerOn(boolean on); +912 +913 /** +914 * Invoke the balancer. Will run the balancer and if regions to move, it will go ahead and do the +915 * reassignments. Can NOT run for various reasons. Check logs. +916 * @return True if balancer ran, false otherwise. The return value will be wrapped by a +917 * {@link CompletableFuture}. +918 */ +919 default CompletableFuture<Boolean> balance() { +920 return balance(false); +921 } +922 +923 /** +924 * Invoke the balancer. Will run the balancer and if regions to move, it will go ahead and do the +925 * reassignments. If there is region in transition, force parameter of true would still run +926 * balancer. Can *not* run for other reasons. Check logs. +927 * @param forcible whether we should force balance even if there is region in transition. +928 * @return True if balancer ran, false otherwise. The return value will be wrapped by a +929 * {@link CompletableFuture}. 930 */ -931 CompletableFuture<Boolean> normalize(); +931 CompletableFuture<Boolean> balance(boolean forcible); 932 933 /** -934 * Turn the cleaner chore on/off. -935 * @param on -936 * @return Previous cleaner state wrapped by a {@link CompletableFuture} +934 * Query the current state of the balancer. +935 * @return true if the balance switch is on, false otherwise. The return value will be wrapped by a +936 * {@link CompletableFuture}. 937 */ -938 CompletableFuture<Boolean> setCleanerChoreOn(boolean on); +938 CompletableFuture<Boolean> isBalancerOn(); 939 940 /** -941 * Query the current state of the cleaner chore. -942 * @return true if cleaner chore is on, false otherwise. The return value will be wrapped by -943 * a {@link CompletableFuture} +941 * Set region normalizer on/off. +942 * @param on whether normalizer should be on or off +943 * @return Previous normalizer value wrapped by a {@link CompletableFuture} 944 */ -945 CompletableFuture<Boolean> isCleanerChoreOn(); +945 CompletableFuture<Boolean> setNormalizerOn(boolean on); 946 947 /** -948 * Ask for cleaner chore to run. -949 * @return true if cleaner chore ran, false otherwise. The return value will be wrapped by a +948 * Query the current state of the region normalizer +949 * @return true if region normalizer is on, false otherwise. The return value will be wrapped by a 950 * {@link CompletableFuture} 951 */ -952 CompletableFuture<Boolean> runCleanerChore(); +952 CompletableFuture<Boolean> isNormalizerOn(); 953 954 /** -955 * Turn the catalog janitor on/off. -956 * @param on -957 * @return the previous state wrapped by a {@link CompletableFuture} +955 * Invoke region normalizer. Can NOT run for various reasons. Check logs. +956 * @return true if region normalizer ran, false otherwise. The return value will be wrapped by a +957 * {@link CompletableFuture} 958 */ -959 CompletableFuture<Boolean> setCatalogJanitorOn(boolean on); +959 CompletableFuture<Boolean> normalize(); 960 961 /** -962 * Query on the catalog janitor state. -963 * @return true if the catalog janitor is on, false otherwise. The return value will be -964 * wrapped by a {@link CompletableFuture} +962 * Turn the cleaner chore on/off. +963 * @param on +964 * @return Previous cleaner state wrapped by a {@link CompletableFuture} 965 */ -966 CompletableFuture<Boolean> isCatalogJanitorOn(); +966 CompletableFuture<Boolean> setCleanerChoreOn(boolean on); 967 968 /** -969 * Ask for a scan of the catalog table. -970 * @return the number of entries cleaned. The return value will be wrapped by a -971 * {@link CompletableFuture} +969 * Query the current state of the cleaner chore. +970 * @return true if cleaner chore is on, false otherwise. The return value will be wrapped by +971 * a {@link CompletableFuture} 972 */ -973 CompletableFuture<Integer> runCatalogJanitor(); -974} +973 CompletableFuture<Boolean> isCleanerChoreOn(); +974 +975 /** +976 * Ask for cleaner chore to run. +977 * @return true if cleaner chore ran, false otherwise. The return value will be wrapped by a +978 * {@link CompletableFuture} +979 */ +980 CompletableFuture<Boolean> runCleanerChore(); +981 +982 /** +983 * Turn the catalog janitor on/off. +984 * @param on +985 * @return the previous state wrapped by a {@link CompletableFuture} +986 */ +987 CompletableFuture<Boolean> setCatalogJanitorOn(boolean on); +988 +989 /** +990 * Query on the catalog janitor state. +991 * @return true if the catalog janitor is on, false otherwise. The return value will be +992 * wrapped by a {@link CompletableFuture} +993 */ +994 CompletableFuture<Boolean> isCatalogJanitorOn(); +995 +996 /** +997 * Ask for a scan of the catalog table. +998 * @return the number of entries cleaned. The return value will be wrapped by a +999 * {@link CompletableFuture} +1000 */ +1001 CompletableFuture<Integer> runCatalogJanitor(); +1002} http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0821e51a/bulk-loads.html ---------------------------------------------------------------------- diff --git a/bulk-loads.html b/bulk-loads.html index 8855f5e..d662593 100644 --- a/bulk-loads.html +++ b/bulk-loads.html @@ -7,7 +7,7 @@ - + Apache HBase – Bulk Loads in Apache HBase (TM) @@ -311,7 +311,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-07-09</li> + <li id="publishDate" class="pull-right">Last Published: 2017-07-10</li> </p> </div>