http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/apidocs/src-html/org/apache/hadoop/hbase/quotas/ThrottlingException.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/quotas/ThrottlingException.html b/apidocs/src-html/org/apache/hadoop/hbase/quotas/ThrottlingException.html index 985e2ef..c27a837 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/quotas/ThrottlingException.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/quotas/ThrottlingException.html @@ -37,145 +37,148 @@ <span class="sourceLineNo">029</span> * TODO: At some point this will be handled on the client side to prevent<a name="line.29"></a> <span class="sourceLineNo">030</span> * operation to go on the server if the waitInterval is grater than the one got<a name="line.30"></a> <span class="sourceLineNo">031</span> * as result of this exception.<a name="line.31"></a> -<span class="sourceLineNo">032</span> */<a name="line.32"></a> -<span class="sourceLineNo">033</span>@InterfaceAudience.Public<a name="line.33"></a> -<span class="sourceLineNo">034</span>public class ThrottlingException extends QuotaExceededException {<a name="line.34"></a> -<span class="sourceLineNo">035</span> private static final long serialVersionUID = 1406576492085155743L;<a name="line.35"></a> -<span class="sourceLineNo">036</span><a name="line.36"></a> -<span class="sourceLineNo">037</span> @InterfaceAudience.Public<a name="line.37"></a> -<span class="sourceLineNo">038</span> public enum Type {<a name="line.38"></a> -<span class="sourceLineNo">039</span> NumRequestsExceeded,<a name="line.39"></a> -<span class="sourceLineNo">040</span> RequestSizeExceeded,<a name="line.40"></a> -<span class="sourceLineNo">041</span> NumReadRequestsExceeded,<a name="line.41"></a> -<span class="sourceLineNo">042</span> NumWriteRequestsExceeded,<a name="line.42"></a> -<span class="sourceLineNo">043</span> WriteSizeExceeded,<a name="line.43"></a> -<span class="sourceLineNo">044</span> ReadSizeExceeded,<a name="line.44"></a> -<span class="sourceLineNo">045</span> }<a name="line.45"></a> -<span class="sourceLineNo">046</span><a name="line.46"></a> -<span class="sourceLineNo">047</span> private static final String[] MSG_TYPE = new String[] {<a name="line.47"></a> -<span class="sourceLineNo">048</span> "number of requests exceeded",<a name="line.48"></a> -<span class="sourceLineNo">049</span> "request size limit exceeded",<a name="line.49"></a> -<span class="sourceLineNo">050</span> "number of read requests exceeded",<a name="line.50"></a> -<span class="sourceLineNo">051</span> "number of write requests exceeded",<a name="line.51"></a> -<span class="sourceLineNo">052</span> "write size limit exceeded",<a name="line.52"></a> -<span class="sourceLineNo">053</span> "read size limit exceeded",<a name="line.53"></a> -<span class="sourceLineNo">054</span> };<a name="line.54"></a> -<span class="sourceLineNo">055</span><a name="line.55"></a> -<span class="sourceLineNo">056</span> private static final String MSG_WAIT = " - wait ";<a name="line.56"></a> -<span class="sourceLineNo">057</span><a name="line.57"></a> -<span class="sourceLineNo">058</span> private long waitInterval;<a name="line.58"></a> -<span class="sourceLineNo">059</span> private Type type;<a name="line.59"></a> +<span class="sourceLineNo">032</span> *<a name="line.32"></a> +<span class="sourceLineNo">033</span> * @deprecated replaced by {@link RpcThrottlingException} since hbase-2.0.0.<a name="line.33"></a> +<span class="sourceLineNo">034</span> */<a name="line.34"></a> +<span class="sourceLineNo">035</span>@Deprecated<a name="line.35"></a> +<span class="sourceLineNo">036</span>@InterfaceAudience.Public<a name="line.36"></a> +<span class="sourceLineNo">037</span>public class ThrottlingException extends QuotaExceededException {<a name="line.37"></a> +<span class="sourceLineNo">038</span> private static final long serialVersionUID = 1406576492085155743L;<a name="line.38"></a> +<span class="sourceLineNo">039</span><a name="line.39"></a> +<span class="sourceLineNo">040</span> @InterfaceAudience.Public<a name="line.40"></a> +<span class="sourceLineNo">041</span> public enum Type {<a name="line.41"></a> +<span class="sourceLineNo">042</span> NumRequestsExceeded,<a name="line.42"></a> +<span class="sourceLineNo">043</span> RequestSizeExceeded,<a name="line.43"></a> +<span class="sourceLineNo">044</span> NumReadRequestsExceeded,<a name="line.44"></a> +<span class="sourceLineNo">045</span> NumWriteRequestsExceeded,<a name="line.45"></a> +<span class="sourceLineNo">046</span> WriteSizeExceeded,<a name="line.46"></a> +<span class="sourceLineNo">047</span> ReadSizeExceeded,<a name="line.47"></a> +<span class="sourceLineNo">048</span> }<a name="line.48"></a> +<span class="sourceLineNo">049</span><a name="line.49"></a> +<span class="sourceLineNo">050</span> private static final String[] MSG_TYPE = new String[] {<a name="line.50"></a> +<span class="sourceLineNo">051</span> "number of requests exceeded",<a name="line.51"></a> +<span class="sourceLineNo">052</span> "request size limit exceeded",<a name="line.52"></a> +<span class="sourceLineNo">053</span> "number of read requests exceeded",<a name="line.53"></a> +<span class="sourceLineNo">054</span> "number of write requests exceeded",<a name="line.54"></a> +<span class="sourceLineNo">055</span> "write size limit exceeded",<a name="line.55"></a> +<span class="sourceLineNo">056</span> "read size limit exceeded",<a name="line.56"></a> +<span class="sourceLineNo">057</span> };<a name="line.57"></a> +<span class="sourceLineNo">058</span><a name="line.58"></a> +<span class="sourceLineNo">059</span> private static final String MSG_WAIT = " - wait ";<a name="line.59"></a> <span class="sourceLineNo">060</span><a name="line.60"></a> -<span class="sourceLineNo">061</span> public ThrottlingException(String msg) {<a name="line.61"></a> -<span class="sourceLineNo">062</span> super(msg);<a name="line.62"></a> +<span class="sourceLineNo">061</span> private long waitInterval;<a name="line.61"></a> +<span class="sourceLineNo">062</span> private Type type;<a name="line.62"></a> <span class="sourceLineNo">063</span><a name="line.63"></a> -<span class="sourceLineNo">064</span> // Dirty workaround to get the information after<a name="line.64"></a> -<span class="sourceLineNo">065</span> // ((RemoteException)e.getCause()).unwrapRemoteException()<a name="line.65"></a> -<span class="sourceLineNo">066</span> for (int i = 0; i < MSG_TYPE.length; ++i) {<a name="line.66"></a> -<span class="sourceLineNo">067</span> int index = msg.indexOf(MSG_TYPE[i]);<a name="line.67"></a> -<span class="sourceLineNo">068</span> if (index >= 0) {<a name="line.68"></a> -<span class="sourceLineNo">069</span> String waitTimeStr = msg.substring(index + MSG_TYPE[i].length() + MSG_WAIT.length());<a name="line.69"></a> -<span class="sourceLineNo">070</span> type = Type.values()[i];<a name="line.70"></a> -<span class="sourceLineNo">071</span> waitInterval = timeFromString(waitTimeStr);<a name="line.71"></a> -<span class="sourceLineNo">072</span> break;<a name="line.72"></a> -<span class="sourceLineNo">073</span> }<a name="line.73"></a> -<span class="sourceLineNo">074</span> }<a name="line.74"></a> -<span class="sourceLineNo">075</span> }<a name="line.75"></a> -<span class="sourceLineNo">076</span><a name="line.76"></a> -<span class="sourceLineNo">077</span> public ThrottlingException(final Type type, final long waitInterval, final String msg) {<a name="line.77"></a> -<span class="sourceLineNo">078</span> super(msg);<a name="line.78"></a> -<span class="sourceLineNo">079</span> this.waitInterval = waitInterval;<a name="line.79"></a> -<span class="sourceLineNo">080</span> this.type = type;<a name="line.80"></a> -<span class="sourceLineNo">081</span> }<a name="line.81"></a> -<span class="sourceLineNo">082</span><a name="line.82"></a> -<span class="sourceLineNo">083</span> public Type getType() {<a name="line.83"></a> -<span class="sourceLineNo">084</span> return this.type;<a name="line.84"></a> -<span class="sourceLineNo">085</span> }<a name="line.85"></a> -<span class="sourceLineNo">086</span><a name="line.86"></a> -<span class="sourceLineNo">087</span> public long getWaitInterval() {<a name="line.87"></a> -<span class="sourceLineNo">088</span> return this.waitInterval;<a name="line.88"></a> -<span class="sourceLineNo">089</span> }<a name="line.89"></a> -<span class="sourceLineNo">090</span><a name="line.90"></a> -<span class="sourceLineNo">091</span> public static void throwNumRequestsExceeded(final long waitInterval)<a name="line.91"></a> -<span class="sourceLineNo">092</span> throws ThrottlingException {<a name="line.92"></a> -<span class="sourceLineNo">093</span> throwThrottlingException(Type.NumRequestsExceeded, waitInterval);<a name="line.93"></a> -<span class="sourceLineNo">094</span> }<a name="line.94"></a> -<span class="sourceLineNo">095</span><a name="line.95"></a> -<span class="sourceLineNo">096</span> public static void throwRequestSizeExceeded(final long waitInterval)<a name="line.96"></a> -<span class="sourceLineNo">097</span> throws ThrottlingException {<a name="line.97"></a> -<span class="sourceLineNo">098</span> throwThrottlingException(Type.RequestSizeExceeded, waitInterval);<a name="line.98"></a> -<span class="sourceLineNo">099</span> }<a name="line.99"></a> -<span class="sourceLineNo">100</span><a name="line.100"></a> -<span class="sourceLineNo">101</span> public static void throwNumReadRequestsExceeded(final long waitInterval)<a name="line.101"></a> -<span class="sourceLineNo">102</span> throws ThrottlingException {<a name="line.102"></a> -<span class="sourceLineNo">103</span> throwThrottlingException(Type.NumReadRequestsExceeded, waitInterval);<a name="line.103"></a> -<span class="sourceLineNo">104</span> }<a name="line.104"></a> -<span class="sourceLineNo">105</span><a name="line.105"></a> -<span class="sourceLineNo">106</span> public static void throwNumWriteRequestsExceeded(final long waitInterval)<a name="line.106"></a> -<span class="sourceLineNo">107</span> throws ThrottlingException {<a name="line.107"></a> -<span class="sourceLineNo">108</span> throwThrottlingException(Type.NumWriteRequestsExceeded, waitInterval);<a name="line.108"></a> -<span class="sourceLineNo">109</span> }<a name="line.109"></a> -<span class="sourceLineNo">110</span><a name="line.110"></a> -<span class="sourceLineNo">111</span> public static void throwWriteSizeExceeded(final long waitInterval)<a name="line.111"></a> -<span class="sourceLineNo">112</span> throws ThrottlingException {<a name="line.112"></a> -<span class="sourceLineNo">113</span> throwThrottlingException(Type.WriteSizeExceeded, waitInterval);<a name="line.113"></a> -<span class="sourceLineNo">114</span> }<a name="line.114"></a> -<span class="sourceLineNo">115</span><a name="line.115"></a> -<span class="sourceLineNo">116</span> public static void throwReadSizeExceeded(final long waitInterval)<a name="line.116"></a> -<span class="sourceLineNo">117</span> throws ThrottlingException {<a name="line.117"></a> -<span class="sourceLineNo">118</span> throwThrottlingException(Type.ReadSizeExceeded, waitInterval);<a name="line.118"></a> -<span class="sourceLineNo">119</span> }<a name="line.119"></a> -<span class="sourceLineNo">120</span><a name="line.120"></a> -<span class="sourceLineNo">121</span> private static void throwThrottlingException(final Type type, final long waitInterval)<a name="line.121"></a> -<span class="sourceLineNo">122</span> throws ThrottlingException {<a name="line.122"></a> -<span class="sourceLineNo">123</span> String msg = MSG_TYPE[type.ordinal()] + MSG_WAIT + formatTime(waitInterval);<a name="line.123"></a> -<span class="sourceLineNo">124</span> throw new ThrottlingException(type, waitInterval, msg);<a name="line.124"></a> -<span class="sourceLineNo">125</span> }<a name="line.125"></a> -<span class="sourceLineNo">126</span><a name="line.126"></a> -<span class="sourceLineNo">127</span> public static String formatTime(long timeDiff) {<a name="line.127"></a> -<span class="sourceLineNo">128</span> StringBuilder buf = new StringBuilder();<a name="line.128"></a> -<span class="sourceLineNo">129</span> long hours = timeDiff / (60*60*1000);<a name="line.129"></a> -<span class="sourceLineNo">130</span> long rem = (timeDiff % (60*60*1000));<a name="line.130"></a> -<span class="sourceLineNo">131</span> long minutes = rem / (60*1000);<a name="line.131"></a> -<span class="sourceLineNo">132</span> rem = rem % (60*1000);<a name="line.132"></a> -<span class="sourceLineNo">133</span> float seconds = rem / 1000.0f;<a name="line.133"></a> -<span class="sourceLineNo">134</span><a name="line.134"></a> -<span class="sourceLineNo">135</span> if (hours != 0){<a name="line.135"></a> -<span class="sourceLineNo">136</span> buf.append(hours);<a name="line.136"></a> -<span class="sourceLineNo">137</span> buf.append("hrs, ");<a name="line.137"></a> -<span class="sourceLineNo">138</span> }<a name="line.138"></a> -<span class="sourceLineNo">139</span> if (minutes != 0){<a name="line.139"></a> -<span class="sourceLineNo">140</span> buf.append(minutes);<a name="line.140"></a> -<span class="sourceLineNo">141</span> buf.append("mins, ");<a name="line.141"></a> -<span class="sourceLineNo">142</span> }<a name="line.142"></a> -<span class="sourceLineNo">143</span> buf.append(String.format("%.2fsec", seconds));<a name="line.143"></a> -<span class="sourceLineNo">144</span> return buf.toString();<a name="line.144"></a> -<span class="sourceLineNo">145</span> }<a name="line.145"></a> -<span class="sourceLineNo">146</span><a name="line.146"></a> -<span class="sourceLineNo">147</span> private static long timeFromString(String timeDiff) {<a name="line.147"></a> -<span class="sourceLineNo">148</span> Pattern[] patterns = new Pattern[] {<a name="line.148"></a> -<span class="sourceLineNo">149</span> Pattern.compile("^(\\d+\\.\\d\\d)sec"),<a name="line.149"></a> -<span class="sourceLineNo">150</span> Pattern.compile("^(\\d+)mins, (\\d+\\.\\d\\d)sec"),<a name="line.150"></a> -<span class="sourceLineNo">151</span> Pattern.compile("^(\\d+)hrs, (\\d+)mins, (\\d+\\.\\d\\d)sec")<a name="line.151"></a> -<span class="sourceLineNo">152</span> };<a name="line.152"></a> -<span class="sourceLineNo">153</span><a name="line.153"></a> -<span class="sourceLineNo">154</span> for (int i = 0; i < patterns.length; ++i) {<a name="line.154"></a> -<span class="sourceLineNo">155</span> Matcher m = patterns[i].matcher(timeDiff);<a name="line.155"></a> -<span class="sourceLineNo">156</span> if (m.find()) {<a name="line.156"></a> -<span class="sourceLineNo">157</span> long time = Math.round(Float.parseFloat(m.group(1 + i)) * 1000);<a name="line.157"></a> -<span class="sourceLineNo">158</span> if (i > 0) {<a name="line.158"></a> -<span class="sourceLineNo">159</span> time += Long.parseLong(m.group(i)) * (60 * 1000);<a name="line.159"></a> -<span class="sourceLineNo">160</span> }<a name="line.160"></a> -<span class="sourceLineNo">161</span> if (i > 1) {<a name="line.161"></a> -<span class="sourceLineNo">162</span> time += Long.parseLong(m.group(i - 1)) * (60 * 60 * 1000);<a name="line.162"></a> +<span class="sourceLineNo">064</span> public ThrottlingException(String msg) {<a name="line.64"></a> +<span class="sourceLineNo">065</span> super(msg);<a name="line.65"></a> +<span class="sourceLineNo">066</span><a name="line.66"></a> +<span class="sourceLineNo">067</span> // Dirty workaround to get the information after<a name="line.67"></a> +<span class="sourceLineNo">068</span> // ((RemoteException)e.getCause()).unwrapRemoteException()<a name="line.68"></a> +<span class="sourceLineNo">069</span> for (int i = 0; i < MSG_TYPE.length; ++i) {<a name="line.69"></a> +<span class="sourceLineNo">070</span> int index = msg.indexOf(MSG_TYPE[i]);<a name="line.70"></a> +<span class="sourceLineNo">071</span> if (index >= 0) {<a name="line.71"></a> +<span class="sourceLineNo">072</span> String waitTimeStr = msg.substring(index + MSG_TYPE[i].length() + MSG_WAIT.length());<a name="line.72"></a> +<span class="sourceLineNo">073</span> type = Type.values()[i];<a name="line.73"></a> +<span class="sourceLineNo">074</span> waitInterval = timeFromString(waitTimeStr);<a name="line.74"></a> +<span class="sourceLineNo">075</span> break;<a name="line.75"></a> +<span class="sourceLineNo">076</span> }<a name="line.76"></a> +<span class="sourceLineNo">077</span> }<a name="line.77"></a> +<span class="sourceLineNo">078</span> }<a name="line.78"></a> +<span class="sourceLineNo">079</span><a name="line.79"></a> +<span class="sourceLineNo">080</span> public ThrottlingException(final Type type, final long waitInterval, final String msg) {<a name="line.80"></a> +<span class="sourceLineNo">081</span> super(msg);<a name="line.81"></a> +<span class="sourceLineNo">082</span> this.waitInterval = waitInterval;<a name="line.82"></a> +<span class="sourceLineNo">083</span> this.type = type;<a name="line.83"></a> +<span class="sourceLineNo">084</span> }<a name="line.84"></a> +<span class="sourceLineNo">085</span><a name="line.85"></a> +<span class="sourceLineNo">086</span> public Type getType() {<a name="line.86"></a> +<span class="sourceLineNo">087</span> return this.type;<a name="line.87"></a> +<span class="sourceLineNo">088</span> }<a name="line.88"></a> +<span class="sourceLineNo">089</span><a name="line.89"></a> +<span class="sourceLineNo">090</span> public long getWaitInterval() {<a name="line.90"></a> +<span class="sourceLineNo">091</span> return this.waitInterval;<a name="line.91"></a> +<span class="sourceLineNo">092</span> }<a name="line.92"></a> +<span class="sourceLineNo">093</span><a name="line.93"></a> +<span class="sourceLineNo">094</span> public static void throwNumRequestsExceeded(final long waitInterval)<a name="line.94"></a> +<span class="sourceLineNo">095</span> throws ThrottlingException {<a name="line.95"></a> +<span class="sourceLineNo">096</span> throwThrottlingException(Type.NumRequestsExceeded, waitInterval);<a name="line.96"></a> +<span class="sourceLineNo">097</span> }<a name="line.97"></a> +<span class="sourceLineNo">098</span><a name="line.98"></a> +<span class="sourceLineNo">099</span> public static void throwRequestSizeExceeded(final long waitInterval)<a name="line.99"></a> +<span class="sourceLineNo">100</span> throws ThrottlingException {<a name="line.100"></a> +<span class="sourceLineNo">101</span> throwThrottlingException(Type.RequestSizeExceeded, waitInterval);<a name="line.101"></a> +<span class="sourceLineNo">102</span> }<a name="line.102"></a> +<span class="sourceLineNo">103</span><a name="line.103"></a> +<span class="sourceLineNo">104</span> public static void throwNumReadRequestsExceeded(final long waitInterval)<a name="line.104"></a> +<span class="sourceLineNo">105</span> throws ThrottlingException {<a name="line.105"></a> +<span class="sourceLineNo">106</span> throwThrottlingException(Type.NumReadRequestsExceeded, waitInterval);<a name="line.106"></a> +<span class="sourceLineNo">107</span> }<a name="line.107"></a> +<span class="sourceLineNo">108</span><a name="line.108"></a> +<span class="sourceLineNo">109</span> public static void throwNumWriteRequestsExceeded(final long waitInterval)<a name="line.109"></a> +<span class="sourceLineNo">110</span> throws ThrottlingException {<a name="line.110"></a> +<span class="sourceLineNo">111</span> throwThrottlingException(Type.NumWriteRequestsExceeded, waitInterval);<a name="line.111"></a> +<span class="sourceLineNo">112</span> }<a name="line.112"></a> +<span class="sourceLineNo">113</span><a name="line.113"></a> +<span class="sourceLineNo">114</span> public static void throwWriteSizeExceeded(final long waitInterval)<a name="line.114"></a> +<span class="sourceLineNo">115</span> throws ThrottlingException {<a name="line.115"></a> +<span class="sourceLineNo">116</span> throwThrottlingException(Type.WriteSizeExceeded, waitInterval);<a name="line.116"></a> +<span class="sourceLineNo">117</span> }<a name="line.117"></a> +<span class="sourceLineNo">118</span><a name="line.118"></a> +<span class="sourceLineNo">119</span> public static void throwReadSizeExceeded(final long waitInterval)<a name="line.119"></a> +<span class="sourceLineNo">120</span> throws ThrottlingException {<a name="line.120"></a> +<span class="sourceLineNo">121</span> throwThrottlingException(Type.ReadSizeExceeded, waitInterval);<a name="line.121"></a> +<span class="sourceLineNo">122</span> }<a name="line.122"></a> +<span class="sourceLineNo">123</span><a name="line.123"></a> +<span class="sourceLineNo">124</span> private static void throwThrottlingException(final Type type, final long waitInterval)<a name="line.124"></a> +<span class="sourceLineNo">125</span> throws ThrottlingException {<a name="line.125"></a> +<span class="sourceLineNo">126</span> String msg = MSG_TYPE[type.ordinal()] + MSG_WAIT + formatTime(waitInterval);<a name="line.126"></a> +<span class="sourceLineNo">127</span> throw new ThrottlingException(type, waitInterval, msg);<a name="line.127"></a> +<span class="sourceLineNo">128</span> }<a name="line.128"></a> +<span class="sourceLineNo">129</span><a name="line.129"></a> +<span class="sourceLineNo">130</span> public static String formatTime(long timeDiff) {<a name="line.130"></a> +<span class="sourceLineNo">131</span> StringBuilder buf = new StringBuilder();<a name="line.131"></a> +<span class="sourceLineNo">132</span> long hours = timeDiff / (60*60*1000);<a name="line.132"></a> +<span class="sourceLineNo">133</span> long rem = (timeDiff % (60*60*1000));<a name="line.133"></a> +<span class="sourceLineNo">134</span> long minutes = rem / (60*1000);<a name="line.134"></a> +<span class="sourceLineNo">135</span> rem = rem % (60*1000);<a name="line.135"></a> +<span class="sourceLineNo">136</span> float seconds = rem / 1000.0f;<a name="line.136"></a> +<span class="sourceLineNo">137</span><a name="line.137"></a> +<span class="sourceLineNo">138</span> if (hours != 0){<a name="line.138"></a> +<span class="sourceLineNo">139</span> buf.append(hours);<a name="line.139"></a> +<span class="sourceLineNo">140</span> buf.append("hrs, ");<a name="line.140"></a> +<span class="sourceLineNo">141</span> }<a name="line.141"></a> +<span class="sourceLineNo">142</span> if (minutes != 0){<a name="line.142"></a> +<span class="sourceLineNo">143</span> buf.append(minutes);<a name="line.143"></a> +<span class="sourceLineNo">144</span> buf.append("mins, ");<a name="line.144"></a> +<span class="sourceLineNo">145</span> }<a name="line.145"></a> +<span class="sourceLineNo">146</span> buf.append(String.format("%.2fsec", seconds));<a name="line.146"></a> +<span class="sourceLineNo">147</span> return buf.toString();<a name="line.147"></a> +<span class="sourceLineNo">148</span> }<a name="line.148"></a> +<span class="sourceLineNo">149</span><a name="line.149"></a> +<span class="sourceLineNo">150</span> private static long timeFromString(String timeDiff) {<a name="line.150"></a> +<span class="sourceLineNo">151</span> Pattern[] patterns = new Pattern[] {<a name="line.151"></a> +<span class="sourceLineNo">152</span> Pattern.compile("^(\\d+\\.\\d\\d)sec"),<a name="line.152"></a> +<span class="sourceLineNo">153</span> Pattern.compile("^(\\d+)mins, (\\d+\\.\\d\\d)sec"),<a name="line.153"></a> +<span class="sourceLineNo">154</span> Pattern.compile("^(\\d+)hrs, (\\d+)mins, (\\d+\\.\\d\\d)sec")<a name="line.154"></a> +<span class="sourceLineNo">155</span> };<a name="line.155"></a> +<span class="sourceLineNo">156</span><a name="line.156"></a> +<span class="sourceLineNo">157</span> for (int i = 0; i < patterns.length; ++i) {<a name="line.157"></a> +<span class="sourceLineNo">158</span> Matcher m = patterns[i].matcher(timeDiff);<a name="line.158"></a> +<span class="sourceLineNo">159</span> if (m.find()) {<a name="line.159"></a> +<span class="sourceLineNo">160</span> long time = Math.round(Float.parseFloat(m.group(1 + i)) * 1000);<a name="line.160"></a> +<span class="sourceLineNo">161</span> if (i > 0) {<a name="line.161"></a> +<span class="sourceLineNo">162</span> time += Long.parseLong(m.group(i)) * (60 * 1000);<a name="line.162"></a> <span class="sourceLineNo">163</span> }<a name="line.163"></a> -<span class="sourceLineNo">164</span> return time;<a name="line.164"></a> -<span class="sourceLineNo">165</span> }<a name="line.165"></a> -<span class="sourceLineNo">166</span> }<a name="line.166"></a> -<span class="sourceLineNo">167</span><a name="line.167"></a> -<span class="sourceLineNo">168</span> return -1;<a name="line.168"></a> -<span class="sourceLineNo">169</span> }<a name="line.169"></a> -<span class="sourceLineNo">170</span>}<a name="line.170"></a> +<span class="sourceLineNo">164</span> if (i > 1) {<a name="line.164"></a> +<span class="sourceLineNo">165</span> time += Long.parseLong(m.group(i - 1)) * (60 * 60 * 1000);<a name="line.165"></a> +<span class="sourceLineNo">166</span> }<a name="line.166"></a> +<span class="sourceLineNo">167</span> return time;<a name="line.167"></a> +<span class="sourceLineNo">168</span> }<a name="line.168"></a> +<span class="sourceLineNo">169</span> }<a name="line.169"></a> +<span class="sourceLineNo">170</span><a name="line.170"></a> +<span class="sourceLineNo">171</span> return -1;<a name="line.171"></a> +<span class="sourceLineNo">172</span> }<a name="line.172"></a> +<span class="sourceLineNo">173</span>}<a name="line.173"></a>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/book.html ---------------------------------------------------------------------- diff --git a/book.html b/book.html index 78c268a..f69adc9 100644 --- a/book.html +++ b/book.html @@ -37715,7 +37715,7 @@ The server will return cellblocks compressed using this same compressor as long <div id="footer"> <div id="footer-text"> Version 3.0.0-SNAPSHOT<br> -Last updated 2018-04-16 14:29:50 UTC +Last updated 2018-04-17 14:29:51 UTC </div> </div> </body> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/bulk-loads.html ---------------------------------------------------------------------- diff --git a/bulk-loads.html b/bulk-loads.html index 80b9771..e289fe0 100644 --- a/bulk-loads.html +++ b/bulk-loads.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180416" /> + <meta name="Date-Revision-yyyymmdd" content="20180417" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Bulk Loads in Apache HBase (TM) @@ -306,7 +306,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: 2018-04-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-04-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/checkstyle-aggregate.html ---------------------------------------------------------------------- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index fa02e08..c36b6da 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180416" /> + <meta name="Date-Revision-yyyymmdd" content="20180417" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Checkstyle Results</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -281,10 +281,10 @@ <th><img src="images/icon_warning_sml.gif" alt="" /> Warnings</th> <th><img src="images/icon_error_sml.gif" alt="" /> Errors</th></tr> <tr class="b"> -<td>3601</td> +<td>3604</td> <td>0</td> <td>0</td> -<td>15869</td></tr></table></div> +<td>15863</td></tr></table></div> <div class="section"> <h2><a name="Files"></a>Files</h2> <table border="0" class="table table-striped"> @@ -1887,7 +1887,7 @@ <td><a href="#org.apache.hadoop.hbase.client.TestMetaCache.java">org/apache/hadoop/hbase/client/TestMetaCache.java</a></td> <td>0</td> <td>0</td> -<td>13</td></tr> +<td>7</td></tr> <tr class="a"> <td><a href="#org.apache.hadoop.hbase.client.TestMetricsConnection.java">org/apache/hadoop/hbase/client/TestMetricsConnection.java</a></td> <td>0</td> @@ -10315,19 +10315,19 @@ <li>caseIndent: <tt>"2"</tt></li> <li>basicOffset: <tt>"2"</tt></li> <li>lineWrappingIndentation: <tt>"2"</tt></li></ul></td> -<td>4633</td> +<td>4627</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="a"> <td>javadoc</td> <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation">JavadocTagContinuationIndentation</a> <ul> <li>offset: <tt>"2"</tt></li></ul></td> -<td>798</td> +<td>784</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="b"> <td></td> <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription">NonEmptyAtclauseDescription</a></td> -<td>3831</td> +<td>3845</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="a"> <td>misc</td> @@ -14536,7 +14536,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 26 has parse error. Missed HTML close tag 'arg'. Sometimes it means that close tag missed for one of previous tags.</td> <td>44</td></tr></table></div> <div class="section"> @@ -15172,7 +15172,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 4 has parse error. Missed HTML close tag 'pre'. Sometimes it means that close tag missed for one of previous tags.</td> <td>59</td></tr></table></div> <div class="section"> @@ -16927,7 +16927,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 19 has parse error. Details: no viable alternative at input '<code>\n * List<Future<' while parsing HTML_TAG</td> <td>167</td></tr></table></div> <div class="section"> @@ -19849,7 +19849,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 2 has parse error. Unrecognized error from ANTLR parser: null</td> <td>83</td></tr> <tr class="a"> @@ -31052,42 +31052,6 @@ <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'block' child have incorrect indentation level 6, expected level should be one of the following: 8, 10.</td> -<td>196</td></tr> -<tr class="b"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>indentation</td> -<td>Indentation</td> -<td>'block' child have incorrect indentation level 6, expected level should be one of the following: 8, 10.</td> -<td>197</td></tr> -<tr class="a"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>indentation</td> -<td>Indentation</td> -<td>'block' child have incorrect indentation level 6, expected level should be one of the following: 8, 10.</td> -<td>198</td></tr> -<tr class="b"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>indentation</td> -<td>Indentation</td> -<td>'block' child have incorrect indentation level 6, expected level should be one of the following: 8, 10.</td> -<td>199</td></tr> -<tr class="a"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>indentation</td> -<td>Indentation</td> -<td>'block' child have incorrect indentation level 6, expected level should be one of the following: 8, 10.</td> -<td>200</td></tr> -<tr class="b"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>indentation</td> -<td>Indentation</td> -<td>'block' child have incorrect indentation level 6, expected level should be one of the following: 8, 10.</td> -<td>201</td></tr> -<tr class="a"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>indentation</td> -<td>Indentation</td> <td>'block rcurly' have incorrect indentation level 4, expected level should be one of the following: 6, 8.</td> <td>202</td></tr> <tr class="b"> @@ -33832,7 +33796,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 37 has parse error. Details: no viable alternative at input '<ColumnFamily,' while parsing HTML_ELEMENT</td> <td>29</td></tr></table></div> <div class="section"> @@ -50128,7 +50092,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 24 has parse error. Details: no viable alternative at input '<key,' while parsing HTML_ELEMENT</td> <td>25</td></tr> <tr class="b"> @@ -53716,7 +53680,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 2 has parse error. Unrecognized error from ANTLR parser: null</td> <td>587</td></tr> <tr class="a"> @@ -73267,7 +73231,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 60 has parse error. Missed HTML close tag 'Comparable'. Sometimes it means that close tag missed for one of previous tags.</td> <td>29</td></tr> <tr class="a"> @@ -77449,7 +77413,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 0 has parse error. Unrecognized error from ANTLR parser: null</td> <td>74</td></tr> <tr class="a"> @@ -87415,7 +87379,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 33 has parse error. Missed HTML close tag 'number'. Sometimes it means that close tag missed for one of previous tags.</td> <td>127</td></tr> <tr class="b"> @@ -94281,7 +94245,7 @@ <td>javadoc</td> <td>NonEmptyAtclauseDescription</td> <td>At-clause should have a non-empty description.</td> -<td>57</td></tr></table></div> +<td>79</td></tr></table></div> <div class="section"> <h3 id="org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer.java">org/apache/hadoop/hbase/replication/TestReplicationDisableInactivePeer.java</h3> <table border="0" class="table table-striped"> @@ -94326,43 +94290,43 @@ <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 114).</td> -<td>252</td></tr> +<td>251</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 114).</td> -<td>281</td></tr> +<td>280</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 114).</td> -<td>291</td></tr> +<td>290</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 109).</td> -<td>307</td></tr> +<td>306</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 110).</td> -<td>317</td></tr> +<td>316</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 108).</td> -<td>318</td></tr> +<td>317</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 101).</td> -<td>553</td></tr></table></div> +<td>557</td></tr></table></div> <div class="section"> <h3 id="org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed.java">org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.java</h3> <table border="0" class="table table-striped"> @@ -115969,7 +115933,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 23 has parse error. Details: no viable alternative at input '<expected,' while parsing HTML_ELEMENT</td> <td>143</td></tr> <tr class="a"> @@ -116173,7 +116137,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 78 has parse error. Details: no viable alternative at input '<Object>, Map<String,' while parsing HTML_TAG</td> <td>33</td></tr> <tr class="a"> @@ -116773,7 +116737,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 35 has parse error. Missed HTML close tag 'index'. Sometimes it means that close tag missed for one of previous tags.</td> <td>823</td></tr> <tr class="b"> @@ -120580,7 +120544,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>JavadocTagContinuationIndentation</td> +<td>NonEmptyAtclauseDescription</td> <td>Javadoc comment at column 58 has parse error. Details: no viable alternative at input '<byte[' while parsing HTML_ELEMENT</td> <td>426</td></tr> <tr class="a"> @@ -123433,7 +123397,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-04-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-04-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/checkstyle.rss ---------------------------------------------------------------------- diff --git a/checkstyle.rss b/checkstyle.rss index 3fecdff..b94c3ab 100644 --- a/checkstyle.rss +++ b/checkstyle.rss @@ -25,8 +25,8 @@ under the License. <language>en-us</language> <copyright>©2007 - 2018 The Apache Software Foundation</copyright> <item> - <title>File: 3601, - Errors: 15869, + <title>File: 3604, + Errors: 15863, Warnings: 0, Infos: 0 </title> @@ -25330,6 +25330,20 @@ under the License. </tr> <tr> <td> + <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.quotas.RpcThrottlingException.java">org/apache/hadoop/hbase/quotas/RpcThrottlingException.java</a> + </td> + <td> + 0 + </td> + <td> + 0 + </td> + <td> + 0 + </td> + </tr> + <tr> + <td> <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.master.ClusterSchemaException.java">org/apache/hadoop/hbase/master/ClusterSchemaException.java</a> </td> <td> @@ -28746,6 +28760,20 @@ under the License. </tr> <tr> <td> + <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSWithSeparateOldWALs.java">org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSWithSeparateOldWALs.java</a> + </td> + <td> + 0 + </td> + <td> + 0 + </td> + <td> + 0 + </td> + </tr> + <tr> + <td> <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.codec.TestKeyValueCodecWithTags.java">org/apache/hadoop/hbase/codec/TestKeyValueCodecWithTags.java</a> </td> <td> @@ -35424,6 +35452,20 @@ under the License. </tr> <tr> <td> + <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRSWithSeparateOldWALs.java">org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRSWithSeparateOldWALs.java</a> + </td> + <td> + 0 + </td> + <td> + 0 + </td> + <td> + 0 + </td> + </tr> + <tr> + <td> <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.regionserver.MetricsRegionServerQuotaSource.java">org/apache/hadoop/hbase/regionserver/MetricsRegionServerQuotaSource.java</a> </td> <td> @@ -42923,7 +42965,7 @@ under the License. 0 </td> <td> - 13 + 7 </td> </tr> <tr> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/coc.html ---------------------------------------------------------------------- diff --git a/coc.html b/coc.html index 42f9d7f..7c73fc5 100644 --- a/coc.html +++ b/coc.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180416" /> + <meta name="Date-Revision-yyyymmdd" content="20180417" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Code of Conduct Policy @@ -375,7 +375,7 @@ email to <a class="externalLink" href="mailto:[email protected]">the priv <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-04-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-04-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/dependencies.html ---------------------------------------------------------------------- diff --git a/dependencies.html b/dependencies.html index 6ad6a29..fcb521f 100644 --- a/dependencies.html +++ b/dependencies.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180416" /> + <meta name="Date-Revision-yyyymmdd" content="20180417" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Dependencies</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -440,7 +440,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-04-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-04-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/dependency-convergence.html ---------------------------------------------------------------------- diff --git a/dependency-convergence.html b/dependency-convergence.html index e441ca2..11a8b40 100644 --- a/dependency-convergence.html +++ b/dependency-convergence.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180416" /> + <meta name="Date-Revision-yyyymmdd" content="20180417" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Reactor Dependency Convergence</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -1105,7 +1105,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-04-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-04-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/dependency-info.html ---------------------------------------------------------------------- diff --git a/dependency-info.html b/dependency-info.html index dc88589..d5d7f8f 100644 --- a/dependency-info.html +++ b/dependency-info.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180416" /> + <meta name="Date-Revision-yyyymmdd" content="20180417" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Dependency Information</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -313,7 +313,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-04-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-04-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/dependency-management.html ---------------------------------------------------------------------- diff --git a/dependency-management.html b/dependency-management.html index e7c3bc5..3ede549 100644 --- a/dependency-management.html +++ b/dependency-management.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180416" /> + <meta name="Date-Revision-yyyymmdd" content="20180417" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Dependency Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -969,7 +969,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-04-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-04-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/devapidocs/allclasses-frame.html ---------------------------------------------------------------------- diff --git a/devapidocs/allclasses-frame.html b/devapidocs/allclasses-frame.html index 7965647..1adf635 100644 --- a/devapidocs/allclasses-frame.html +++ b/devapidocs/allclasses-frame.html @@ -2280,6 +2280,8 @@ <li><a href="org/apache/hadoop/hbase/ipc/RpcServer.CallCleanup.html" title="interface in org.apache.hadoop.hbase.ipc" target="classFrame"><span class="interfaceName">RpcServer.CallCleanup</span></a></li> <li><a href="org/apache/hadoop/hbase/ipc/RpcServerFactory.html" title="class in org.apache.hadoop.hbase.ipc" target="classFrame">RpcServerFactory</a></li> <li><a href="org/apache/hadoop/hbase/ipc/RpcServerInterface.html" title="interface in org.apache.hadoop.hbase.ipc" target="classFrame"><span class="interfaceName">RpcServerInterface</span></a></li> +<li><a href="org/apache/hadoop/hbase/quotas/RpcThrottlingException.html" title="class in org.apache.hadoop.hbase.quotas" target="classFrame">RpcThrottlingException</a></li> +<li><a href="org/apache/hadoop/hbase/quotas/RpcThrottlingException.Type.html" title="enum in org.apache.hadoop.hbase.quotas" target="classFrame">RpcThrottlingException.Type</a></li> <li><a href="org/apache/hadoop/hbase/regionserver/RSDumpServlet.html" title="class in org.apache.hadoop.hbase.regionserver" target="classFrame">RSDumpServlet</a></li> <li><a href="org/apache/hadoop/hbase/rsgroup/RSGroupableBalancer.html" title="interface in org.apache.hadoop.hbase.rsgroup" target="classFrame"><span class="interfaceName">RSGroupableBalancer</span></a></li> <li><a href="org/apache/hadoop/hbase/rsgroup/RSGroupAdmin.html" title="interface in org.apache.hadoop.hbase.rsgroup" target="classFrame"><span class="interfaceName">RSGroupAdmin</span></a></li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/devapidocs/allclasses-noframe.html ---------------------------------------------------------------------- diff --git a/devapidocs/allclasses-noframe.html b/devapidocs/allclasses-noframe.html index 3ba57dc..37b4c60 100644 --- a/devapidocs/allclasses-noframe.html +++ b/devapidocs/allclasses-noframe.html @@ -2280,6 +2280,8 @@ <li><a href="org/apache/hadoop/hbase/ipc/RpcServer.CallCleanup.html" title="interface in org.apache.hadoop.hbase.ipc"><span class="interfaceName">RpcServer.CallCleanup</span></a></li> <li><a href="org/apache/hadoop/hbase/ipc/RpcServerFactory.html" title="class in org.apache.hadoop.hbase.ipc">RpcServerFactory</a></li> <li><a href="org/apache/hadoop/hbase/ipc/RpcServerInterface.html" title="interface in org.apache.hadoop.hbase.ipc"><span class="interfaceName">RpcServerInterface</span></a></li> +<li><a href="org/apache/hadoop/hbase/quotas/RpcThrottlingException.html" title="class in org.apache.hadoop.hbase.quotas">RpcThrottlingException</a></li> +<li><a href="org/apache/hadoop/hbase/quotas/RpcThrottlingException.Type.html" title="enum in org.apache.hadoop.hbase.quotas">RpcThrottlingException.Type</a></li> <li><a href="org/apache/hadoop/hbase/regionserver/RSDumpServlet.html" title="class in org.apache.hadoop.hbase.regionserver">RSDumpServlet</a></li> <li><a href="org/apache/hadoop/hbase/rsgroup/RSGroupableBalancer.html" title="interface in org.apache.hadoop.hbase.rsgroup"><span class="interfaceName">RSGroupableBalancer</span></a></li> <li><a href="org/apache/hadoop/hbase/rsgroup/RSGroupAdmin.html" title="interface in org.apache.hadoop.hbase.rsgroup"><span class="interfaceName">RSGroupAdmin</span></a></li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/devapidocs/constant-values.html ---------------------------------------------------------------------- diff --git a/devapidocs/constant-values.html b/devapidocs/constant-values.html index 4432fe6..c8f33fe 100644 --- a/devapidocs/constant-values.html +++ b/devapidocs/constant-values.html @@ -3768,21 +3768,21 @@ <!-- --> </a><code>public static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/Version.html#date">date</a></code></td> -<td class="colLast"><code>"Mon Apr 16 14:39:11 UTC 2018"</code></td> +<td class="colLast"><code>"Tue Apr 17 14:39:15 UTC 2018"</code></td> </tr> <tr class="rowColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.revision"> <!-- --> </a><code>public static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/Version.html#revision">revision</a></code></td> -<td class="colLast"><code>"773aff90fdf9edf4687b373d1c7ba859d166a437"</code></td> +<td class="colLast"><code>"42d5447cfbc593becfc26684e03f482eb3a0fc49"</code></td> </tr> <tr class="altColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.srcChecksum"> <!-- --> </a><code>public static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/Version.html#srcChecksum">srcChecksum</a></code></td> -<td class="colLast"><code>"83e5500271237f8b8d44991e5fb13ecd"</code></td> +<td class="colLast"><code>"7216e99e4e2f243f8ca1e9d09be1a120"</code></td> </tr> <tr class="rowColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.url"> @@ -17224,6 +17224,25 @@ </li> <li class="blockList"> <table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> +<caption><span>org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/RpcThrottlingException.html" title="class in org.apache.hadoop.hbase.quotas">RpcThrottlingException</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th scope="col">Constant Field</th> +<th class="colLast" scope="col">Value</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a name="org.apache.hadoop.hbase.quotas.RpcThrottlingException.MSG_WAIT"> +<!-- --> +</a><code>private static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td><code><a href="org/apache/hadoop/hbase/quotas/RpcThrottlingException.html#MSG_WAIT">MSG_WAIT</a></code></td> +<td class="colLast"><code>" - wait "</code></td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values"> <caption><span>org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/devapidocs/deprecated-list.html ---------------------------------------------------------------------- diff --git a/devapidocs/deprecated-list.html b/devapidocs/deprecated-list.html index 92ff3b6..c62f7e1 100644 --- a/devapidocs/deprecated-list.html +++ b/devapidocs/deprecated-list.html @@ -288,6 +288,11 @@ <div class="block"><span class="deprecationComment">use <a href="org/apache/hadoop/hbase/client/RowTooBigException.html" title="class in org.apache.hadoop.hbase.client"><code>RowTooBigException</code></a> instead.</span></div> </td> </tr> +<tr class="rowColor"> +<td class="colOne"><a href="org/apache/hadoop/hbase/quotas/ThrottlingException.html" title="class in org.apache.hadoop.hbase.quotas">org.apache.hadoop.hbase.quotas.ThrottlingException</a> +<div class="block"><span class="deprecationComment">replaced by <a href="org/apache/hadoop/hbase/quotas/RpcThrottlingException.html" title="class in org.apache.hadoop.hbase.quotas"><code>RpcThrottlingException</code></a> since hbase-2.0.0.</span></div> +</td> +</tr> </tbody> </table> </li>
