hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [04/22] hbase-site git commit: Published site at .
Date Thu, 31 Aug 2017 15:13:29 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/devapidocs/src-html/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.html b/devapidocs/src-html/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.html
index 9d4a644..77768b8 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.html
@@ -233,248 +233,251 @@
 <span class="sourceLineNo">225</span>      }<a name="line.225"></a>
 <span class="sourceLineNo">226</span><a name="line.226"></a>
 <span class="sourceLineNo">227</span>      ZooKeeperServer server = new ZooKeeperServer(dir, dir, tickTimeToUse);<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      NIOServerCnxnFactory standaloneServerFactory;<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      while (true) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>        try {<a name="line.230"></a>
-<span class="sourceLineNo">231</span>          standaloneServerFactory = new NIOServerCnxnFactory();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>          standaloneServerFactory.configure(<a name="line.232"></a>
-<span class="sourceLineNo">233</span>            new InetSocketAddress(currentClientPort),<a name="line.233"></a>
-<span class="sourceLineNo">234</span>            configuration.getInt(HConstants.ZOOKEEPER_MAX_CLIENT_CNXNS, 1000));<a name="line.234"></a>
-<span class="sourceLineNo">235</span>        } catch (BindException e) {<a name="line.235"></a>
-<span class="sourceLineNo">236</span>          LOG.debug("Failed binding ZK Server to client port: " +<a name="line.236"></a>
-<span class="sourceLineNo">237</span>              currentClientPort, e);<a name="line.237"></a>
-<span class="sourceLineNo">238</span>          // We're told to use some port but it's occupied, fail<a name="line.238"></a>
-<span class="sourceLineNo">239</span>          if (hasValidClientPortInList(i)) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>            return -1;<a name="line.240"></a>
-<span class="sourceLineNo">241</span>          }<a name="line.241"></a>
-<span class="sourceLineNo">242</span>          // This port is already in use, try to use another.<a name="line.242"></a>
-<span class="sourceLineNo">243</span>          tentativePort = selectClientPort(tentativePort);<a name="line.243"></a>
-<span class="sourceLineNo">244</span>          currentClientPort = tentativePort;<a name="line.244"></a>
-<span class="sourceLineNo">245</span>          continue;<a name="line.245"></a>
-<span class="sourceLineNo">246</span>        }<a name="line.246"></a>
-<span class="sourceLineNo">247</span>        break;<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      }<a name="line.248"></a>
-<span class="sourceLineNo">249</span><a name="line.249"></a>
-<span class="sourceLineNo">250</span>      // Start up this ZK server<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      standaloneServerFactory.startup(server);<a name="line.251"></a>
-<span class="sourceLineNo">252</span>      // Runs a 'stat' against the servers.<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      if (!waitForServerUp(currentClientPort, connectionTimeout)) {<a name="line.253"></a>
-<span class="sourceLineNo">254</span>        throw new IOException("Waiting for startup of standalone server");<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      }<a name="line.255"></a>
-<span class="sourceLineNo">256</span><a name="line.256"></a>
-<span class="sourceLineNo">257</span>      // We have selected a port as a client port.  Update clientPortList if necessary.<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      if (clientPortList.size() &lt;= i) { // it is not in the list, add the port<a name="line.258"></a>
-<span class="sourceLineNo">259</span>        clientPortList.add(currentClientPort);<a name="line.259"></a>
-<span class="sourceLineNo">260</span>      }<a name="line.260"></a>
-<span class="sourceLineNo">261</span>      else if (clientPortList.get(i) &lt;= 0) { // the list has invalid port, update with valid port<a name="line.261"></a>
-<span class="sourceLineNo">262</span>        clientPortList.remove(i);<a name="line.262"></a>
-<span class="sourceLineNo">263</span>        clientPortList.add(i, currentClientPort);<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>      standaloneServerFactoryList.add(standaloneServerFactory);<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      zooKeeperServers.add(server);<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    }<a name="line.268"></a>
-<span class="sourceLineNo">269</span><a name="line.269"></a>
-<span class="sourceLineNo">270</span>    // set the first one to be active ZK; Others are backups<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    activeZKServerIndex = 0;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    started = true;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    int clientPort = clientPortList.get(activeZKServerIndex);<a name="line.273"></a>
-<span class="sourceLineNo">274</span>    LOG.info("Started MiniZooKeeperCluster and ran successful 'stat' " +<a name="line.274"></a>
-<span class="sourceLineNo">275</span>        "on client port=" + clientPort);<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    return clientPort;<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>  private void createDir(File dir) throws IOException {<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    try {<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      if (!dir.exists()) {<a name="line.281"></a>
-<span class="sourceLineNo">282</span>        dir.mkdirs();<a name="line.282"></a>
-<span class="sourceLineNo">283</span>      }<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    } catch (SecurityException e) {<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      throw new IOException("creating dir: " + dir, e);<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    }<a name="line.286"></a>
-<span class="sourceLineNo">287</span>  }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span>  /**<a name="line.289"></a>
-<span class="sourceLineNo">290</span>   * @throws IOException<a name="line.290"></a>
-<span class="sourceLineNo">291</span>   */<a name="line.291"></a>
-<span class="sourceLineNo">292</span>  public void shutdown() throws IOException {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    // shut down all the zk servers<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    for (int i = 0; i &lt; standaloneServerFactoryList.size(); i++) {<a name="line.294"></a>
-<span class="sourceLineNo">295</span>      NIOServerCnxnFactory standaloneServerFactory =<a name="line.295"></a>
-<span class="sourceLineNo">296</span>        standaloneServerFactoryList.get(i);<a name="line.296"></a>
-<span class="sourceLineNo">297</span>      int clientPort = clientPortList.get(i);<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span>      standaloneServerFactory.shutdown();<a name="line.299"></a>
-<span class="sourceLineNo">300</span>      if (!waitForServerDown(clientPort, connectionTimeout)) {<a name="line.300"></a>
-<span class="sourceLineNo">301</span>        throw new IOException("Waiting for shutdown of standalone server");<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>    standaloneServerFactoryList.clear();<a name="line.304"></a>
-<span class="sourceLineNo">305</span><a name="line.305"></a>
-<span class="sourceLineNo">306</span>    for (ZooKeeperServer zkServer: zooKeeperServers) {<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      //explicitly close ZKDatabase since ZookeeperServer does not close them<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      zkServer.getZKDatabase().close();<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    }<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    zooKeeperServers.clear();<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>    // clear everything<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    if (started) {<a name="line.313"></a>
-<span class="sourceLineNo">314</span>      started = false;<a name="line.314"></a>
-<span class="sourceLineNo">315</span>      activeZKServerIndex = 0;<a name="line.315"></a>
-<span class="sourceLineNo">316</span>      clientPortList.clear();<a name="line.316"></a>
-<span class="sourceLineNo">317</span>      LOG.info("Shutdown MiniZK cluster with all ZK servers");<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    }<a name="line.318"></a>
-<span class="sourceLineNo">319</span>  }<a name="line.319"></a>
-<span class="sourceLineNo">320</span><a name="line.320"></a>
-<span class="sourceLineNo">321</span>  /**@return clientPort return clientPort if there is another ZK backup can run<a name="line.321"></a>
-<span class="sourceLineNo">322</span>   *         when killing the current active; return -1, if there is no backups.<a name="line.322"></a>
-<span class="sourceLineNo">323</span>   * @throws IOException<a name="line.323"></a>
-<span class="sourceLineNo">324</span>   * @throws InterruptedException<a name="line.324"></a>
-<span class="sourceLineNo">325</span>   */<a name="line.325"></a>
-<span class="sourceLineNo">326</span>  public int killCurrentActiveZooKeeperServer() throws IOException,<a name="line.326"></a>
-<span class="sourceLineNo">327</span>                                        InterruptedException {<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    if (!started || activeZKServerIndex &lt; 0) {<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      return -1;<a name="line.329"></a>
-<span class="sourceLineNo">330</span>    }<a name="line.330"></a>
-<span class="sourceLineNo">331</span><a name="line.331"></a>
-<span class="sourceLineNo">332</span>    // Shutdown the current active one<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    NIOServerCnxnFactory standaloneServerFactory =<a name="line.333"></a>
-<span class="sourceLineNo">334</span>      standaloneServerFactoryList.get(activeZKServerIndex);<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    int clientPort = clientPortList.get(activeZKServerIndex);<a name="line.335"></a>
-<span class="sourceLineNo">336</span><a name="line.336"></a>
-<span class="sourceLineNo">337</span>    standaloneServerFactory.shutdown();<a name="line.337"></a>
-<span class="sourceLineNo">338</span>    if (!waitForServerDown(clientPort, connectionTimeout)) {<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      throw new IOException("Waiting for shutdown of standalone server");<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    }<a name="line.340"></a>
-<span class="sourceLineNo">341</span><a name="line.341"></a>
-<span class="sourceLineNo">342</span>    zooKeeperServers.get(activeZKServerIndex).getZKDatabase().close();<a name="line.342"></a>
-<span class="sourceLineNo">343</span><a name="line.343"></a>
-<span class="sourceLineNo">344</span>    // remove the current active zk server<a name="line.344"></a>
-<span class="sourceLineNo">345</span>    standaloneServerFactoryList.remove(activeZKServerIndex);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    clientPortList.remove(activeZKServerIndex);<a name="line.346"></a>
-<span class="sourceLineNo">347</span>    zooKeeperServers.remove(activeZKServerIndex);<a name="line.347"></a>
-<span class="sourceLineNo">348</span>    LOG.info("Kill the current active ZK servers in the cluster " +<a name="line.348"></a>
-<span class="sourceLineNo">349</span>        "on client port: " + clientPort);<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span>    if (standaloneServerFactoryList.isEmpty()) {<a name="line.351"></a>
-<span class="sourceLineNo">352</span>      // there is no backup servers;<a name="line.352"></a>
-<span class="sourceLineNo">353</span>      return -1;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    }<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    clientPort = clientPortList.get(activeZKServerIndex);<a name="line.355"></a>
-<span class="sourceLineNo">356</span>    LOG.info("Activate a backup zk server in the cluster " +<a name="line.356"></a>
-<span class="sourceLineNo">357</span>        "on client port: " + clientPort);<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    // return the next back zk server's port<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    return clientPort;<a name="line.359"></a>
-<span class="sourceLineNo">360</span>  }<a name="line.360"></a>
-<span class="sourceLineNo">361</span><a name="line.361"></a>
-<span class="sourceLineNo">362</span>  /**<a name="line.362"></a>
-<span class="sourceLineNo">363</span>   * Kill one back up ZK servers<a name="line.363"></a>
-<span class="sourceLineNo">364</span>   * @throws IOException<a name="line.364"></a>
-<span class="sourceLineNo">365</span>   * @throws InterruptedException<a name="line.365"></a>
-<span class="sourceLineNo">366</span>   */<a name="line.366"></a>
-<span class="sourceLineNo">367</span>  public void killOneBackupZooKeeperServer() throws IOException,<a name="line.367"></a>
-<span class="sourceLineNo">368</span>                                        InterruptedException {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>    if (!started || activeZKServerIndex &lt; 0 ||<a name="line.369"></a>
-<span class="sourceLineNo">370</span>        standaloneServerFactoryList.size() &lt;= 1) {<a name="line.370"></a>
-<span class="sourceLineNo">371</span>      return ;<a name="line.371"></a>
-<span class="sourceLineNo">372</span>    }<a name="line.372"></a>
-<span class="sourceLineNo">373</span><a name="line.373"></a>
-<span class="sourceLineNo">374</span>    int backupZKServerIndex = activeZKServerIndex+1;<a name="line.374"></a>
-<span class="sourceLineNo">375</span>    // Shutdown the current active one<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    NIOServerCnxnFactory standaloneServerFactory =<a name="line.376"></a>
-<span class="sourceLineNo">377</span>      standaloneServerFactoryList.get(backupZKServerIndex);<a name="line.377"></a>
-<span class="sourceLineNo">378</span>    int clientPort = clientPortList.get(backupZKServerIndex);<a name="line.378"></a>
-<span class="sourceLineNo">379</span><a name="line.379"></a>
-<span class="sourceLineNo">380</span>    standaloneServerFactory.shutdown();<a name="line.380"></a>
-<span class="sourceLineNo">381</span>    if (!waitForServerDown(clientPort, connectionTimeout)) {<a name="line.381"></a>
-<span class="sourceLineNo">382</span>      throw new IOException("Waiting for shutdown of standalone server");<a name="line.382"></a>
-<span class="sourceLineNo">383</span>    }<a name="line.383"></a>
-<span class="sourceLineNo">384</span><a name="line.384"></a>
-<span class="sourceLineNo">385</span>    zooKeeperServers.get(backupZKServerIndex).getZKDatabase().close();<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span>    // remove this backup zk server<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    standaloneServerFactoryList.remove(backupZKServerIndex);<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    clientPortList.remove(backupZKServerIndex);<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    zooKeeperServers.remove(backupZKServerIndex);<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    LOG.info("Kill one backup ZK servers in the cluster " +<a name="line.391"></a>
-<span class="sourceLineNo">392</span>        "on client port: " + clientPort);<a name="line.392"></a>
-<span class="sourceLineNo">393</span>  }<a name="line.393"></a>
-<span class="sourceLineNo">394</span><a name="line.394"></a>
-<span class="sourceLineNo">395</span>  // XXX: From o.a.zk.t.ClientBase<a name="line.395"></a>
-<span class="sourceLineNo">396</span>  private static boolean waitForServerDown(int port, long timeout) throws IOException {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>    long start = System.currentTimeMillis();<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    while (true) {<a name="line.398"></a>
-<span class="sourceLineNo">399</span>      try {<a name="line.399"></a>
-<span class="sourceLineNo">400</span>        Socket sock = new Socket("localhost", port);<a name="line.400"></a>
-<span class="sourceLineNo">401</span>        try {<a name="line.401"></a>
-<span class="sourceLineNo">402</span>          OutputStream outstream = sock.getOutputStream();<a name="line.402"></a>
-<span class="sourceLineNo">403</span>          outstream.write("stat".getBytes());<a name="line.403"></a>
-<span class="sourceLineNo">404</span>          outstream.flush();<a name="line.404"></a>
-<span class="sourceLineNo">405</span>        } finally {<a name="line.405"></a>
-<span class="sourceLineNo">406</span>          sock.close();<a name="line.406"></a>
-<span class="sourceLineNo">407</span>        }<a name="line.407"></a>
-<span class="sourceLineNo">408</span>      } catch (IOException e) {<a name="line.408"></a>
-<span class="sourceLineNo">409</span>        return true;<a name="line.409"></a>
-<span class="sourceLineNo">410</span>      }<a name="line.410"></a>
-<span class="sourceLineNo">411</span><a name="line.411"></a>
-<span class="sourceLineNo">412</span>      if (System.currentTimeMillis() &gt; start + timeout) {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        break;<a name="line.413"></a>
-<span class="sourceLineNo">414</span>      }<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      try {<a name="line.415"></a>
-<span class="sourceLineNo">416</span>        Thread.sleep(250);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>      } catch (InterruptedException e) {<a name="line.417"></a>
-<span class="sourceLineNo">418</span>        throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.418"></a>
-<span class="sourceLineNo">419</span>      }<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    return false;<a name="line.421"></a>
-<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
-<span class="sourceLineNo">423</span><a name="line.423"></a>
-<span class="sourceLineNo">424</span>  // XXX: From o.a.zk.t.ClientBase<a name="line.424"></a>
-<span class="sourceLineNo">425</span>  private static boolean waitForServerUp(int port, long timeout) throws IOException {<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    long start = System.currentTimeMillis();<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    while (true) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>      try {<a name="line.428"></a>
-<span class="sourceLineNo">429</span>        Socket sock = new Socket("localhost", port);<a name="line.429"></a>
-<span class="sourceLineNo">430</span>        BufferedReader reader = null;<a name="line.430"></a>
-<span class="sourceLineNo">431</span>        try {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>          OutputStream outstream = sock.getOutputStream();<a name="line.432"></a>
-<span class="sourceLineNo">433</span>          outstream.write("stat".getBytes());<a name="line.433"></a>
-<span class="sourceLineNo">434</span>          outstream.flush();<a name="line.434"></a>
-<span class="sourceLineNo">435</span><a name="line.435"></a>
-<span class="sourceLineNo">436</span>          Reader isr = new InputStreamReader(sock.getInputStream());<a name="line.436"></a>
-<span class="sourceLineNo">437</span>          reader = new BufferedReader(isr);<a name="line.437"></a>
-<span class="sourceLineNo">438</span>          String line = reader.readLine();<a name="line.438"></a>
-<span class="sourceLineNo">439</span>          if (line != null &amp;&amp; line.startsWith("Zookeeper version:")) {<a name="line.439"></a>
-<span class="sourceLineNo">440</span>            return true;<a name="line.440"></a>
-<span class="sourceLineNo">441</span>          }<a name="line.441"></a>
-<span class="sourceLineNo">442</span>        } finally {<a name="line.442"></a>
-<span class="sourceLineNo">443</span>          sock.close();<a name="line.443"></a>
-<span class="sourceLineNo">444</span>          if (reader != null) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span>            reader.close();<a name="line.445"></a>
-<span class="sourceLineNo">446</span>          }<a name="line.446"></a>
-<span class="sourceLineNo">447</span>        }<a name="line.447"></a>
-<span class="sourceLineNo">448</span>      } catch (IOException e) {<a name="line.448"></a>
-<span class="sourceLineNo">449</span>        // ignore as this is expected<a name="line.449"></a>
-<span class="sourceLineNo">450</span>        LOG.info("server localhost:" + port + " not up " + e);<a name="line.450"></a>
-<span class="sourceLineNo">451</span>      }<a name="line.451"></a>
-<span class="sourceLineNo">452</span><a name="line.452"></a>
-<span class="sourceLineNo">453</span>      if (System.currentTimeMillis() &gt; start + timeout) {<a name="line.453"></a>
-<span class="sourceLineNo">454</span>        break;<a name="line.454"></a>
-<span class="sourceLineNo">455</span>      }<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      try {<a name="line.456"></a>
-<span class="sourceLineNo">457</span>        Thread.sleep(250);<a name="line.457"></a>
-<span class="sourceLineNo">458</span>      } catch (InterruptedException e) {<a name="line.458"></a>
-<span class="sourceLineNo">459</span>        throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.459"></a>
-<span class="sourceLineNo">460</span>      }<a name="line.460"></a>
-<span class="sourceLineNo">461</span>    }<a name="line.461"></a>
-<span class="sourceLineNo">462</span>    return false;<a name="line.462"></a>
-<span class="sourceLineNo">463</span>  }<a name="line.463"></a>
-<span class="sourceLineNo">464</span><a name="line.464"></a>
-<span class="sourceLineNo">465</span>  public int getClientPort() {<a name="line.465"></a>
-<span class="sourceLineNo">466</span>    return activeZKServerIndex &lt; 0 || activeZKServerIndex &gt;= clientPortList.size() ? -1<a name="line.466"></a>
-<span class="sourceLineNo">467</span>        : clientPortList.get(activeZKServerIndex);<a name="line.467"></a>
-<span class="sourceLineNo">468</span>  }<a name="line.468"></a>
-<span class="sourceLineNo">469</span>}<a name="line.469"></a>
+<span class="sourceLineNo">228</span>      // Setting {min,max}SessionTimeout defaults to be the same as in Zookeeper<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      server.setMinSessionTimeout(configuration.getInt("hbase.zookeeper.property.minSessionTimeout", -1));<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      server.setMaxSessionTimeout(configuration.getInt("hbase.zookeeper.property.maxSessionTimeout", -1));<a name="line.230"></a>
+<span class="sourceLineNo">231</span>      NIOServerCnxnFactory standaloneServerFactory;<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      while (true) {<a name="line.232"></a>
+<span class="sourceLineNo">233</span>        try {<a name="line.233"></a>
+<span class="sourceLineNo">234</span>          standaloneServerFactory = new NIOServerCnxnFactory();<a name="line.234"></a>
+<span class="sourceLineNo">235</span>          standaloneServerFactory.configure(<a name="line.235"></a>
+<span class="sourceLineNo">236</span>            new InetSocketAddress(currentClientPort),<a name="line.236"></a>
+<span class="sourceLineNo">237</span>            configuration.getInt(HConstants.ZOOKEEPER_MAX_CLIENT_CNXNS, 1000));<a name="line.237"></a>
+<span class="sourceLineNo">238</span>        } catch (BindException e) {<a name="line.238"></a>
+<span class="sourceLineNo">239</span>          LOG.debug("Failed binding ZK Server to client port: " +<a name="line.239"></a>
+<span class="sourceLineNo">240</span>              currentClientPort, e);<a name="line.240"></a>
+<span class="sourceLineNo">241</span>          // We're told to use some port but it's occupied, fail<a name="line.241"></a>
+<span class="sourceLineNo">242</span>          if (hasValidClientPortInList(i)) {<a name="line.242"></a>
+<span class="sourceLineNo">243</span>            return -1;<a name="line.243"></a>
+<span class="sourceLineNo">244</span>          }<a name="line.244"></a>
+<span class="sourceLineNo">245</span>          // This port is already in use, try to use another.<a name="line.245"></a>
+<span class="sourceLineNo">246</span>          tentativePort = selectClientPort(tentativePort);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>          currentClientPort = tentativePort;<a name="line.247"></a>
+<span class="sourceLineNo">248</span>          continue;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>        }<a name="line.249"></a>
+<span class="sourceLineNo">250</span>        break;<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>      // Start up this ZK server<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      standaloneServerFactory.startup(server);<a name="line.254"></a>
+<span class="sourceLineNo">255</span>      // Runs a 'stat' against the servers.<a name="line.255"></a>
+<span class="sourceLineNo">256</span>      if (!waitForServerUp(currentClientPort, connectionTimeout)) {<a name="line.256"></a>
+<span class="sourceLineNo">257</span>        throw new IOException("Waiting for startup of standalone server");<a name="line.257"></a>
+<span class="sourceLineNo">258</span>      }<a name="line.258"></a>
+<span class="sourceLineNo">259</span><a name="line.259"></a>
+<span class="sourceLineNo">260</span>      // We have selected a port as a client port.  Update clientPortList if necessary.<a name="line.260"></a>
+<span class="sourceLineNo">261</span>      if (clientPortList.size() &lt;= i) { // it is not in the list, add the port<a name="line.261"></a>
+<span class="sourceLineNo">262</span>        clientPortList.add(currentClientPort);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>      }<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      else if (clientPortList.get(i) &lt;= 0) { // the list has invalid port, update with valid port<a name="line.264"></a>
+<span class="sourceLineNo">265</span>        clientPortList.remove(i);<a name="line.265"></a>
+<span class="sourceLineNo">266</span>        clientPortList.add(i, currentClientPort);<a name="line.266"></a>
+<span class="sourceLineNo">267</span>      }<a name="line.267"></a>
+<span class="sourceLineNo">268</span><a name="line.268"></a>
+<span class="sourceLineNo">269</span>      standaloneServerFactoryList.add(standaloneServerFactory);<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      zooKeeperServers.add(server);<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    }<a name="line.271"></a>
+<span class="sourceLineNo">272</span><a name="line.272"></a>
+<span class="sourceLineNo">273</span>    // set the first one to be active ZK; Others are backups<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    activeZKServerIndex = 0;<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    started = true;<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    int clientPort = clientPortList.get(activeZKServerIndex);<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    LOG.info("Started MiniZooKeeperCluster and ran successful 'stat' " +<a name="line.277"></a>
+<span class="sourceLineNo">278</span>        "on client port=" + clientPort);<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    return clientPort;<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>  private void createDir(File dir) throws IOException {<a name="line.282"></a>
+<span class="sourceLineNo">283</span>    try {<a name="line.283"></a>
+<span class="sourceLineNo">284</span>      if (!dir.exists()) {<a name="line.284"></a>
+<span class="sourceLineNo">285</span>        dir.mkdirs();<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      }<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    } catch (SecurityException e) {<a name="line.287"></a>
+<span class="sourceLineNo">288</span>      throw new IOException("creating dir: " + dir, e);<a name="line.288"></a>
+<span class="sourceLineNo">289</span>    }<a name="line.289"></a>
+<span class="sourceLineNo">290</span>  }<a name="line.290"></a>
+<span class="sourceLineNo">291</span><a name="line.291"></a>
+<span class="sourceLineNo">292</span>  /**<a name="line.292"></a>
+<span class="sourceLineNo">293</span>   * @throws IOException<a name="line.293"></a>
+<span class="sourceLineNo">294</span>   */<a name="line.294"></a>
+<span class="sourceLineNo">295</span>  public void shutdown() throws IOException {<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    // shut down all the zk servers<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    for (int i = 0; i &lt; standaloneServerFactoryList.size(); i++) {<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      NIOServerCnxnFactory standaloneServerFactory =<a name="line.298"></a>
+<span class="sourceLineNo">299</span>        standaloneServerFactoryList.get(i);<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      int clientPort = clientPortList.get(i);<a name="line.300"></a>
+<span class="sourceLineNo">301</span><a name="line.301"></a>
+<span class="sourceLineNo">302</span>      standaloneServerFactory.shutdown();<a name="line.302"></a>
+<span class="sourceLineNo">303</span>      if (!waitForServerDown(clientPort, connectionTimeout)) {<a name="line.303"></a>
+<span class="sourceLineNo">304</span>        throw new IOException("Waiting for shutdown of standalone server");<a name="line.304"></a>
+<span class="sourceLineNo">305</span>      }<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    }<a name="line.306"></a>
+<span class="sourceLineNo">307</span>    standaloneServerFactoryList.clear();<a name="line.307"></a>
+<span class="sourceLineNo">308</span><a name="line.308"></a>
+<span class="sourceLineNo">309</span>    for (ZooKeeperServer zkServer: zooKeeperServers) {<a name="line.309"></a>
+<span class="sourceLineNo">310</span>      //explicitly close ZKDatabase since ZookeeperServer does not close them<a name="line.310"></a>
+<span class="sourceLineNo">311</span>      zkServer.getZKDatabase().close();<a name="line.311"></a>
+<span class="sourceLineNo">312</span>    }<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    zooKeeperServers.clear();<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span>    // clear everything<a name="line.315"></a>
+<span class="sourceLineNo">316</span>    if (started) {<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      started = false;<a name="line.317"></a>
+<span class="sourceLineNo">318</span>      activeZKServerIndex = 0;<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      clientPortList.clear();<a name="line.319"></a>
+<span class="sourceLineNo">320</span>      LOG.info("Shutdown MiniZK cluster with all ZK servers");<a name="line.320"></a>
+<span class="sourceLineNo">321</span>    }<a name="line.321"></a>
+<span class="sourceLineNo">322</span>  }<a name="line.322"></a>
+<span class="sourceLineNo">323</span><a name="line.323"></a>
+<span class="sourceLineNo">324</span>  /**@return clientPort return clientPort if there is another ZK backup can run<a name="line.324"></a>
+<span class="sourceLineNo">325</span>   *         when killing the current active; return -1, if there is no backups.<a name="line.325"></a>
+<span class="sourceLineNo">326</span>   * @throws IOException<a name="line.326"></a>
+<span class="sourceLineNo">327</span>   * @throws InterruptedException<a name="line.327"></a>
+<span class="sourceLineNo">328</span>   */<a name="line.328"></a>
+<span class="sourceLineNo">329</span>  public int killCurrentActiveZooKeeperServer() throws IOException,<a name="line.329"></a>
+<span class="sourceLineNo">330</span>                                        InterruptedException {<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    if (!started || activeZKServerIndex &lt; 0) {<a name="line.331"></a>
+<span class="sourceLineNo">332</span>      return -1;<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    }<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>    // Shutdown the current active one<a name="line.335"></a>
+<span class="sourceLineNo">336</span>    NIOServerCnxnFactory standaloneServerFactory =<a name="line.336"></a>
+<span class="sourceLineNo">337</span>      standaloneServerFactoryList.get(activeZKServerIndex);<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    int clientPort = clientPortList.get(activeZKServerIndex);<a name="line.338"></a>
+<span class="sourceLineNo">339</span><a name="line.339"></a>
+<span class="sourceLineNo">340</span>    standaloneServerFactory.shutdown();<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    if (!waitForServerDown(clientPort, connectionTimeout)) {<a name="line.341"></a>
+<span class="sourceLineNo">342</span>      throw new IOException("Waiting for shutdown of standalone server");<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    }<a name="line.343"></a>
+<span class="sourceLineNo">344</span><a name="line.344"></a>
+<span class="sourceLineNo">345</span>    zooKeeperServers.get(activeZKServerIndex).getZKDatabase().close();<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>    // remove the current active zk server<a name="line.347"></a>
+<span class="sourceLineNo">348</span>    standaloneServerFactoryList.remove(activeZKServerIndex);<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    clientPortList.remove(activeZKServerIndex);<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    zooKeeperServers.remove(activeZKServerIndex);<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    LOG.info("Kill the current active ZK servers in the cluster " +<a name="line.351"></a>
+<span class="sourceLineNo">352</span>        "on client port: " + clientPort);<a name="line.352"></a>
+<span class="sourceLineNo">353</span><a name="line.353"></a>
+<span class="sourceLineNo">354</span>    if (standaloneServerFactoryList.isEmpty()) {<a name="line.354"></a>
+<span class="sourceLineNo">355</span>      // there is no backup servers;<a name="line.355"></a>
+<span class="sourceLineNo">356</span>      return -1;<a name="line.356"></a>
+<span class="sourceLineNo">357</span>    }<a name="line.357"></a>
+<span class="sourceLineNo">358</span>    clientPort = clientPortList.get(activeZKServerIndex);<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    LOG.info("Activate a backup zk server in the cluster " +<a name="line.359"></a>
+<span class="sourceLineNo">360</span>        "on client port: " + clientPort);<a name="line.360"></a>
+<span class="sourceLineNo">361</span>    // return the next back zk server's port<a name="line.361"></a>
+<span class="sourceLineNo">362</span>    return clientPort;<a name="line.362"></a>
+<span class="sourceLineNo">363</span>  }<a name="line.363"></a>
+<span class="sourceLineNo">364</span><a name="line.364"></a>
+<span class="sourceLineNo">365</span>  /**<a name="line.365"></a>
+<span class="sourceLineNo">366</span>   * Kill one back up ZK servers<a name="line.366"></a>
+<span class="sourceLineNo">367</span>   * @throws IOException<a name="line.367"></a>
+<span class="sourceLineNo">368</span>   * @throws InterruptedException<a name="line.368"></a>
+<span class="sourceLineNo">369</span>   */<a name="line.369"></a>
+<span class="sourceLineNo">370</span>  public void killOneBackupZooKeeperServer() throws IOException,<a name="line.370"></a>
+<span class="sourceLineNo">371</span>                                        InterruptedException {<a name="line.371"></a>
+<span class="sourceLineNo">372</span>    if (!started || activeZKServerIndex &lt; 0 ||<a name="line.372"></a>
+<span class="sourceLineNo">373</span>        standaloneServerFactoryList.size() &lt;= 1) {<a name="line.373"></a>
+<span class="sourceLineNo">374</span>      return ;<a name="line.374"></a>
+<span class="sourceLineNo">375</span>    }<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>    int backupZKServerIndex = activeZKServerIndex+1;<a name="line.377"></a>
+<span class="sourceLineNo">378</span>    // Shutdown the current active one<a name="line.378"></a>
+<span class="sourceLineNo">379</span>    NIOServerCnxnFactory standaloneServerFactory =<a name="line.379"></a>
+<span class="sourceLineNo">380</span>      standaloneServerFactoryList.get(backupZKServerIndex);<a name="line.380"></a>
+<span class="sourceLineNo">381</span>    int clientPort = clientPortList.get(backupZKServerIndex);<a name="line.381"></a>
+<span class="sourceLineNo">382</span><a name="line.382"></a>
+<span class="sourceLineNo">383</span>    standaloneServerFactory.shutdown();<a name="line.383"></a>
+<span class="sourceLineNo">384</span>    if (!waitForServerDown(clientPort, connectionTimeout)) {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      throw new IOException("Waiting for shutdown of standalone server");<a name="line.385"></a>
+<span class="sourceLineNo">386</span>    }<a name="line.386"></a>
+<span class="sourceLineNo">387</span><a name="line.387"></a>
+<span class="sourceLineNo">388</span>    zooKeeperServers.get(backupZKServerIndex).getZKDatabase().close();<a name="line.388"></a>
+<span class="sourceLineNo">389</span><a name="line.389"></a>
+<span class="sourceLineNo">390</span>    // remove this backup zk server<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    standaloneServerFactoryList.remove(backupZKServerIndex);<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    clientPortList.remove(backupZKServerIndex);<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    zooKeeperServers.remove(backupZKServerIndex);<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    LOG.info("Kill one backup ZK servers in the cluster " +<a name="line.394"></a>
+<span class="sourceLineNo">395</span>        "on client port: " + clientPort);<a name="line.395"></a>
+<span class="sourceLineNo">396</span>  }<a name="line.396"></a>
+<span class="sourceLineNo">397</span><a name="line.397"></a>
+<span class="sourceLineNo">398</span>  // XXX: From o.a.zk.t.ClientBase<a name="line.398"></a>
+<span class="sourceLineNo">399</span>  private static boolean waitForServerDown(int port, long timeout) throws IOException {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>    long start = System.currentTimeMillis();<a name="line.400"></a>
+<span class="sourceLineNo">401</span>    while (true) {<a name="line.401"></a>
+<span class="sourceLineNo">402</span>      try {<a name="line.402"></a>
+<span class="sourceLineNo">403</span>        Socket sock = new Socket("localhost", port);<a name="line.403"></a>
+<span class="sourceLineNo">404</span>        try {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>          OutputStream outstream = sock.getOutputStream();<a name="line.405"></a>
+<span class="sourceLineNo">406</span>          outstream.write("stat".getBytes());<a name="line.406"></a>
+<span class="sourceLineNo">407</span>          outstream.flush();<a name="line.407"></a>
+<span class="sourceLineNo">408</span>        } finally {<a name="line.408"></a>
+<span class="sourceLineNo">409</span>          sock.close();<a name="line.409"></a>
+<span class="sourceLineNo">410</span>        }<a name="line.410"></a>
+<span class="sourceLineNo">411</span>      } catch (IOException e) {<a name="line.411"></a>
+<span class="sourceLineNo">412</span>        return true;<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>      if (System.currentTimeMillis() &gt; start + timeout) {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        break;<a name="line.416"></a>
+<span class="sourceLineNo">417</span>      }<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      try {<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        Thread.sleep(250);<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      } catch (InterruptedException e) {<a name="line.420"></a>
+<span class="sourceLineNo">421</span>        throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.421"></a>
+<span class="sourceLineNo">422</span>      }<a name="line.422"></a>
+<span class="sourceLineNo">423</span>    }<a name="line.423"></a>
+<span class="sourceLineNo">424</span>    return false;<a name="line.424"></a>
+<span class="sourceLineNo">425</span>  }<a name="line.425"></a>
+<span class="sourceLineNo">426</span><a name="line.426"></a>
+<span class="sourceLineNo">427</span>  // XXX: From o.a.zk.t.ClientBase<a name="line.427"></a>
+<span class="sourceLineNo">428</span>  private static boolean waitForServerUp(int port, long timeout) throws IOException {<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    long start = System.currentTimeMillis();<a name="line.429"></a>
+<span class="sourceLineNo">430</span>    while (true) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>      try {<a name="line.431"></a>
+<span class="sourceLineNo">432</span>        Socket sock = new Socket("localhost", port);<a name="line.432"></a>
+<span class="sourceLineNo">433</span>        BufferedReader reader = null;<a name="line.433"></a>
+<span class="sourceLineNo">434</span>        try {<a name="line.434"></a>
+<span class="sourceLineNo">435</span>          OutputStream outstream = sock.getOutputStream();<a name="line.435"></a>
+<span class="sourceLineNo">436</span>          outstream.write("stat".getBytes());<a name="line.436"></a>
+<span class="sourceLineNo">437</span>          outstream.flush();<a name="line.437"></a>
+<span class="sourceLineNo">438</span><a name="line.438"></a>
+<span class="sourceLineNo">439</span>          Reader isr = new InputStreamReader(sock.getInputStream());<a name="line.439"></a>
+<span class="sourceLineNo">440</span>          reader = new BufferedReader(isr);<a name="line.440"></a>
+<span class="sourceLineNo">441</span>          String line = reader.readLine();<a name="line.441"></a>
+<span class="sourceLineNo">442</span>          if (line != null &amp;&amp; line.startsWith("Zookeeper version:")) {<a name="line.442"></a>
+<span class="sourceLineNo">443</span>            return true;<a name="line.443"></a>
+<span class="sourceLineNo">444</span>          }<a name="line.444"></a>
+<span class="sourceLineNo">445</span>        } finally {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>          sock.close();<a name="line.446"></a>
+<span class="sourceLineNo">447</span>          if (reader != null) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>            reader.close();<a name="line.448"></a>
+<span class="sourceLineNo">449</span>          }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>        }<a name="line.450"></a>
+<span class="sourceLineNo">451</span>      } catch (IOException e) {<a name="line.451"></a>
+<span class="sourceLineNo">452</span>        // ignore as this is expected<a name="line.452"></a>
+<span class="sourceLineNo">453</span>        LOG.info("server localhost:" + port + " not up " + e);<a name="line.453"></a>
+<span class="sourceLineNo">454</span>      }<a name="line.454"></a>
+<span class="sourceLineNo">455</span><a name="line.455"></a>
+<span class="sourceLineNo">456</span>      if (System.currentTimeMillis() &gt; start + timeout) {<a name="line.456"></a>
+<span class="sourceLineNo">457</span>        break;<a name="line.457"></a>
+<span class="sourceLineNo">458</span>      }<a name="line.458"></a>
+<span class="sourceLineNo">459</span>      try {<a name="line.459"></a>
+<span class="sourceLineNo">460</span>        Thread.sleep(250);<a name="line.460"></a>
+<span class="sourceLineNo">461</span>      } catch (InterruptedException e) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>        throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.462"></a>
+<span class="sourceLineNo">463</span>      }<a name="line.463"></a>
+<span class="sourceLineNo">464</span>    }<a name="line.464"></a>
+<span class="sourceLineNo">465</span>    return false;<a name="line.465"></a>
+<span class="sourceLineNo">466</span>  }<a name="line.466"></a>
+<span class="sourceLineNo">467</span><a name="line.467"></a>
+<span class="sourceLineNo">468</span>  public int getClientPort() {<a name="line.468"></a>
+<span class="sourceLineNo">469</span>    return activeZKServerIndex &lt; 0 || activeZKServerIndex &gt;= clientPortList.size() ? -1<a name="line.469"></a>
+<span class="sourceLineNo">470</span>        : clientPortList.get(activeZKServerIndex);<a name="line.470"></a>
+<span class="sourceLineNo">471</span>  }<a name="line.471"></a>
+<span class="sourceLineNo">472</span>}<a name="line.472"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/export_control.html
----------------------------------------------------------------------
diff --git a/export_control.html b/export_control.html
index 3cd7f67..49cdeb4 100644
--- a/export_control.html
+++ b/export_control.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Export Control
@@ -336,7 +336,7 @@ for more details.</p>
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-08-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependencies.html b/hbase-build-configuration/dependencies.html
index aa8fac3..9a97027 100644
--- a/hbase-build-configuration/dependencies.html
+++ b/hbase-build-configuration/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -354,7 +354,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependency-convergence.html b/hbase-build-configuration/dependency-convergence.html
index 50f12dc..4421bf1 100644
--- a/hbase-build-configuration/dependency-convergence.html
+++ b/hbase-build-configuration/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -596,7 +596,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependency-info.html b/hbase-build-configuration/dependency-info.html
index 87f98d5..339368a 100644
--- a/hbase-build-configuration/dependency-info.html
+++ b/hbase-build-configuration/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -148,7 +148,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependency-management.html b/hbase-build-configuration/dependency-management.html
index 2132659..d94d87d 100644
--- a/hbase-build-configuration/dependency-management.html
+++ b/hbase-build-configuration/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -760,7 +760,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/checkstyle.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/checkstyle.html b/hbase-build-configuration/hbase-annotations/checkstyle.html
index 4a34434..0977497 100644
--- a/hbase-build-configuration/hbase-annotations/checkstyle.html
+++ b/hbase-build-configuration/hbase-annotations/checkstyle.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -273,7 +273,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/dependencies.html b/hbase-build-configuration/hbase-annotations/dependencies.html
index 3679d59..16fa026 100644
--- a/hbase-build-configuration/hbase-annotations/dependencies.html
+++ b/hbase-build-configuration/hbase-annotations/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -377,7 +377,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/dependency-convergence.html b/hbase-build-configuration/hbase-annotations/dependency-convergence.html
index 4919f5b..f8af3ea 100644
--- a/hbase-build-configuration/hbase-annotations/dependency-convergence.html
+++ b/hbase-build-configuration/hbase-annotations/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -596,7 +596,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/dependency-info.html b/hbase-build-configuration/hbase-annotations/dependency-info.html
index d6c63b0..6071392 100644
--- a/hbase-build-configuration/hbase-annotations/dependency-info.html
+++ b/hbase-build-configuration/hbase-annotations/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -147,7 +147,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/dependency-management.html b/hbase-build-configuration/hbase-annotations/dependency-management.html
index 4fb4a5e..ca40def 100644
--- a/hbase-build-configuration/hbase-annotations/dependency-management.html
+++ b/hbase-build-configuration/hbase-annotations/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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -760,7 +760,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/index.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/index.html b/hbase-build-configuration/hbase-annotations/index.html
index c1693e6..09d0c2b 100644
--- a/hbase-build-configuration/hbase-annotations/index.html
+++ b/hbase-build-configuration/hbase-annotations/index.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -119,7 +119,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/integration.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/integration.html b/hbase-build-configuration/hbase-annotations/integration.html
index afe9198..20e2765 100644
--- a/hbase-build-configuration/hbase-annotations/integration.html
+++ b/hbase-build-configuration/hbase-annotations/integration.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/issue-tracking.html b/hbase-build-configuration/hbase-annotations/issue-tracking.html
index 26a9207..29994a7 100644
--- a/hbase-build-configuration/hbase-annotations/issue-tracking.html
+++ b/hbase-build-configuration/hbase-annotations/issue-tracking.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/license.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/license.html b/hbase-build-configuration/hbase-annotations/license.html
index 77e2c89..98b18f0 100644
--- a/hbase-build-configuration/hbase-annotations/license.html
+++ b/hbase-build-configuration/hbase-annotations/license.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -111,7 +111,209 @@
 <h2><a name="Project_Licenses"></a>Project Licenses</h2><a name="Project_Licenses"></a>
 <div class="section">
 <h3><a name="Apache_License_Version_2.0"></a>Apache License, Version 2.0</h3><a name="Apache_License_Version_2.0"></a>
