hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [25/51] [partial] hbase-site git commit: Published site at .
Date Thu, 16 Nov 2017 15:17:25 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/67a6e2ec/apidocs/src-html/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.html
b/apidocs/src-html/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.html
index a95ae36..f79037e 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.html
@@ -149,7 +149,7 @@
 <span class="sourceLineNo">141</span>   * */<a name="line.141"></a>
 <span class="sourceLineNo">142</span>  @Deprecated<a name="line.142"></a>
 <span class="sourceLineNo">143</span>  public static Map&lt;TableName, List&lt;String&gt;&gt;
parseTableCFsFromConfig(String tableCFsConfig) {<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    return ReplicationSerDeHelper.parseTableCFsFromConfig(tableCFsConfig);<a
name="line.144"></a>
+<span class="sourceLineNo">144</span>    return ReplicationPeerConfigUtil.parseTableCFsFromConfig(tableCFsConfig);<a
name="line.144"></a>
 <span class="sourceLineNo">145</span>  }<a name="line.145"></a>
 <span class="sourceLineNo">146</span><a name="line.146"></a>
 <span class="sourceLineNo">147</span>  /**<a name="line.147"></a>
@@ -236,7 +236,7 @@
 <span class="sourceLineNo">228</span>  @Deprecated<a name="line.228"></a>
 <span class="sourceLineNo">229</span>  public String getPeerTableCFs(String id)
throws IOException {<a name="line.229"></a>
 <span class="sourceLineNo">230</span>    ReplicationPeerConfig peerConfig = admin.getReplicationPeerConfig(id);<a
name="line.230"></a>
-<span class="sourceLineNo">231</span>    return ReplicationSerDeHelper.convertToString(peerConfig.getTableCFsMap());<a
name="line.231"></a>
+<span class="sourceLineNo">231</span>    return ReplicationPeerConfigUtil.convertToString(peerConfig.getTableCFsMap());<a
name="line.231"></a>
 <span class="sourceLineNo">232</span>  }<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>
@@ -251,7 +251,7 @@
 <span class="sourceLineNo">243</span>  @Deprecated<a name="line.243"></a>
 <span class="sourceLineNo">244</span>  public void appendPeerTableCFs(String
id, String tableCfs) throws ReplicationException,<a name="line.244"></a>
 <span class="sourceLineNo">245</span>      IOException {<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    appendPeerTableCFs(id, ReplicationSerDeHelper.parseTableCFsFromConfig(tableCfs));<a
name="line.246"></a>
+<span class="sourceLineNo">246</span>    appendPeerTableCFs(id, ReplicationPeerConfigUtil.parseTableCFsFromConfig(tableCfs));<a
name="line.246"></a>
 <span class="sourceLineNo">247</span>  }<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>
@@ -308,7 +308,7 @@
 <span class="sourceLineNo">300</span>  @Deprecated<a name="line.300"></a>
 <span class="sourceLineNo">301</span>  public void removePeerTableCFs(String
id, String tableCf) throws ReplicationException,<a name="line.301"></a>
 <span class="sourceLineNo">302</span>      IOException {<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    removePeerTableCFs(id, ReplicationSerDeHelper.parseTableCFsFromConfig(tableCf));<a
name="line.303"></a>
+<span class="sourceLineNo">303</span>    removePeerTableCFs(id, ReplicationPeerConfigUtil.parseTableCFsFromConfig(tableCf));<a
name="line.303"></a>
 <span class="sourceLineNo">304</span>  }<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>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/67a6e2ec/apidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
b/apidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
index f5cdedc..4d3966e 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
@@ -131,7 +131,27 @@
 <span class="sourceLineNo">123</span>    builder.append("bandwidth=").append(bandwidth);<a
name="line.123"></a>
 <span class="sourceLineNo">124</span>    return builder.toString();<a name="line.124"></a>
 <span class="sourceLineNo">125</span>  }<a name="line.125"></a>
-<span class="sourceLineNo">126</span>}<a name="line.126"></a>
+<span class="sourceLineNo">126</span><a name="line.126"></a>
+<span class="sourceLineNo">127</span>  /**<a name="line.127"></a>
+<span class="sourceLineNo">128</span>   * Decide whether the table need replicate
to the peer cluster<a name="line.128"></a>
+<span class="sourceLineNo">129</span>   * @param table name of the table<a
name="line.129"></a>
+<span class="sourceLineNo">130</span>   * @return true if the table need replicate
to the peer cluster<a name="line.130"></a>
+<span class="sourceLineNo">131</span>   */<a name="line.131"></a>
+<span class="sourceLineNo">132</span>  public boolean needToReplicate(TableName
table) {<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    // If null means user has explicitly
not configured any namespaces and table CFs<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    // so all the tables data are applicable
for replication<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    if (namespaces == null &amp;&amp;
tableCFsMap == null) {<a name="line.135"></a>
+<span class="sourceLineNo">136</span>      return true;<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    }<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    if (namespaces != null &amp;&amp;
namespaces.contains(table.getNamespaceAsString())) {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>      return true;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    }<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    if (tableCFsMap != null &amp;&amp;
tableCFsMap.containsKey(table)) {<a name="line.141"></a>
+<span class="sourceLineNo">142</span>      return true;<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    }<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    return false;<a name="line.144"></a>
+<span class="sourceLineNo">145</span>  }<a name="line.145"></a>
+<span class="sourceLineNo">146</span>}<a name="line.146"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/67a6e2ec/book.html
----------------------------------------------------------------------
diff --git a/book.html b/book.html
index ed23836..3895bd2 100644
--- a/book.html
+++ b/book.html
@@ -6389,17 +6389,17 @@ Quitting...</code></pre>
 <h2 id="_upgrade_paths"><a class="anchor" href="#_upgrade_paths"></a>13.
