hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [09/12] hbase-site git commit: Published site at .
Date Tue, 29 Aug 2017 15:10:31 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html b/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html
index 630b594..60133de 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html
@@ -92,167 +92,175 @@
 <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>  /**<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   * @return the approximate size of storefile indexes on the heap, in MB<a name="line.87"></a>
-<span class="sourceLineNo">088</span>   */<a name="line.88"></a>
-<span class="sourceLineNo">089</span>  public int getStorefileIndexSizeMB() {<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    return regionLoadPB.getStorefileIndexSizeMB();<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  }<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>   * @return the number of requests made to region<a name="line.94"></a>
-<span class="sourceLineNo">095</span>   */<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  public long getRequestsCount() {<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    return getReadRequestsCount() + getWriteRequestsCount();<a name="line.97"></a>
-<span class="sourceLineNo">098</span>  }<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>   * @return the number of read requests made to region<a name="line.101"></a>
-<span class="sourceLineNo">102</span>   */<a name="line.102"></a>
-<span class="sourceLineNo">103</span>  public long getReadRequestsCount() {<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    return regionLoadPB.getReadRequestsCount();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>  }<a name="line.105"></a>
-<span class="sourceLineNo">106</span><a name="line.106"></a>
-<span class="sourceLineNo">107</span>  /**<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   * @return the number of filtered read requests made to region<a name="line.108"></a>
-<span class="sourceLineNo">109</span>   */<a name="line.109"></a>
-<span class="sourceLineNo">110</span>  public long getFilteredReadRequestsCount() {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    return regionLoadPB.getFilteredReadRequestsCount();<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>  /**<a name="line.114"></a>
-<span class="sourceLineNo">115</span>   * @return the number of write requests made to region<a name="line.115"></a>
-<span class="sourceLineNo">116</span>   */<a name="line.116"></a>
-<span class="sourceLineNo">117</span>  public long getWriteRequestsCount() {<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    return regionLoadPB.getWriteRequestsCount();<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>  /**<a name="line.121"></a>
-<span class="sourceLineNo">122</span>   * @return The current total size of root-level indexes for the region, in KB.<a name="line.122"></a>
-<span class="sourceLineNo">123</span>   */<a name="line.123"></a>
-<span class="sourceLineNo">124</span>  public int getRootIndexSizeKB() {<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    return regionLoadPB.getRootIndexSizeKB();<a name="line.125"></a>
-<span class="sourceLineNo">126</span>  }<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span>  /**<a name="line.128"></a>
-<span class="sourceLineNo">129</span>   * @return The total size of all index blocks, not just the root level, in KB.<a name="line.129"></a>
-<span class="sourceLineNo">130</span>   */<a name="line.130"></a>
-<span class="sourceLineNo">131</span>  public int getTotalStaticIndexSizeKB() {<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    return regionLoadPB.getTotalStaticIndexSizeKB();<a name="line.132"></a>
-<span class="sourceLineNo">133</span>  }<a name="line.133"></a>
-<span class="sourceLineNo">134</span><a name="line.134"></a>
-<span class="sourceLineNo">135</span>  /**<a name="line.135"></a>
-<span class="sourceLineNo">136</span>   * @return The total size of all Bloom filter blocks, not just loaded into the<a name="line.136"></a>
-<span class="sourceLineNo">137</span>   * block cache, in KB.<a name="line.137"></a>
+<span class="sourceLineNo">087</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0<a name="line.87"></a>
+<span class="sourceLineNo">088</span>   *             ((&lt;a href="https://issues.apache.org/jira/browse/HBASE-3935"&gt;HBASE-3935&lt;/a&gt;)).<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   *             Use {@link #getStorefileIndexSizeKB()} instead.<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   */<a name="line.90"></a>
+<span class="sourceLineNo">091</span>  @Deprecated<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  public int getStorefileIndexSizeMB() {<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    // Return value divided by 1024<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    return (int) (regionLoadPB.getStorefileIndexSizeKB() &gt;&gt; 10);<a name="line.94"></a>
+<span class="sourceLineNo">095</span>  }<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span>  public long getStorefileIndexSizeKB() {<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    return regionLoadPB.getStorefileIndexSizeKB();<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>  /**<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   * @return the number of requests made to region<a name="line.102"></a>
+<span class="sourceLineNo">103</span>   */<a name="line.103"></a>
+<span class="sourceLineNo">104</span>  public long getRequestsCount() {<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    return getReadRequestsCount() + getWriteRequestsCount();<a name="line.105"></a>
+<span class="sourceLineNo">106</span>  }<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>   * @return the number of read requests made to region<a name="line.109"></a>
+<span class="sourceLineNo">110</span>   */<a name="line.110"></a>
+<span class="sourceLineNo">111</span>  public long getReadRequestsCount() {<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    return regionLoadPB.getReadRequestsCount();<a name="line.112"></a>
+<span class="sourceLineNo">113</span>  }<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>   * @return the number of filtered read requests made to region<a name="line.116"></a>
+<span class="sourceLineNo">117</span>   */<a name="line.117"></a>
+<span class="sourceLineNo">118</span>  public long getFilteredReadRequestsCount() {<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    return regionLoadPB.getFilteredReadRequestsCount();<a name="line.119"></a>
+<span class="sourceLineNo">120</span>  }<a name="line.120"></a>
+<span class="sourceLineNo">121</span><a name="line.121"></a>
+<span class="sourceLineNo">122</span>  /**<a name="line.122"></a>
+<span class="sourceLineNo">123</span>   * @return the number of write requests made to region<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   */<a name="line.124"></a>
+<span class="sourceLineNo">125</span>  public long getWriteRequestsCount() {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    return regionLoadPB.getWriteRequestsCount();<a name="line.126"></a>
+<span class="sourceLineNo">127</span>  }<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>   * @return The current total size of root-level indexes for the region, in KB.<a name="line.130"></a>
+<span class="sourceLineNo">131</span>   */<a name="line.131"></a>
+<span class="sourceLineNo">132</span>  public int getRootIndexSizeKB() {<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    return regionLoadPB.getRootIndexSizeKB();<a name="line.133"></a>
+<span class="sourceLineNo">134</span>  }<a name="line.134"></a>
+<span class="sourceLineNo">135</span><a name="line.135"></a>
+<span class="sourceLineNo">136</span>  /**<a name="line.136"></a>
+<span class="sourceLineNo">137</span>   * @return The total size of all index blocks, not just the root level, in KB.<a name="line.137"></a>
 <span class="sourceLineNo">138</span>   */<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  public int getTotalStaticBloomSizeKB() {<a name="line.139"></a>
-<span class="sourceLineNo">140</span>    return regionLoadPB.getTotalStaticBloomSizeKB();<a name="line.140"></a>
+<span class="sourceLineNo">139</span>  public int getTotalStaticIndexSizeKB() {<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    return regionLoadPB.getTotalStaticIndexSizeKB();<a name="line.140"></a>
 <span class="sourceLineNo">141</span>  }<a name="line.141"></a>
 <span class="sourceLineNo">142</span><a name="line.142"></a>
 <span class="sourceLineNo">143</span>  /**<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   * @return the total number of kvs in current compaction<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   */<a name="line.145"></a>
-<span class="sourceLineNo">146</span>  public long getTotalCompactingKVs() {<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    return regionLoadPB.getTotalCompactingKVs();<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>  /**<a name="line.150"></a>
-<span class="sourceLineNo">151</span>   * @return the number of already compacted kvs in current compaction<a name="line.151"></a>
-<span class="sourceLineNo">152</span>   */<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  public long getCurrentCompactedKVs() {<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    return regionLoadPB.getCurrentCompactedKVs();<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>  /**<a name="line.157"></a>
-<span class="sourceLineNo">158</span>   * This does not really belong inside RegionLoad but its being done in the name of expediency.<a name="line.158"></a>
-<span class="sourceLineNo">159</span>   * @return the completed sequence Id for the region<a name="line.159"></a>
+<span class="sourceLineNo">144</span>   * @return The total size of all Bloom filter blocks, not just loaded into the<a name="line.144"></a>
+<span class="sourceLineNo">145</span>   * block cache, in KB.<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   */<a name="line.146"></a>
+<span class="sourceLineNo">147</span>  public int getTotalStaticBloomSizeKB() {<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    return regionLoadPB.getTotalStaticBloomSizeKB();<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  }<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span>  /**<a name="line.151"></a>
+<span class="sourceLineNo">152</span>   * @return the total number of kvs in current compaction<a name="line.152"></a>
+<span class="sourceLineNo">153</span>   */<a name="line.153"></a>
+<span class="sourceLineNo">154</span>  public long getTotalCompactingKVs() {<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    return regionLoadPB.getTotalCompactingKVs();<a name="line.155"></a>
+<span class="sourceLineNo">156</span>  }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span>  /**<a name="line.158"></a>
+<span class="sourceLineNo">159</span>   * @return the number of already compacted kvs in current compaction<a name="line.159"></a>
 <span class="sourceLineNo">160</span>   */<a name="line.160"></a>
-<span class="sourceLineNo">161</span>  public long getCompleteSequenceId() {<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    return regionLoadPB.getCompleteSequenceId();<a name="line.162"></a>
+<span class="sourceLineNo">161</span>  public long getCurrentCompactedKVs() {<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    return regionLoadPB.getCurrentCompactedKVs();<a name="line.162"></a>
 <span class="sourceLineNo">163</span>  }<a name="line.163"></a>
 <span class="sourceLineNo">164</span><a name="line.164"></a>
 <span class="sourceLineNo">165</span>  /**<a name="line.165"></a>
-<span class="sourceLineNo">166</span>   * @return completed sequence id per store.<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   */<a name="line.167"></a>
-<span class="sourceLineNo">168</span>  public List&lt;StoreSequenceId&gt; getStoreCompleteSequenceId() {<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    return regionLoadPB.getStoreCompleteSequenceIdList();<a name="line.169"></a>
-<span class="sourceLineNo">170</span>  }<a name="line.170"></a>
-<span class="sourceLineNo">171</span><a name="line.171"></a>
-<span class="sourceLineNo">172</span>  /**<a name="line.172"></a>
-<span class="sourceLineNo">173</span>   * @return the uncompressed size of the storefiles in MB.<a name="line.173"></a>
-<span class="sourceLineNo">174</span>   */<a name="line.174"></a>
-<span class="sourceLineNo">175</span>  public int getStoreUncompressedSizeMB() {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    return regionLoadPB.getStoreUncompressedSizeMB();<a name="line.176"></a>
-<span class="sourceLineNo">177</span>  }<a name="line.177"></a>
-<span class="sourceLineNo">178</span><a name="line.178"></a>
-<span class="sourceLineNo">179</span>  /**<a name="line.179"></a>
-<span class="sourceLineNo">180</span>   * @return the data locality of region in the regionserver.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   */<a name="line.181"></a>
-<span class="sourceLineNo">182</span>  public float getDataLocality() {<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    if (regionLoadPB.hasDataLocality()) {<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      return regionLoadPB.getDataLocality();<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    }<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    return 0.0f;<a name="line.186"></a>
-<span class="sourceLineNo">187</span>  }<a name="line.187"></a>
-<span class="sourceLineNo">188</span><a name="line.188"></a>
-<span class="sourceLineNo">189</span>  /**<a name="line.189"></a>
-<span class="sourceLineNo">190</span>   * @return the timestamp of the oldest hfile for any store of this region.<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   */<a name="line.191"></a>
-<span class="sourceLineNo">192</span>  public long getLastMajorCompactionTs() {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    return regionLoadPB.getLastMajorCompactionTs();<a name="line.193"></a>
-<span class="sourceLineNo">194</span>  }<a name="line.194"></a>
-<span class="sourceLineNo">195</span><a name="line.195"></a>
-<span class="sourceLineNo">196</span>  /**<a name="line.196"></a>
-<span class="sourceLineNo">197</span>   * @see java.lang.Object#toString()<a name="line.197"></a>
-<span class="sourceLineNo">198</span>   */<a name="line.198"></a>
-<span class="sourceLineNo">199</span>  @Override<a name="line.199"></a>
-<span class="sourceLineNo">200</span>  public String toString() {<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    StringBuilder sb = Strings.appendKeyValue(new StringBuilder(), "numberOfStores",<a name="line.201"></a>
-<span class="sourceLineNo">202</span>        this.getStores());<a name="line.202"></a>
-<span class="sourceLineNo">203</span>    sb = Strings.appendKeyValue(sb, "numberOfStorefiles",<a name="line.203"></a>
-<span class="sourceLineNo">204</span>        this.getStorefiles());<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    sb = Strings.appendKeyValue(sb, "storefileUncompressedSizeMB",<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      this.getStoreUncompressedSizeMB());<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    sb = Strings.appendKeyValue(sb, "lastMajorCompactionTimestamp",<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      this.getLastMajorCompactionTs());<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    sb = Strings.appendKeyValue(sb, "storefileSizeMB",<a name="line.209"></a>
-<span class="sourceLineNo">210</span>        this.getStorefileSizeMB());<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    if (this.getStoreUncompressedSizeMB() != 0) {<a name="line.211"></a>
-<span class="sourceLineNo">212</span>      sb = Strings.appendKeyValue(sb, "compressionRatio",<a name="line.212"></a>
-<span class="sourceLineNo">213</span>          String.format("%.4f", (float) this.getStorefileSizeMB() /<a name="line.213"></a>
-<span class="sourceLineNo">214</span>              (float) this.getStoreUncompressedSizeMB()));<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    }<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    sb = Strings.appendKeyValue(sb, "memstoreSizeMB",<a name="line.216"></a>
-<span class="sourceLineNo">217</span>        this.getMemStoreSizeMB());<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    sb = Strings.appendKeyValue(sb, "storefileIndexSizeMB",<a name="line.218"></a>
-<span class="sourceLineNo">219</span>        this.getStorefileIndexSizeMB());<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    sb = Strings.appendKeyValue(sb, "readRequestsCount",<a name="line.220"></a>
-<span class="sourceLineNo">221</span>        this.getReadRequestsCount());<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    sb = Strings.appendKeyValue(sb, "writeRequestsCount",<a name="line.222"></a>
-<span class="sourceLineNo">223</span>        this.getWriteRequestsCount());<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    sb = Strings.appendKeyValue(sb, "rootIndexSizeKB",<a name="line.224"></a>
-<span class="sourceLineNo">225</span>        this.getRootIndexSizeKB());<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    sb = Strings.appendKeyValue(sb, "totalStaticIndexSizeKB",<a name="line.226"></a>
-<span class="sourceLineNo">227</span>        this.getTotalStaticIndexSizeKB());<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    sb = Strings.appendKeyValue(sb, "totalStaticBloomSizeKB",<a name="line.228"></a>
-<span class="sourceLineNo">229</span>        this.getTotalStaticBloomSizeKB());<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    sb = Strings.appendKeyValue(sb, "totalCompactingKVs",<a name="line.230"></a>
-<span class="sourceLineNo">231</span>        this.getTotalCompactingKVs());<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    sb = Strings.appendKeyValue(sb, "currentCompactedKVs",<a name="line.232"></a>
-<span class="sourceLineNo">233</span>        this.getCurrentCompactedKVs());<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    float compactionProgressPct = Float.NaN;<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    if (this.getTotalCompactingKVs() &gt; 0) {<a name="line.235"></a>
-<span class="sourceLineNo">236</span>      compactionProgressPct = ((float) this.getCurrentCompactedKVs() /<a name="line.236"></a>
-<span class="sourceLineNo">237</span>          (float) this.getTotalCompactingKVs());<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    }<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    sb = Strings.appendKeyValue(sb, "compactionProgressPct",<a name="line.239"></a>
-<span class="sourceLineNo">240</span>        compactionProgressPct);<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    sb = Strings.appendKeyValue(sb, "completeSequenceId",<a name="line.241"></a>
-<span class="sourceLineNo">242</span>        this.getCompleteSequenceId());<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    sb = Strings.appendKeyValue(sb, "dataLocality",<a name="line.243"></a>
-<span class="sourceLineNo">244</span>        this.getDataLocality());<a name="line.244"></a>
-<span class="sourceLineNo">245</span>    return sb.toString();<a name="line.245"></a>
-<span class="sourceLineNo">246</span>  }<a name="line.246"></a>
-<span class="sourceLineNo">247</span>}<a name="line.247"></a>
+<span class="sourceLineNo">166</span>   * This does not really belong inside RegionLoad but its being done in the name of expediency.<a name="line.166"></a>
+<span class="sourceLineNo">167</span>   * @return the completed sequence Id for the region<a name="line.167"></a>
+<span class="sourceLineNo">168</span>   */<a name="line.168"></a>
+<span class="sourceLineNo">169</span>  public long getCompleteSequenceId() {<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    return regionLoadPB.getCompleteSequenceId();<a name="line.170"></a>
+<span class="sourceLineNo">171</span>  }<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>
+<span class="sourceLineNo">174</span>   * @return completed sequence id per store.<a name="line.174"></a>
+<span class="sourceLineNo">175</span>   */<a name="line.175"></a>
+<span class="sourceLineNo">176</span>  public List&lt;StoreSequenceId&gt; getStoreCompleteSequenceId() {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    return regionLoadPB.getStoreCompleteSequenceIdList();<a name="line.177"></a>
+<span class="sourceLineNo">178</span>  }<a name="line.178"></a>
+<span class="sourceLineNo">179</span><a name="line.179"></a>
+<span class="sourceLineNo">180</span>  /**<a name="line.180"></a>
+<span class="sourceLineNo">181</span>   * @return the uncompressed size of the storefiles in MB.<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   */<a name="line.182"></a>
+<span class="sourceLineNo">183</span>  public int getStoreUncompressedSizeMB() {<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    return regionLoadPB.getStoreUncompressedSizeMB();<a name="line.184"></a>
+<span class="sourceLineNo">185</span>  }<a name="line.185"></a>
+<span class="sourceLineNo">186</span><a name="line.186"></a>
+<span class="sourceLineNo">187</span>  /**<a name="line.187"></a>
+<span class="sourceLineNo">188</span>   * @return the data locality of region in the regionserver.<a name="line.188"></a>
+<span class="sourceLineNo">189</span>   */<a name="line.189"></a>
+<span class="sourceLineNo">190</span>  public float getDataLocality() {<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    if (regionLoadPB.hasDataLocality()) {<a name="line.191"></a>
+<span class="sourceLineNo">192</span>      return regionLoadPB.getDataLocality();<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    }<a name="line.193"></a>
+<span class="sourceLineNo">194</span>    return 0.0f;<a name="line.194"></a>
+<span class="sourceLineNo">195</span>  }<a name="line.195"></a>
+<span class="sourceLineNo">196</span><a name="line.196"></a>
+<span class="sourceLineNo">197</span>  /**<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   * @return the timestamp of the oldest hfile for any store of this region.<a name="line.198"></a>
+<span class="sourceLineNo">199</span>   */<a name="line.199"></a>
+<span class="sourceLineNo">200</span>  public long getLastMajorCompactionTs() {<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    return regionLoadPB.getLastMajorCompactionTs();<a name="line.201"></a>
+<span class="sourceLineNo">202</span>  }<a name="line.202"></a>
+<span class="sourceLineNo">203</span><a name="line.203"></a>
+<span class="sourceLineNo">204</span>  /**<a name="line.204"></a>
+<span class="sourceLineNo">205</span>   * @see java.lang.Object#toString()<a name="line.205"></a>
+<span class="sourceLineNo">206</span>   */<a name="line.206"></a>
+<span class="sourceLineNo">207</span>  @Override<a name="line.207"></a>
+<span class="sourceLineNo">208</span>  public String toString() {<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    StringBuilder sb = Strings.appendKeyValue(new StringBuilder(), "numberOfStores",<a name="line.209"></a>
+<span class="sourceLineNo">210</span>        this.getStores());<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    sb = Strings.appendKeyValue(sb, "numberOfStorefiles",<a name="line.211"></a>
+<span class="sourceLineNo">212</span>        this.getStorefiles());<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    sb = Strings.appendKeyValue(sb, "storefileUncompressedSizeMB",<a name="line.213"></a>
+<span class="sourceLineNo">214</span>      this.getStoreUncompressedSizeMB());<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    sb = Strings.appendKeyValue(sb, "lastMajorCompactionTimestamp",<a name="line.215"></a>
+<span class="sourceLineNo">216</span>      this.getLastMajorCompactionTs());<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    sb = Strings.appendKeyValue(sb, "storefileSizeMB",<a name="line.217"></a>
+<span class="sourceLineNo">218</span>        this.getStorefileSizeMB());<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    if (this.getStoreUncompressedSizeMB() != 0) {<a name="line.219"></a>
+<span class="sourceLineNo">220</span>      sb = Strings.appendKeyValue(sb, "compressionRatio",<a name="line.220"></a>
+<span class="sourceLineNo">221</span>          String.format("%.4f", (float) this.getStorefileSizeMB() /<a name="line.221"></a>
+<span class="sourceLineNo">222</span>              (float) this.getStoreUncompressedSizeMB()));<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    }<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    sb = Strings.appendKeyValue(sb, "memstoreSizeMB",<a name="line.224"></a>
+<span class="sourceLineNo">225</span>        this.getMemStoreSizeMB());<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    sb = Strings.appendKeyValue(sb, "storefileIndexSizeKB",<a name="line.226"></a>
+<span class="sourceLineNo">227</span>        this.getStorefileIndexSizeKB());<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    sb = Strings.appendKeyValue(sb, "readRequestsCount",<a name="line.228"></a>
+<span class="sourceLineNo">229</span>        this.getReadRequestsCount());<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    sb = Strings.appendKeyValue(sb, "writeRequestsCount",<a name="line.230"></a>
+<span class="sourceLineNo">231</span>        this.getWriteRequestsCount());<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    sb = Strings.appendKeyValue(sb, "rootIndexSizeKB",<a name="line.232"></a>
+<span class="sourceLineNo">233</span>        this.getRootIndexSizeKB());<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    sb = Strings.appendKeyValue(sb, "totalStaticIndexSizeKB",<a name="line.234"></a>
+<span class="sourceLineNo">235</span>        this.getTotalStaticIndexSizeKB());<a name="line.235"></a>
+<span class="sourceLineNo">236</span>    sb = Strings.appendKeyValue(sb, "totalStaticBloomSizeKB",<a name="line.236"></a>
+<span class="sourceLineNo">237</span>        this.getTotalStaticBloomSizeKB());<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    sb = Strings.appendKeyValue(sb, "totalCompactingKVs",<a name="line.238"></a>
+<span class="sourceLineNo">239</span>        this.getTotalCompactingKVs());<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    sb = Strings.appendKeyValue(sb, "currentCompactedKVs",<a name="line.240"></a>
+<span class="sourceLineNo">241</span>        this.getCurrentCompactedKVs());<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    float compactionProgressPct = Float.NaN;<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    if (this.getTotalCompactingKVs() &gt; 0) {<a name="line.243"></a>
+<span class="sourceLineNo">244</span>      compactionProgressPct = ((float) this.getCurrentCompactedKVs() /<a name="line.244"></a>
+<span class="sourceLineNo">245</span>          (float) this.getTotalCompactingKVs());<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    }<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    sb = Strings.appendKeyValue(sb, "compactionProgressPct",<a name="line.247"></a>
+<span class="sourceLineNo">248</span>        compactionProgressPct);<a name="line.248"></a>
+<span class="sourceLineNo">249</span>    sb = Strings.appendKeyValue(sb, "completeSequenceId",<a name="line.249"></a>
+<span class="sourceLineNo">250</span>        this.getCompleteSequenceId());<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    sb = Strings.appendKeyValue(sb, "dataLocality",<a name="line.251"></a>
+<span class="sourceLineNo">252</span>        this.getDataLocality());<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    return sb.toString();<a name="line.253"></a>
+<span class="sourceLineNo">254</span>  }<a name="line.254"></a>
+<span class="sourceLineNo">255</span>}<a name="line.255"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html b/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html
index 57229e7..2945c3a 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html
@@ -53,7 +53,7 @@
 <span class="sourceLineNo">045</span>  private int storeUncompressedSizeMB = 0;<a name="line.45"></a>
 <span class="sourceLineNo">046</span>  private int storefileSizeMB = 0;<a name="line.46"></a>
 <span class="sourceLineNo">047</span>  private int memstoreSizeMB = 0;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>  private int storefileIndexSizeMB = 0;<a name="line.48"></a>
+<span class="sourceLineNo">048</span>  private long storefileIndexSizeKB = 0;<a name="line.48"></a>
 <span class="sourceLineNo">049</span>  private long readRequestsCount = 0;<a name="line.49"></a>
 <span class="sourceLineNo">050</span>  private long filteredReadRequestsCount = 0;<a name="line.50"></a>
 <span class="sourceLineNo">051</span>  private long writeRequestsCount = 0;<a name="line.51"></a>
@@ -72,7 +72,7 @@
 <span class="sourceLineNo">064</span>      storeUncompressedSizeMB += rl.getStoreUncompressedSizeMB();<a name="line.64"></a>
 <span class="sourceLineNo">065</span>      storefileSizeMB += rl.getStorefileSizeMB();<a name="line.65"></a>
 <span class="sourceLineNo">066</span>      memstoreSizeMB += rl.getMemstoreSizeMB();<a name="line.66"></a>
-<span class="sourceLineNo">067</span>      storefileIndexSizeMB += rl.getStorefileIndexSizeMB();<a name="line.67"></a>
+<span class="sourceLineNo">067</span>      storefileIndexSizeKB += rl.getStorefileIndexSizeKB();<a name="line.67"></a>
 <span class="sourceLineNo">068</span>      readRequestsCount += rl.getReadRequestsCount();<a name="line.68"></a>
 <span class="sourceLineNo">069</span>      filteredReadRequestsCount += rl.getFilteredReadRequestsCount();<a name="line.69"></a>
 <span class="sourceLineNo">070</span>      writeRequestsCount += rl.getWriteRequestsCount();<a name="line.70"></a>
@@ -167,206 +167,207 @@
 <span class="sourceLineNo">159</span><a name="line.159"></a>
 <span class="sourceLineNo">160</span>  /**<a name="line.160"></a>
 <span class="sourceLineNo">161</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   * Use {@link #getStorefileIndexSizeMB()} instead.<a name="line.162"></a>
+<span class="sourceLineNo">162</span>   * Use {@link #getStorefileIndexSizeKB()} instead.<a name="line.162"></a>
 <span class="sourceLineNo">163</span>   */<a name="line.163"></a>
 <span class="sourceLineNo">164</span>  @Deprecated<a name="line.164"></a>
 <span class="sourceLineNo">165</span>  public int getStorefileIndexSizeInMB() {<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    return storefileIndexSizeMB;<a name="line.166"></a>
-<span class="sourceLineNo">167</span>  }<a name="line.167"></a>
-<span class="sourceLineNo">168</span><a name="line.168"></a>
-<span class="sourceLineNo">169</span>  public int getStorefileIndexSizeMB() {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    return storefileIndexSizeMB;<a name="line.170"></a>
-<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
-<span class="sourceLineNo">172</span><a name="line.172"></a>
-<span class="sourceLineNo">173</span>  public long getReadRequestsCount() {<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    return readRequestsCount;<a name="line.174"></a>
-<span class="sourceLineNo">175</span>  }<a name="line.175"></a>
-<span class="sourceLineNo">176</span><a name="line.176"></a>
-<span class="sourceLineNo">177</span>  public long getFilteredReadRequestsCount() {<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    return filteredReadRequestsCount;<a name="line.178"></a>
-<span class="sourceLineNo">179</span>  }<a name="line.179"></a>
-<span class="sourceLineNo">180</span><a name="line.180"></a>
-<span class="sourceLineNo">181</span>  public long getWriteRequestsCount() {<a name="line.181"></a>
-<span class="sourceLineNo">182</span>    return writeRequestsCount;<a name="line.182"></a>
-<span class="sourceLineNo">183</span>  }<a name="line.183"></a>
-<span class="sourceLineNo">184</span><a name="line.184"></a>
-<span class="sourceLineNo">185</span>  public int getRootIndexSizeKB() {<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    return rootIndexSizeKB;<a name="line.186"></a>
-<span class="sourceLineNo">187</span>  }<a name="line.187"></a>
-<span class="sourceLineNo">188</span><a name="line.188"></a>
-<span class="sourceLineNo">189</span>  public int getTotalStaticIndexSizeKB() {<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    return totalStaticIndexSizeKB;<a name="line.190"></a>
-<span class="sourceLineNo">191</span>  }<a name="line.191"></a>
-<span class="sourceLineNo">192</span><a name="line.192"></a>
-<span class="sourceLineNo">193</span>  public int getTotalStaticBloomSizeKB() {<a name="line.193"></a>
-<span class="sourceLineNo">194</span>    return totalStaticBloomSizeKB;<a name="line.194"></a>
-<span class="sourceLineNo">195</span>  }<a name="line.195"></a>
-<span class="sourceLineNo">196</span><a name="line.196"></a>
-<span class="sourceLineNo">197</span>  public long getTotalCompactingKVs() {<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    return totalCompactingKVs;<a name="line.198"></a>
-<span class="sourceLineNo">199</span>  }<a name="line.199"></a>
-<span class="sourceLineNo">200</span><a name="line.200"></a>
-<span class="sourceLineNo">201</span>  public long getCurrentCompactedKVs() {<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    return currentCompactedKVs;<a name="line.202"></a>
-<span class="sourceLineNo">203</span>  }<a name="line.203"></a>
-<span class="sourceLineNo">204</span><a name="line.204"></a>
-<span class="sourceLineNo">205</span>  /**<a name="line.205"></a>
-<span class="sourceLineNo">206</span>   * @return the number of regions<a name="line.206"></a>
-<span class="sourceLineNo">207</span>   */<a name="line.207"></a>
-<span class="sourceLineNo">208</span>  public int getNumberOfRegions() {<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    return serverLoad.getRegionLoadsCount();<a name="line.209"></a>
-<span class="sourceLineNo">210</span>  }<a name="line.210"></a>
-<span class="sourceLineNo">211</span><a name="line.211"></a>
-<span class="sourceLineNo">212</span>  public int getInfoServerPort() {<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    return serverLoad.getInfoServerPort();<a name="line.213"></a>
-<span class="sourceLineNo">214</span>  }<a name="line.214"></a>
-<span class="sourceLineNo">215</span><a name="line.215"></a>
-<span class="sourceLineNo">216</span>  /**<a name="line.216"></a>
-<span class="sourceLineNo">217</span>   * Call directly from client such as hbase shell<a name="line.217"></a>
-<span class="sourceLineNo">218</span>   * @return the list of ReplicationLoadSource<a name="line.218"></a>
-<span class="sourceLineNo">219</span>   */<a name="line.219"></a>
-<span class="sourceLineNo">220</span>  public List&lt;ReplicationLoadSource&gt; getReplicationLoadSourceList() {<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    return ProtobufUtil.toReplicationLoadSourceList(serverLoad.getReplLoadSourceList());<a name="line.221"></a>
-<span class="sourceLineNo">222</span>  }<a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span>  /**<a name="line.224"></a>
-<span class="sourceLineNo">225</span>   * Call directly from client such as hbase shell<a name="line.225"></a>
-<span class="sourceLineNo">226</span>   * @return ReplicationLoadSink<a name="line.226"></a>
-<span class="sourceLineNo">227</span>   */<a name="line.227"></a>
-<span class="sourceLineNo">228</span>  public ReplicationLoadSink getReplicationLoadSink() {<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    if (serverLoad.hasReplLoadSink()) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      return ProtobufUtil.toReplicationLoadSink(serverLoad.getReplLoadSink());<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    } else {<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      return null;<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    }<a name="line.233"></a>
-<span class="sourceLineNo">234</span>  }<a name="line.234"></a>
-<span class="sourceLineNo">235</span><a name="line.235"></a>
-<span class="sourceLineNo">236</span>  /**<a name="line.236"></a>
-<span class="sourceLineNo">237</span>   * Originally, this method factored in the effect of requests going to the<a name="line.237"></a>
-<span class="sourceLineNo">238</span>   * server as well. However, this does not interact very well with the current<a name="line.238"></a>
-<span class="sourceLineNo">239</span>   * region rebalancing code, which only factors number of regions. For the<a name="line.239"></a>
-<span class="sourceLineNo">240</span>   * interim, until we can figure out how to make rebalancing use all the info<a name="line.240"></a>
-<span class="sourceLineNo">241</span>   * available, we're just going to make load purely the number of regions.<a name="line.241"></a>
-<span class="sourceLineNo">242</span>   *<a name="line.242"></a>
-<span class="sourceLineNo">243</span>   * @return load factor for this server<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   */<a name="line.244"></a>
-<span class="sourceLineNo">245</span>  public int getLoad() {<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    // See above comment<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    // int load = numberOfRequests == 0 ? 1 : numberOfRequests;<a name="line.247"></a>
-<span class="sourceLineNo">248</span>    // load *= numberOfRegions == 0 ? 1 : numberOfRegions;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    // return load;<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    return getNumberOfRegions();<a name="line.250"></a>
-<span class="sourceLineNo">251</span>  }<a name="line.251"></a>
-<span class="sourceLineNo">252</span><a name="line.252"></a>
-<span class="sourceLineNo">253</span>  /**<a name="line.253"></a>
-<span class="sourceLineNo">254</span>   * @return region load metrics<a name="line.254"></a>
-<span class="sourceLineNo">255</span>   */<a name="line.255"></a>
-<span class="sourceLineNo">256</span>  public Map&lt;byte[], RegionLoad&gt; getRegionsLoad() {<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    Map&lt;byte[], RegionLoad&gt; regionLoads =<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    for (ClusterStatusProtos.RegionLoad rl : serverLoad.getRegionLoadsList()) {<a name="line.259"></a>
-<span class="sourceLineNo">260</span>      RegionLoad regionLoad = new RegionLoad(rl);<a name="line.260"></a>
-<span class="sourceLineNo">261</span>      regionLoads.put(regionLoad.getName(), regionLoad);<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    }<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    return regionLoads;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>  }<a name="line.264"></a>
-<span class="sourceLineNo">265</span><a name="line.265"></a>
-<span class="sourceLineNo">266</span>  /**<a name="line.266"></a>
-<span class="sourceLineNo">267</span>   * Return the RegionServer-level coprocessors<a name="line.267"></a>
-<span class="sourceLineNo">268</span>   * @return string array of loaded RegionServer-level coprocessors<a name="line.268"></a>
-<span class="sourceLineNo">269</span>   */<a name="line.269"></a>
-<span class="sourceLineNo">270</span>  public String[] getRegionServerCoprocessors() {<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    List&lt;Coprocessor&gt; list = obtainServerLoadPB().getCoprocessorsList();<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    String [] ret = new String[list.size()];<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    int i = 0;<a name="line.273"></a>
-<span class="sourceLineNo">274</span>    for (Coprocessor elem : list) {<a name="line.274"></a>
-<span class="sourceLineNo">275</span>      ret[i++] = elem.getName();<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    }<a name="line.276"></a>
-<span class="sourceLineNo">277</span><a name="line.277"></a>
-<span class="sourceLineNo">278</span>    return ret;<a name="line.278"></a>
-<span class="sourceLineNo">279</span>  }<a name="line.279"></a>
-<span class="sourceLineNo">280</span><a name="line.280"></a>
-<span class="sourceLineNo">281</span>  /**<a name="line.281"></a>
-<span class="sourceLineNo">282</span>   * Return the RegionServer-level and Region-level coprocessors<a name="line.282"></a>
-<span class="sourceLineNo">283</span>   * @return string array of loaded RegionServer-level and<a name="line.283"></a>
-<span class="sourceLineNo">284</span>   *         Region-level coprocessors<a name="line.284"></a>
-<span class="sourceLineNo">285</span>   */<a name="line.285"></a>
-<span class="sourceLineNo">286</span>  public String[] getRsCoprocessors() {<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    // Need a set to remove duplicates, but since generated Coprocessor class<a name="line.287"></a>
-<span class="sourceLineNo">288</span>    // is not Comparable, make it a Set&lt;String&gt; instead of Set&lt;Coprocessor&gt;<a name="line.288"></a>
-<span class="sourceLineNo">289</span>    TreeSet&lt;String&gt; coprocessSet = new TreeSet&lt;&gt;();<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    for (Coprocessor coprocessor : obtainServerLoadPB().getCoprocessorsList()) {<a name="line.290"></a>
-<span class="sourceLineNo">291</span>      coprocessSet.add(coprocessor.getName());<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    }<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    return coprocessSet.toArray(new String[coprocessSet.size()]);<a name="line.293"></a>
-<span class="sourceLineNo">294</span>  }<a name="line.294"></a>
-<span class="sourceLineNo">295</span><a name="line.295"></a>
-<span class="sourceLineNo">296</span>  /**<a name="line.296"></a>
-<span class="sourceLineNo">297</span>   * @return number of requests per second received since the last report<a name="line.297"></a>
-<span class="sourceLineNo">298</span>   */<a name="line.298"></a>
-<span class="sourceLineNo">299</span>  public double getRequestsPerSecond() {<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    return getNumberOfRequests();<a name="line.300"></a>
-<span class="sourceLineNo">301</span>  }<a name="line.301"></a>
-<span class="sourceLineNo">302</span><a name="line.302"></a>
-<span class="sourceLineNo">303</span>  /**<a name="line.303"></a>
-<span class="sourceLineNo">304</span>   * @see java.lang.Object#toString()<a name="line.304"></a>
-<span class="sourceLineNo">305</span>   */<a name="line.305"></a>
-<span class="sourceLineNo">306</span>  @Override<a name="line.306"></a>
-<span class="sourceLineNo">307</span>  public String toString() {<a name="line.307"></a>
-<span class="sourceLineNo">308</span>     StringBuilder sb =<a name="line.308"></a>
-<span class="sourceLineNo">309</span>        Strings.appendKeyValue(new StringBuilder(), "requestsPerSecond",<a name="line.309"></a>
-<span class="sourceLineNo">310</span>          Double.valueOf(getRequestsPerSecond()));<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    Strings.appendKeyValue(sb, "numberOfOnlineRegions", Integer.valueOf(getNumberOfRegions()));<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    sb = Strings.appendKeyValue(sb, "usedHeapMB", Integer.valueOf(this.getUsedHeapMB()));<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    sb = Strings.appendKeyValue(sb, "maxHeapMB", Integer.valueOf(getMaxHeapMB()));<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    sb = Strings.appendKeyValue(sb, "numberOfStores", Integer.valueOf(this.stores));<a name="line.314"></a>
-<span class="sourceLineNo">315</span>    sb = Strings.appendKeyValue(sb, "numberOfStorefiles", Integer.valueOf(this.storefiles));<a name="line.315"></a>
-<span class="sourceLineNo">316</span>    sb =<a name="line.316"></a>
-<span class="sourceLineNo">317</span>        Strings.appendKeyValue(sb, "storefileUncompressedSizeMB",<a name="line.317"></a>
-<span class="sourceLineNo">318</span>          Integer.valueOf(this.storeUncompressedSizeMB));<a name="line.318"></a>
-<span class="sourceLineNo">319</span>    sb = Strings.appendKeyValue(sb, "storefileSizeMB", Integer.valueOf(this.storefileSizeMB));<a name="line.319"></a>
-<span class="sourceLineNo">320</span>    if (this.storeUncompressedSizeMB != 0) {<a name="line.320"></a>
-<span class="sourceLineNo">321</span>      sb =<a name="line.321"></a>
-<span class="sourceLineNo">322</span>          Strings.appendKeyValue(<a name="line.322"></a>
-<span class="sourceLineNo">323</span>            sb,<a name="line.323"></a>
-<span class="sourceLineNo">324</span>            "compressionRatio",<a name="line.324"></a>
-<span class="sourceLineNo">325</span>            String.format("%.4f", (float) this.storefileSizeMB<a name="line.325"></a>
-<span class="sourceLineNo">326</span>                / (float) this.storeUncompressedSizeMB));<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    }<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    sb = Strings.appendKeyValue(sb, "memstoreSizeMB", Integer.valueOf(this.memstoreSizeMB));<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    sb =<a name="line.329"></a>
-<span class="sourceLineNo">330</span>        Strings.appendKeyValue(sb, "storefileIndexSizeMB",<a name="line.330"></a>
-<span class="sourceLineNo">331</span>          Integer.valueOf(this.storefileIndexSizeMB));<a name="line.331"></a>
-<span class="sourceLineNo">332</span>    sb = Strings.appendKeyValue(sb, "readRequestsCount", Long.valueOf(this.readRequestsCount));<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    sb = Strings.appendKeyValue(sb, "filteredReadRequestsCount",<a name="line.333"></a>
-<span class="sourceLineNo">334</span>      Long.valueOf(this.filteredReadRequestsCount));<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    sb = Strings.appendKeyValue(sb, "writeRequestsCount", Long.valueOf(this.writeRequestsCount));<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    sb = Strings.appendKeyValue(sb, "rootIndexSizeKB", Integer.valueOf(this.rootIndexSizeKB));<a name="line.336"></a>
-<span class="sourceLineNo">337</span>    sb =<a name="line.337"></a>
-<span class="sourceLineNo">338</span>        Strings.appendKeyValue(sb, "totalStaticIndexSizeKB",<a name="line.338"></a>
-<span class="sourceLineNo">339</span>          Integer.valueOf(this.totalStaticIndexSizeKB));<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    sb =<a name="line.340"></a>
-<span class="sourceLineNo">341</span>        Strings.appendKeyValue(sb, "totalStaticBloomSizeKB",<a name="line.341"></a>
-<span class="sourceLineNo">342</span>          Integer.valueOf(this.totalStaticBloomSizeKB));<a name="line.342"></a>
-<span class="sourceLineNo">343</span>    sb = Strings.appendKeyValue(sb, "totalCompactingKVs", Long.valueOf(this.totalCompactingKVs));<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    sb = Strings.appendKeyValue(sb, "currentCompactedKVs", Long.valueOf(this.currentCompactedKVs));<a name="line.344"></a>
-<span class="sourceLineNo">345</span>    float compactionProgressPct = Float.NaN;<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    if (this.totalCompactingKVs &gt; 0) {<a name="line.346"></a>
-<span class="sourceLineNo">347</span>      compactionProgressPct =<a name="line.347"></a>
-<span class="sourceLineNo">348</span>          Float.valueOf((float) this.currentCompactedKVs / this.totalCompactingKVs);<a name="line.348"></a>
-<span class="sourceLineNo">349</span>    }<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    sb = Strings.appendKeyValue(sb, "compactionProgressPct", compactionProgressPct);<a name="line.350"></a>
-<span class="sourceLineNo">351</span><a name="line.351"></a>
-<span class="sourceLineNo">352</span>    String[] coprocessorStrings = getRsCoprocessors();<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    if (coprocessorStrings != null) {<a name="line.353"></a>
-<span class="sourceLineNo">354</span>      sb = Strings.appendKeyValue(sb, "coprocessors", Arrays.toString(coprocessorStrings));<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    }<a name="line.355"></a>
-<span class="sourceLineNo">356</span>    return sb.toString();<a name="line.356"></a>
-<span class="sourceLineNo">357</span>  }<a name="line.357"></a>
-<span class="sourceLineNo">358</span><a name="line.358"></a>
-<span class="sourceLineNo">359</span>  public static final ServerLoad EMPTY_SERVERLOAD =<a name="line.359"></a>
-<span class="sourceLineNo">360</span>    new ServerLoad(ClusterStatusProtos.ServerLoad.newBuilder().build());<a name="line.360"></a>
-<span class="sourceLineNo">361</span>}<a name="line.361"></a>
+<span class="sourceLineNo">166</span>    // Return value divided by 1024<a name="line.166"></a>
+<span class="sourceLineNo">167</span>    return (int) (getStorefileIndexSizeKB() &gt;&gt; 10);<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>  public long getStorefileIndexSizeKB() {<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    return storefileIndexSizeKB;<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>
+<span class="sourceLineNo">174</span>  public long getReadRequestsCount() {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    return readRequestsCount;<a name="line.175"></a>
+<span class="sourceLineNo">176</span>  }<a name="line.176"></a>
+<span class="sourceLineNo">177</span><a name="line.177"></a>
+<span class="sourceLineNo">178</span>  public long getFilteredReadRequestsCount() {<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    return filteredReadRequestsCount;<a name="line.179"></a>
+<span class="sourceLineNo">180</span>  }<a name="line.180"></a>
+<span class="sourceLineNo">181</span><a name="line.181"></a>
+<span class="sourceLineNo">182</span>  public long getWriteRequestsCount() {<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    return writeRequestsCount;<a name="line.183"></a>
+<span class="sourceLineNo">184</span>  }<a name="line.184"></a>
+<span class="sourceLineNo">185</span><a name="line.185"></a>
+<span class="sourceLineNo">186</span>  public int getRootIndexSizeKB() {<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    return rootIndexSizeKB;<a name="line.187"></a>
+<span class="sourceLineNo">188</span>  }<a name="line.188"></a>
+<span class="sourceLineNo">189</span><a name="line.189"></a>
+<span class="sourceLineNo">190</span>  public int getTotalStaticIndexSizeKB() {<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    return totalStaticIndexSizeKB;<a name="line.191"></a>
+<span class="sourceLineNo">192</span>  }<a name="line.192"></a>
+<span class="sourceLineNo">193</span><a name="line.193"></a>
+<span class="sourceLineNo">194</span>  public int getTotalStaticBloomSizeKB() {<a name="line.194"></a>
+<span class="sourceLineNo">195</span>    return totalStaticBloomSizeKB;<a name="line.195"></a>
+<span class="sourceLineNo">196</span>  }<a name="line.196"></a>
+<span class="sourceLineNo">197</span><a name="line.197"></a>
+<span class="sourceLineNo">198</span>  public long getTotalCompactingKVs() {<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    return totalCompactingKVs;<a name="line.199"></a>
+<span class="sourceLineNo">200</span>  }<a name="line.200"></a>
+<span class="sourceLineNo">201</span><a name="line.201"></a>
+<span class="sourceLineNo">202</span>  public long getCurrentCompactedKVs() {<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    return currentCompactedKVs;<a name="line.203"></a>
+<span class="sourceLineNo">204</span>  }<a name="line.204"></a>
+<span class="sourceLineNo">205</span><a name="line.205"></a>
+<span class="sourceLineNo">206</span>  /**<a name="line.206"></a>
+<span class="sourceLineNo">207</span>   * @return the number of regions<a name="line.207"></a>
+<span class="sourceLineNo">208</span>   */<a name="line.208"></a>
+<span class="sourceLineNo">209</span>  public int getNumberOfRegions() {<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    return serverLoad.getRegionLoadsCount();<a name="line.210"></a>
+<span class="sourceLineNo">211</span>  }<a name="line.211"></a>
+<span class="sourceLineNo">212</span><a name="line.212"></a>
+<span class="sourceLineNo">213</span>  public int getInfoServerPort() {<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    return serverLoad.getInfoServerPort();<a name="line.214"></a>
+<span class="sourceLineNo">215</span>  }<a name="line.215"></a>
+<span class="sourceLineNo">216</span><a name="line.216"></a>
+<span class="sourceLineNo">217</span>  /**<a name="line.217"></a>
+<span class="sourceLineNo">218</span>   * Call directly from client such as hbase shell<a name="line.218"></a>
+<span class="sourceLineNo">219</span>   * @return the list of ReplicationLoadSource<a name="line.219"></a>
+<span class="sourceLineNo">220</span>   */<a name="line.220"></a>
+<span class="sourceLineNo">221</span>  public List&lt;ReplicationLoadSource&gt; getReplicationLoadSourceList() {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>    return ProtobufUtil.toReplicationLoadSourceList(serverLoad.getReplLoadSourceList());<a name="line.222"></a>
+<span class="sourceLineNo">223</span>  }<a name="line.223"></a>
+<span class="sourceLineNo">224</span><a name="line.224"></a>
+<span class="sourceLineNo">225</span>  /**<a name="line.225"></a>
+<span class="sourceLineNo">226</span>   * Call directly from client such as hbase shell<a name="line.226"></a>
+<span class="sourceLineNo">227</span>   * @return ReplicationLoadSink<a name="line.227"></a>
+<span class="sourceLineNo">228</span>   */<a name="line.228"></a>
+<span class="sourceLineNo">229</span>  public ReplicationLoadSink getReplicationLoadSink() {<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    if (serverLoad.hasReplLoadSink()) {<a name="line.230"></a>
+<span class="sourceLineNo">231</span>      return ProtobufUtil.toReplicationLoadSink(serverLoad.getReplLoadSink());<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    } else {<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      return null;<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
+<span class="sourceLineNo">235</span>  }<a name="line.235"></a>
+<span class="sourceLineNo">236</span><a name="line.236"></a>
+<span class="sourceLineNo">237</span>  /**<a name="line.237"></a>
+<span class="sourceLineNo">238</span>   * Originally, this method factored in the effect of requests going to the<a name="line.238"></a>
+<span class="sourceLineNo">239</span>   * server as well. However, this does not interact very well with the current<a name="line.239"></a>
+<span class="sourceLineNo">240</span>   * region rebalancing code, which only factors number of regions. For the<a name="line.240"></a>
+<span class="sourceLineNo">241</span>   * interim, until we can figure out how to make rebalancing use all the info<a name="line.241"></a>
+<span class="sourceLineNo">242</span>   * available, we're just going to make load purely the number of regions.<a name="line.242"></a>
+<span class="sourceLineNo">243</span>   *<a name="line.243"></a>
+<span class="sourceLineNo">244</span>   * @return load factor for this server<a name="line.244"></a>
+<span class="sourceLineNo">245</span>   */<a name="line.245"></a>
+<span class="sourceLineNo">246</span>  public int getLoad() {<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    // See above comment<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    // int load = numberOfRequests == 0 ? 1 : numberOfRequests;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>    // load *= numberOfRegions == 0 ? 1 : numberOfRegions;<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    // return load;<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    return getNumberOfRegions();<a name="line.251"></a>
+<span class="sourceLineNo">252</span>  }<a name="line.252"></a>
+<span class="sourceLineNo">253</span><a name="line.253"></a>
+<span class="sourceLineNo">254</span>  /**<a name="line.254"></a>
+<span class="sourceLineNo">255</span>   * @return region load metrics<a name="line.255"></a>
+<span class="sourceLineNo">256</span>   */<a name="line.256"></a>
+<span class="sourceLineNo">257</span>  public Map&lt;byte[], RegionLoad&gt; getRegionsLoad() {<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    Map&lt;byte[], RegionLoad&gt; regionLoads =<a name="line.258"></a>
+<span class="sourceLineNo">259</span>      new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    for (ClusterStatusProtos.RegionLoad rl : serverLoad.getRegionLoadsList()) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>      RegionLoad regionLoad = new RegionLoad(rl);<a name="line.261"></a>
+<span class="sourceLineNo">262</span>      regionLoads.put(regionLoad.getName(), regionLoad);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    }<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    return regionLoads;<a name="line.264"></a>
+<span class="sourceLineNo">265</span>  }<a name="line.265"></a>
+<span class="sourceLineNo">266</span><a name="line.266"></a>
+<span class="sourceLineNo">267</span>  /**<a name="line.267"></a>
+<span class="sourceLineNo">268</span>   * Return the RegionServer-level coprocessors<a name="line.268"></a>
+<span class="sourceLineNo">269</span>   * @return string array of loaded RegionServer-level coprocessors<a name="line.269"></a>
+<span class="sourceLineNo">270</span>   */<a name="line.270"></a>
+<span class="sourceLineNo">271</span>  public String[] getRegionServerCoprocessors() {<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    List&lt;Coprocessor&gt; list = obtainServerLoadPB().getCoprocessorsList();<a name="line.272"></a>
+<span class="sourceLineNo">273</span>    String [] ret = new String[list.size()];<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    int i = 0;<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    for (Coprocessor elem : list) {<a name="line.275"></a>
+<span class="sourceLineNo">276</span>      ret[i++] = elem.getName();<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    }<a name="line.277"></a>
+<span class="sourceLineNo">278</span><a name="line.278"></a>
+<span class="sourceLineNo">279</span>    return ret;<a name="line.279"></a>
+<span class="sourceLineNo">280</span>  }<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span>  /**<a name="line.282"></a>
+<span class="sourceLineNo">283</span>   * Return the RegionServer-level and Region-level coprocessors<a name="line.283"></a>
+<span class="sourceLineNo">284</span>   * @return string array of loaded RegionServer-level and<a name="line.284"></a>
+<span class="sourceLineNo">285</span>   *         Region-level coprocessors<a name="line.285"></a>
+<span class="sourceLineNo">286</span>   */<a name="line.286"></a>
+<span class="sourceLineNo">287</span>  public String[] getRsCoprocessors() {<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    // Need a set to remove duplicates, but since generated Coprocessor class<a name="line.288"></a>
+<span class="sourceLineNo">289</span>    // is not Comparable, make it a Set&lt;String&gt; instead of Set&lt;Coprocessor&gt;<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    TreeSet&lt;String&gt; coprocessSet = new TreeSet&lt;&gt;();<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    for (Coprocessor coprocessor : obtainServerLoadPB().getCoprocessorsList()) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      coprocessSet.add(coprocessor.getName());<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    return coprocessSet.toArray(new String[coprocessSet.size()]);<a name="line.294"></a>
+<span class="sourceLineNo">295</span>  }<a name="line.295"></a>
+<span class="sourceLineNo">296</span><a name="line.296"></a>
+<span class="sourceLineNo">297</span>  /**<a name="line.297"></a>
+<span class="sourceLineNo">298</span>   * @return number of requests per second received since the last report<a name="line.298"></a>
+<span class="sourceLineNo">299</span>   */<a name="line.299"></a>
+<span class="sourceLineNo">300</span>  public double getRequestsPerSecond() {<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    return getNumberOfRequests();<a name="line.301"></a>
+<span class="sourceLineNo">302</span>  }<a name="line.302"></a>
+<span class="sourceLineNo">303</span><a name="line.303"></a>
+<span class="sourceLineNo">304</span>  /**<a name="line.304"></a>
+<span class="sourceLineNo">305</span>   * @see java.lang.Object#toString()<a name="line.305"></a>
+<span class="sourceLineNo">306</span>   */<a name="line.306"></a>
+<span class="sourceLineNo">307</span>  @Override<a name="line.307"></a>
+<span class="sourceLineNo">308</span>  public String toString() {<a name="line.308"></a>
+<span class="sourceLineNo">309</span>     StringBuilder sb =<a name="line.309"></a>
+<span class="sourceLineNo">310</span>        Strings.appendKeyValue(new StringBuilder(), "requestsPerSecond",<a name="line.310"></a>
+<span class="sourceLineNo">311</span>          Double.valueOf(getRequestsPerSecond()));<a name="line.311"></a>
+<span class="sourceLineNo">312</span>    Strings.appendKeyValue(sb, "numberOfOnlineRegions", Integer.valueOf(getNumberOfRegions()));<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    sb = Strings.appendKeyValue(sb, "usedHeapMB", Integer.valueOf(this.getUsedHeapMB()));<a name="line.313"></a>
+<span class="sourceLineNo">314</span>    sb = Strings.appendKeyValue(sb, "maxHeapMB", Integer.valueOf(getMaxHeapMB()));<a name="line.314"></a>
+<span class="sourceLineNo">315</span>    sb = Strings.appendKeyValue(sb, "numberOfStores", Integer.valueOf(this.stores));<a name="line.315"></a>
+<span class="sourceLineNo">316</span>    sb = Strings.appendKeyValue(sb, "numberOfStorefiles", Integer.valueOf(this.storefiles));<a name="line.316"></a>
+<span class="sourceLineNo">317</span>    sb =<a name="line.317"></a>
+<span class="sourceLineNo">318</span>        Strings.appendKeyValue(sb, "storefileUncompressedSizeMB",<a name="line.318"></a>
+<span class="sourceLineNo">319</span>          Integer.valueOf(this.storeUncompressedSizeMB));<a name="line.319"></a>
+<span class="sourceLineNo">320</span>    sb = Strings.appendKeyValue(sb, "storefileSizeMB", Integer.valueOf(this.storefileSizeMB));<a name="line.320"></a>
+<span class="sourceLineNo">321</span>    if (this.storeUncompressedSizeMB != 0) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>      sb =<a name="line.322"></a>
+<span class="sourceLineNo">323</span>          Strings.appendKeyValue(<a name="line.323"></a>
+<span class="sourceLineNo">324</span>            sb,<a name="line.324"></a>
+<span class="sourceLineNo">325</span>            "compressionRatio",<a name="line.325"></a>
+<span class="sourceLineNo">326</span>            String.format("%.4f", (float) this.storefileSizeMB<a name="line.326"></a>
+<span class="sourceLineNo">327</span>                / (float) this.storeUncompressedSizeMB));<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    }<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    sb = Strings.appendKeyValue(sb, "memstoreSizeMB", Integer.valueOf(this.memstoreSizeMB));<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    sb =<a name="line.330"></a>
+<span class="sourceLineNo">331</span>        Strings.appendKeyValue(sb, "storefileIndexSizeKB",<a name="line.331"></a>
+<span class="sourceLineNo">332</span>          Long.valueOf(this.storefileIndexSizeKB));<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    sb = Strings.appendKeyValue(sb, "readRequestsCount", Long.valueOf(this.readRequestsCount));<a name="line.333"></a>
+<span class="sourceLineNo">334</span>    sb = Strings.appendKeyValue(sb, "filteredReadRequestsCount",<a name="line.334"></a>
+<span class="sourceLineNo">335</span>      Long.valueOf(this.filteredReadRequestsCount));<a name="line.335"></a>
+<span class="sourceLineNo">336</span>    sb = Strings.appendKeyValue(sb, "writeRequestsCount", Long.valueOf(this.writeRequestsCount));<a name="line.336"></a>
+<span class="sourceLineNo">337</span>    sb = Strings.appendKeyValue(sb, "rootIndexSizeKB", Integer.valueOf(this.rootIndexSizeKB));<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    sb =<a name="line.338"></a>
+<span class="sourceLineNo">339</span>        Strings.appendKeyValue(sb, "totalStaticIndexSizeKB",<a name="line.339"></a>
+<span class="sourceLineNo">340</span>          Integer.valueOf(this.totalStaticIndexSizeKB));<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    sb =<a name="line.341"></a>
+<span class="sourceLineNo">342</span>        Strings.appendKeyValue(sb, "totalStaticBloomSizeKB",<a name="line.342"></a>
+<span class="sourceLineNo">343</span>          Integer.valueOf(this.totalStaticBloomSizeKB));<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    sb = Strings.appendKeyValue(sb, "totalCompactingKVs", Long.valueOf(this.totalCompactingKVs));<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    sb = Strings.appendKeyValue(sb, "currentCompactedKVs", Long.valueOf(this.currentCompactedKVs));<a name="line.345"></a>
+<span class="sourceLineNo">346</span>    float compactionProgressPct = Float.NaN;<a name="line.346"></a>
+<span class="sourceLineNo">347</span>    if (this.totalCompactingKVs &gt; 0) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>      compactionProgressPct =<a name="line.348"></a>
+<span class="sourceLineNo">349</span>          Float.valueOf((float) this.currentCompactedKVs / this.totalCompactingKVs);<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    }<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    sb = Strings.appendKeyValue(sb, "compactionProgressPct", compactionProgressPct);<a name="line.351"></a>
+<span class="sourceLineNo">352</span><a name="line.352"></a>
+<span class="sourceLineNo">353</span>    String[] coprocessorStrings = getRsCoprocessors();<a name="line.353"></a>
+<span class="sourceLineNo">354</span>    if (coprocessorStrings != null) {<a name="line.354"></a>
+<span class="sourceLineNo">355</span>      sb = Strings.appendKeyValue(sb, "coprocessors", Arrays.toString(coprocessorStrings));<a name="line.355"></a>
+<span class="sourceLineNo">356</span>    }<a name="line.356"></a>
+<span class="sourceLineNo">357</span>    return sb.toString();<a name="line.357"></a>
+<span class="sourceLineNo">358</span>  }<a name="line.358"></a>
+<span class="sourceLineNo">359</span><a name="line.359"></a>
+<span class="sourceLineNo">360</span>  public static final ServerLoad EMPTY_SERVERLOAD =<a name="line.360"></a>
+<span class="sourceLineNo">361</span>    new ServerLoad(ClusterStatusProtos.ServerLoad.newBuilder().build());<a name="line.361"></a>
+<span class="sourceLineNo">362</span>}<a name="line.362"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html b/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
index 1d4df2f..a815722 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
@@ -403,7 +403,7 @@
 <span class="sourceLineNo">395</span>   * @param destinationOffset<a name="line.395"></a>
 <span class="sourceLineNo">396</span>   * @param length<a name="line.396"></a>
 <span class="sourceLineNo">397</span>   */<a name="line.397"></a>
-<span class="sourceLineNo">398</span>  public static int copyFromBufferToBuffer(ByteBuffer in, ByteBuffer out, int sourceOffset,<a name="line.398"></a>
+<span class="sourceLineNo">398</span>  public static void copyFromBufferToBuffer(ByteBuffer in, ByteBuffer out, int sourceOffset,<a name="line.398"></a>
 <span class="sourceLineNo">399</span>      int destinationOffset, int length) {<a name="line.399"></a>
 <span class="sourceLineNo">400</span>    if (in.hasArray() &amp;&amp; out.hasArray()) {<a name="line.400"></a>
 <span class="sourceLineNo">401</span>      System.arraycopy(in.array(), sourceOffset + in.arrayOffset(), out.array(), out.arrayOffset()<a name="line.401"></a>
@@ -417,7 +417,7 @@
 <span class="sourceLineNo">409</span>      inDup.position(sourceOffset).limit(sourceOffset + length);<a name="line.409"></a>
 <span class="sourceLineNo">410</span>      outDup.put(inDup);<a name="line.410"></a>
 <span class="sourceLineNo">411</span>    }<a name="line.411"></a>
-<span class="sourceLineNo">412</span>    return destinationOffset + length;<a name="line.412"></a>
+<span class="sourceLineNo">412</span>    // We used to return a result but disabled; return destinationOffset + length;<a name="line.412"></a>
 <span class="sourceLineNo">413</span>  }<a name="line.413"></a>
 <span class="sourceLineNo">414</span><a name="line.414"></a>
 <span class="sourceLineNo">415</span>  /**<a name="line.415"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/book.html
----------------------------------------------------------------------
diff --git a/book.html b/book.html
index 0c51568..fbf9c1e 100644
--- a/book.html
+++ b/book.html
@@ -11786,7 +11786,7 @@ For some examples of scanner specifications, issue the following HBase Shell com
 </div>
 </div>
 <div class="paragraph">
-<p>This example grants read access to the 'testuser' user and read/write access to the 'developers' group, on cells in the 'pii' column which match the filter.</p>
+<p>If you need to enable cell acl,the hfile.format.version option in hbase-site.xml should be greater than or equal to 3,and the hbase.security.access.early_out option should be set to false.This example grants read access to the 'testuser' user and read/write access to the 'developers' group, on cells in the 'pii' column which match the filter.</p>
 </div>
 <div class="listingblock">
 <div class="content">
@@ -35070,7 +35070,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 2017-08-28 14:29:40 UTC
+Last updated 2017-08-29 14:29:39 UTC
 </div>
 </div>
 </body>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/bulk-loads.html
----------------------------------------------------------------------
diff --git a/bulk-loads.html b/bulk-loads.html
index 35f6ce7..fd31c39 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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       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-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/checkstyle-aggregate.html
----------------------------------------------------------------------
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index 658f469..9d52225 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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -11831,7 +11831,7 @@
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
 <td>Line continuation have incorrect indentation level, expected level should be 2.</td>
-<td>137</td></tr></table></div>
+<td>145</td></tr></table></div>
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.RegionLocations.java">org/apache/hadoop/hbase/RegionLocations.java</h3>
 <table border="0" class="table table-striped">
@@ -11999,7 +11999,7 @@
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 5, expected level should be 4.</td>
-<td>308</td></tr></table></div>
+<td>309</td></tr></table></div>
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.ServerName.java">org/apache/hadoop/hbase/ServerName.java</h3>
 <table border="0" class="table table-striped">
@@ -96519,7 +96519,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/coc.html
----------------------------------------------------------------------
diff --git a/coc.html b/coc.html
index a680c52..441e838 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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Code of Conduct Policy
@@ -380,7 +380,7 @@ email to <a class="externalLink" href="mailto:private@hbase.apache.org">the priv
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/cygwin.html
----------------------------------------------------------------------
diff --git a/cygwin.html b/cygwin.html
index 75cb6ff..a7652a4 100644
--- a/cygwin.html
+++ b/cygwin.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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Installing Apache HBase (TM) on Windows using Cygwin</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -679,7 +679,7 @@ Now your <b>HBase </b>server is running, <b>start coding</b> and build that next
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/dependencies.html
----------------------------------------------------------------------
diff --git a/dependencies.html b/dependencies.html
index a095674..bf7f919 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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -527,7 +527,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/dependency-convergence.html b/dependency-convergence.html
index 4a387f6..f70a381 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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -763,7 +763,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/dependency-info.html
----------------------------------------------------------------------
diff --git a/dependency-info.html b/dependency-info.html
index 1fb3d87..eecf243 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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -318,7 +318,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/dependency-management.html
----------------------------------------------------------------------
diff --git a/dependency-management.html b/dependency-management.html
index 725302b..fc34ab6 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="20170828" />
+    <meta name="Date-Revision-yyyymmdd" content="20170829" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -595,19 +595,19 @@
 <tr class="a">
 <td>org.apache.hbase.thirdparty</td>
 <td><a class="externalLink" href="http://hbase.apache.org/hbase-shaded-miscellaneous">hbase-shaded-miscellaneous</a></td>
-<td>1.0.0</td>
+<td>1.0.1</td>
 <td>jar</td>
 <td><a class="externalLink" href="https://www.apache.org/licenses/LICENSE-2.0.txt">Apache License, Version 2.0</a></td></tr>
 <tr class="b">
 <td>org.apache.hbase.thirdparty</td>
 <td><a class="externalLink" href="http://hbase.apache.org/hbase-shaded-netty">hbase-shaded-netty</a></td>
-<td>1.0.0</td>
+<td>1.0.1</td>
 <td>jar</td>
 <td><a class="externalLink" href="https://www.apache.org/licenses/LICENSE-2.0.txt">Apache License, Version 2.0</a></td></tr>
 <tr class="a">
 <td>org.apache.hbase.thirdparty</td>
 <td><a class="externalLink" href="http://hbase.apache.org/hbase-shaded-protobuf">hbase-shaded-protobuf</a></td>
-<td>1.0.0</td>
+<td>1.0.1</td>
 <td>jar</td>
 <td><a class="externalLink" href="https://www.apache.org/licenses/LICENSE-2.0.txt">Apache License, Version 2.0</a></td></tr>
 <tr class="b">
@@ -930,7 +930,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-28</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-29</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/50597bfb/devapidocs/constant-values.html
----------------------------------------------------------------------
diff --git a/devapidocs/constant-values.html b/devapidocs/constant-values.html
index 2bfe0e5..e6f096c 100644
--- a/devapidocs/constant-values.html
+++ b/devapidocs/constant-values.html
@@ -3836,21 +3836,21 @@
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://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 Aug 28 14:41:21 UTC 2017"</code></td>
+<td class="colLast"><code>"Tue Aug 29 14:41:20 UTC 2017"</code></td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.revision">
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://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>"a7270cc08c75134d01f1f9faf079d6a17955753a"</code></td>
+<td class="colLast"><code>"c91af3e7a4e8048a82601864c1949728bd3a2ce5"</code></td>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.srcChecksum">
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://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>"cae5a91ac777c1eb76d025b366f7067f"</code></td>
+<td class="colLast"><code>"599b3052c80e01185ddd7a0f60f40e79"</code></td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.url">


Mime
View raw message