-<p>Can't read the url [https://www.apache.org/licenses/LICENSE-2.0.txt] : Read timed out</p></div></div>
+<div class="source"><pre class="prettyprint">
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      &quot;License&quot; shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      &quot;Licensor&quot; shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      &quot;Legal Entity&quot; shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      &quot;control&quot; means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      &quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      &quot;Source&quot; form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      &quot;Object&quot; form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      &quot;Work&quot; shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      &quot;Derivative Works&quot; shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      &quot;Contribution&quot; shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, &quot;submitted&quot;
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as &quot;Not a Contribution.&quot;
+
+      &quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a &quot;NOTICE&quot; text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same &quot;printed page&quot; as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+</pre></div></div></div>
                   </div>
           </div>
 
@@ -124,7 +326,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/mail-lists.html b/hbase-build-configuration/hbase-annotations/mail-lists.html
index 0964a1b..cfe297a 100644
--- a/hbase-build-configuration/hbase-annotations/mail-lists.html
+++ b/hbase-build-configuration/hbase-annotations/mail-lists.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/plugin-management.html b/hbase-build-configuration/hbase-annotations/plugin-management.html
index 333040b..001e8ee 100644
--- a/hbase-build-configuration/hbase-annotations/plugin-management.html
+++ b/hbase-build-configuration/hbase-annotations/plugin-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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/plugins.html b/hbase-build-configuration/hbase-annotations/plugins.html
index d02eb53..f385621 100644
--- a/hbase-build-configuration/hbase-annotations/plugins.html
+++ b/hbase-build-configuration/hbase-annotations/plugins.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -226,7 +226,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/project-info.html b/hbase-build-configuration/hbase-annotations/project-info.html
index a55a7ad..0be4d78 100644
--- a/hbase-build-configuration/hbase-annotations/project-info.html
+++ b/hbase-build-configuration/hbase-annotations/project-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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/project-reports.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/project-reports.html b/hbase-build-configuration/hbase-annotations/project-reports.html
index e4b9cd2..7a78b8f 100644
--- a/hbase-build-configuration/hbase-annotations/project-reports.html
+++ b/hbase-build-configuration/hbase-annotations/project-reports.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -128,7 +128,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/project-summary.html b/hbase-build-configuration/hbase-annotations/project-summary.html
index e5c6197..f09cd09 100644
--- a/hbase-build-configuration/hbase-annotations/project-summary.html
+++ b/hbase-build-configuration/hbase-annotations/project-summary.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -166,7 +166,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/source-repository.html b/hbase-build-configuration/hbase-annotations/source-repository.html
index 37d9539..c11b7c9 100644
--- a/hbase-build-configuration/hbase-annotations/source-repository.html
+++ b/hbase-build-configuration/hbase-annotations/source-repository.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6f0c8299/hbase-build-configuration/hbase-annotations/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-annotations/team-list.html b/hbase-build-configuration/hbase-annotations/team-list.html
index 4878c0e..edb6496 100644
--- a/hbase-build-configuration/hbase-annotations/team-list.html
+++ b/hbase-build-configuration/hbase-annotations/team-list.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="20170830" />
+    <meta name="Date-Revision-yyyymmdd" content="20170831" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -529,7 +529,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-30</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-08-31</li>
             </p>
                 </div>
 


Mime
View raw message