Upgrade Paths</h2>
 <div class="sectionbody">
 <div class="sect2">
-<h3 id="upgrade1.0"><a class="anchor" href="#upgrade1.0"></a>13.1. Upgrading
from 0.98.x to 1.0.x</h3>
+<h3 id="upgrade1.0"><a class="anchor" href="#upgrade1.0"></a>13.1. Upgrading
from 0.98.x to 1.x</h3>
 <div class="paragraph">
-<p>In this section we first note the significant changes that come in with 1.0.0 HBase
and then we go over the upgrade process. Be sure to read the significant changes section with
care so you avoid surprises.</p>
+<p>In this section we first note the significant changes that come in with 1.0.0+ HBase
and then we go over the upgrade process. Be sure to read the significant changes section with
care so you avoid surprises.</p>
 </div>
 <div class="sect3">
 <h4 id="_changes_of_note"><a class="anchor" href="#_changes_of_note"></a>13.1.1.
Changes of Note!</h4>
 <div class="paragraph">
-<p>In here we list important changes that are in 1.0.0 since 0.98.x., changes you should
be aware that will go into effect once you upgrade.</p>
+<p>In here we list important changes that are in 1.0.0+ since 0.98.x., changes you
should be aware that will go into effect once you upgrade.</p>
 </div>
 <div id="zookeeper.3.4" class="paragraph">
-<div class="title">ZooKeeper 3.4 is required in HBase 1.0.0</div>
+<div class="title">ZooKeeper 3.4 is required in HBase 1.0.0+</div>
 <p>See <a href="#zookeeper.requirements">ZooKeeper Requirements</a>.</p>
 </div>
 <div id="default.ports.changed" class="paragraph">
@@ -6430,6 +6430,10 @@ to miss data. In particular, 0.98.11 defaults <code>hbase.client.scanner.max.res
 to 2 MB but other versions default to larger values. For this reason, be very careful
 using 0.98.11 servers with any other client version.</p>
 </div>
+<div class="paragraph">
+<div class="title">Availability of Date Tiered Compaction.</div>
+<p>The Date Tiered Compaction feature available as of 0.98.19 is available in the 1.y
release line starting in release 1.3.0. If you have enabled this feature for any tables you
must upgrade to version 1.3.0 or later. If you attempt to use an earlier 1.y release, any
tables configured to use date tiered compaction will fail to have their regions open.</p>
+</div>
 </div>
 <div class="sect3">
 <h4 id="upgrade1.0.rolling.upgrade"><a class="anchor" href="#upgrade1.0.rolling.upgrade"></a>13.1.2.
Rolling upgrade from 0.98.x to HBase 1.0.0</h4>
@@ -35445,7 +35449,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-11-15 14:43:02 UTC
+Last updated 2017-11-16 14:29:37 UTC
 </div>
 </div>
 </body>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/67a6e2ec/bulk-loads.html
----------------------------------------------------------------------
diff --git a/bulk-loads.html b/bulk-loads.html
index 2658239..aedaf82 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="20171115" />
+    <meta name="Date-Revision-yyyymmdd" content="20171116" />
     <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-11-15</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-11-16</li>
             </p>
                 </div>
 


Mime
View raw message