[27/35] hbase-site git commit: Published site at 8cc56bd18c40ba9a7131336e97c74f8d97d8b2be.

2018-10-17 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperMonitor.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperMonitor.html 
b/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperMonitor.html
index 723d68b..957594e 100644
--- a/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperMonitor.html
+++ b/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperMonitor.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-private static class Canary.ZookeeperMonitor
+private static class Canary.ZookeeperMonitor
 extends Canary.Monitor
 
 
@@ -178,10 +178,10 @@ extends 
 protected 
-ZookeeperMonitor(Connection connection,
+ZookeeperMonitor(Connection connection,
 https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String[] monitorTargets,
 boolean useRegExp,
-Canary.StdOutSink sink,
+Canary.Sink sink,
 https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true";
 title="class or interface in 
java.util.concurrent">ExecutorService executor,
 boolean treatFailureAsError,
 long allowedFailures) 
@@ -244,7 +244,7 @@ extends 
 
 hosts
-private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListString> hosts
+private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListString> hosts
 
 
 
@@ -253,7 +253,7 @@ extends 
 
 znode
-private final https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String znode
+private final https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String znode
 
 
 
@@ -262,7 +262,7 @@ extends 
 
 timeout
-private final int timeout
+private final int timeout
 
 
 
@@ -273,16 +273,16 @@ extends 
+
 
 
 
 
 ZookeeperMonitor
-protected ZookeeperMonitor(Connection connection,
+protected ZookeeperMonitor(Connection connection,
https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String[] monitorTargets,
boolean useRegExp,
-   Canary.StdOutSink sink,
+   Canary.Sink sink,
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true";
 title="class or interface in 
java.util.concurrent">ExecutorService executor,
boolean treatFailureAsError,
long allowedFailures)
@@ -302,7 +302,7 @@ extends 
 
 run
-public void run()
+public void run()
 
 Specified by:
 https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true#run--";
 title="class or interface in java.lang">run in 
interface https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true";
 title="class or interface in java.lang">Runnable
@@ -317,7 +317,7 @@ extends 
 
 getSink
-private Canary.ZookeeperStdOutSink getSink()
+private Canary.ZookeeperStdOutSink getSink()
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperStdOutSink.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperStdOutSink.html 
b/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperStdOutSink.html
index 62cbf99..c48427a 100644
--- a/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperStdOutSink.html
+++ b/devapidocs/org/apache/hadoop/hbase/tool/Canary.ZookeeperStdOutSink.html
@@ -122,8 +122,9 @@ var activeTableTab = "activeTableTab";
 
 
 
-public static class Canary.ZookeeperStdOutSink
+public static class Canary.ZookeeperStdOutSink
 extends Canary.StdOutSink
+Output for 'zookeeper' mode.
 
 
 
@@ -161,7 +162,7 @@ extends 
 void
-publishReadFailure(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String zNode,
+publishReadFailure(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String znode,
   https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";

[27/35] hbase-site git commit: Published site at 42d5447cfbc593becfc26684e03f482eb3a0fc49.

2018-04-17 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/RpcThrottlingException.Type.html
--
diff --git 
a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/RpcThrottlingException.Type.html
 
b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/RpcThrottlingException.Type.html
new file mode 100644
index 000..d589905
--- /dev/null
+++ 
b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/RpcThrottlingException.Type.html
@@ -0,0 +1,203 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+Source code
+
+
+
+
+001/**
+002 * Licensed to the Apache Software 
Foundation (ASF) under one or more contributor license
+003 * agreements. See the NOTICE file 
distributed with this work for additional information regarding
+004 * copyright ownership. The ASF licenses 
this file to you under the Apache License, Version 2.0 (the
+005 * "License"); you may not use this file 
except in compliance with the License. You may obtain a
+006 * copy of the License at 
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
+007 * law or agreed to in writing, software 
distributed under the License is distributed on an "AS IS"
+008 * BASIS, WITHOUT WARRANTIES OR 
CONDITIONS OF ANY KIND, either express or implied. See the License
+009 * for the specific language governing 
permissions and limitations under the License.
+010 */
+011
+012package org.apache.hadoop.hbase.quotas;
+013
+014import java.util.regex.Matcher;
+015import java.util.regex.Pattern;
+016import 
org.apache.hadoop.hbase.HBaseIOException;
+017import 
org.apache.hadoop.util.StringUtils;
+018
+019import 
org.apache.yetus.audience.InterfaceAudience;
+020
+021/**
+022 * Describe the throttling result. TODO: 
At some point this will be handled on the client side to
+023 * prevent operation to go on the server 
if the waitInterval is greater than the one got as result
+024 * of this exception.
+025 */
+026@InterfaceAudience.Public
+027public class RpcThrottlingException 
extends HBaseIOException {
+028
+029  @InterfaceAudience.Public
+030  public enum Type {
+031NumRequestsExceeded, 
RequestSizeExceeded, NumReadRequestsExceeded, NumWriteRequestsExceeded,
+032WriteSizeExceeded, 
ReadSizeExceeded,
+033  }
+034
+035  private static final String[] MSG_TYPE 
=
+036  new String[] { "number of requests 
exceeded", "request size limit exceeded",
+037"number of read requests 
exceeded", "number of write requests exceeded",
+038"write size limit exceeded", 
"read size limit exceeded", };
+039
+040  private static final String MSG_WAIT = 
" - wait ";
+041
+042  private long waitInterval;
+043  private Type type;
+044
+045  public RpcThrottlingException(String 
msg) {
+046super(msg);
+047
+048// Dirty workaround to get the 
information after
+049// 
((RemoteException)e.getCause()).unwrapRemoteException()
+050for (int i = 0; i < 
MSG_TYPE.length; ++i) {
+051  int index = 
msg.indexOf(MSG_TYPE[i]);
+052  if (index >= 0) {
+053String waitTimeStr = 
msg.substring(index + MSG_TYPE[i].length() + MSG_WAIT.length());
+054type = Type.values()[i];
+055waitInterval = 
timeFromString(waitTimeStr);
+056break;
+057  }
+058}
+059  }
+060
+061  public RpcThrottlingException(final 
Type type, final long waitInterval, final String msg) {
+062super(msg);
+063this.waitInterval = waitInterval;
+064this.type = type;
+065  }
+066
+067  public Type getType() {
+068return this.type;
+069  }
+070
+071  public long getWaitInterval() {
+072return this.waitInterval;
+073  }
+074
+075  public static void 
throwNumRequestsExceeded(final long waitInterval) throws
+076  RpcThrottlingException {
+077
throwThrottlingException(Type.NumRequestsExceeded, waitInterval);
+078  }
+079
+080  public static void 
throwRequestSizeExceeded(final long waitInterval)
+081  throws RpcThrottlingException {
+082
throwThrottlingException(Type.RequestSizeExceeded, waitInterval);
+083  }
+084
+085  public static void 
throwNumReadRequestsExceeded(final long waitInterval)
+086  throws RpcThrottlingException {
+087
throwThrottlingException(Type.NumReadRequestsExceeded, waitInterval);
+088  }
+089
+090  public static void 
throwNumWriteRequestsExceeded(final long waitInterval)
+091  throws RpcThrottlingException {
+092
throwThrottlingException(Type.NumWriteRequestsExceeded, waitInterval);
+093  }
+094
+095  public static void 
throwWriteSizeExceeded(final long waitInterval) throws RpcThrottlingException 
{
+096
throwThrottlingException(Type.WriteSizeExceeded, waitInterval);
+097  }
+098
+099  public static void 
throwReadSizeExceeded(final long waitInterval) throws RpcThrottlingException 
{
+100
throwThrottlingException(Type.ReadSizeExceeded, waitInterval);
+101  }
+102
+103  private static void 
throwThrottlingException(final Type type, final long wait

[27/35] hbase-site git commit: Published site at .

2018-02-05 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04d647a7/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.WorkItemRegion.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.WorkItemRegion.html 
b/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.WorkItemRegion.html
index 9488fef..89fb8f4 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.WorkItemRegion.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.WorkItemRegion.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class HBaseFsck.WorkItemRegion
+static class HBaseFsck.WorkItemRegion
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true";
 title="class or interface in java.util.concurrent">CallableVoid>
 Contact a region server and get all information from 
it
@@ -226,7 +226,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/concurren
 
 
 hbck
-private final HBaseFsck hbck
+private final HBaseFsck hbck
 
 
 
@@ -235,7 +235,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/concurren
 
 
 rsinfo
-private final ServerName rsinfo
+private final ServerName rsinfo
 
 
 
@@ -244,7 +244,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/concurren
 
 
 errors
-private final HBaseFsck.ErrorReporter 
errors
+private final HBaseFsck.ErrorReporter 
errors
 
 
 
@@ -253,7 +253,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/concurren
 
 
 connection
-private final ClusterConnection connection
+private final ClusterConnection connection
 
 
 
@@ -270,7 +270,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/concurren
 
 
 WorkItemRegion
-WorkItemRegion(HBaseFsck hbck,
+WorkItemRegion(HBaseFsck hbck,
ServerName info,
HBaseFsck.ErrorReporter errors,
ClusterConnection connection)
@@ -290,7 +290,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/concurren
 
 
 call
-public http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true";
 title="class or interface in java.lang">Void call()
+public http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true";
 title="class or interface in java.lang">Void call()
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 
 Specified by:
@@ -306,7 +306,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/concurren
 
 
 filterRegions
-private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filterRegions(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List regions)
+private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filterRegions(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List regions)
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04d647a7/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.html 
b/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.html
index c1441ad..febf9db 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/HBaseFsck.html
@@ -2068,7 +2068,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h
 
 
 cmp
-static final http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator cmp
+static final http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator cmp
 
 
 
@@ -2819,7 +2819,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h
 
 
 isTableDisabled
-private boolean isTableDisabled(TableName tableName)
+private boolean isTableDisabled(TableName tableName)
 Check if the specified region's table is disabled.
 
 Parameters:
@@ -2833,7 +2833,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h
 
 
 loadHdfsRegionDirs
-public void loadHdfsRegionDirs()
+public void loadHdfsRegionDirs()
 throws http://docs.oracle.com/javase/8/docs/api/

[27/35] hbase-site git commit: Published site at 9250bf809155ebe93fd6ae8a0485b22c744fdf70.

2016-11-14 Thread stack
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f17356a7/devapidocs/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.html 
b/devapidocs/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.html
index 3719f0c..fa2916a 100644
--- a/devapidocs/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.html
+++ b/devapidocs/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.html
@@ -337,22 +337,22 @@ extends org.jamon.AbstractTemplateProxy
 
 
 Field Detail
-
+
 
 
 
 
-frags
-protected http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapString,http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true";
 title="class or interface in java.lang">Integer> frags
+filter
+protected http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String filter
 
 
-
+
 
 
 
 
-metaLocation
-protected ServerName metaLocation
+deadServers
+protected http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true";
 title="class or interface in java.util">Set deadServers
 
 
 
@@ -364,58 +364,58 @@ extends org.jamon.AbstractTemplateProxy
 protected boolean catalogJanitorEnabled
 
 
-
+
 
 
 
 
-deadServers
-protected http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true";
 title="class or interface in java.util">Set deadServers
+format
+protected http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String format
 
 
-
+
 
 
 
 
-assignmentManager
-protected AssignmentManager assignmentManager
+serverManager
+protected ServerManager serverManager
 
 
-
+
 
 
 
 
-servers
-protected http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List servers
+frags
+protected http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapString,http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true";
 title="class or interface in java.lang">Integer> frags
 
 
-
+
 
 
 
 
-format
-protected http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String format
+metaLocation
+protected ServerName metaLocation
 
 
-
+
 
 
 
 
-filter
-protected http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String filter
+assignmentManager
+protected AssignmentManager assignmentManager
 
 
-
+
 
 
 
 
-serverManager
-protected ServerManager serverManager
+servers
+protected http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List servers
 
 
 
@@ -487,22 +487,22 @@ extends org.jamon.AbstractTemplateProxy
 
 
 
-
+
 
 
 
 
-setFrags
-public final MasterStatusTmpl setFrags(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapString,http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true";
 title="class or interface in java.lang">Integer> p_frags)
+setFilter
+public final MasterStatusTmpl setFilter(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String p_filter)
 
 
-
+
 
 
 
 
-setMetaLocation
-public final MasterStatusTmpl setMetaLocation(ServerName p_metaLocation)
+setDeadServers
+public final MasterStatusTmpl setDeadServers(http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true";
 title="class or interface in java.util">Set p_deadServers)
 
 
 
@@ -514,58 +514,58 @@ extends org.jamon.AbstractTemplateProxy
 public final MasterStatusTmpl setCatalogJanitorEnabled(boolean p_catalogJanitorEnabled)
 
 
-
+
 
 
 
 
-setDeadServers
-public final MasterStatusTmpl setDeadServers(http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true";
 title="class or interface in java.util">Set p_deadServers)
+setFormat
+public final MasterStatusTmpl setFormat(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String p_format)
 
 
-
+
 
 
 
 
-setAssignmentManager
-public final MasterStatusT