You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by an...@apache.org on 2014/07/16 18:58:51 UTC
git commit: HBASE-10398 HBase book updates for Replication after
HBASE-10322. (Misty)
Repository: hbase
Updated Branches:
refs/heads/master 9d8ad39a4 -> da8f0a336
HBASE-10398 HBase book updates for Replication after HBASE-10322. (Misty)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/da8f0a33
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/da8f0a33
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/da8f0a33
Branch: refs/heads/master
Commit: da8f0a336d9a3b516fc1f5d33c462b1ef4996117
Parents: 9d8ad39
Author: anoopsjohn <an...@gmail.com>
Authored: Wed Jul 16 22:28:07 2014 +0530
Committer: anoopsjohn <an...@gmail.com>
Committed: Wed Jul 16 22:28:07 2014 +0530
----------------------------------------------------------------------
src/main/docbkx/book.xml | 5 +++++
src/main/docbkx/ops_mgt.xml | 10 ++++++++++
src/main/docbkx/security.xml | 5 +++++
3 files changed, 20 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/da8f0a33/src/main/docbkx/book.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/book.xml b/src/main/docbkx/book.xml
index 123b287..92c372e 100644
--- a/src/main/docbkx/book.xml
+++ b/src/main/docbkx/book.xml
@@ -4390,6 +4390,11 @@ This option should not normally be used, and it is not in <code>-fixAll</code>.
<appendix xml:id="compression">
<title >Compression In HBase<indexterm><primary>Compression</primary></indexterm></title>
+ <note>
+ <para>Codecs mentioned in this section are for encoding and decoding data blocks. For
+ information about replication codecs, see <xref
+ linkend="cluster.replication.preserving.tags" />.</para>
+ </note>
<para>There are a bunch of compression options in HBase. Some codecs come with java --
e.g. gzip -- and so require no additional installations. Others require native
libraries. The native libraries may be available in your hadoop as is the case
http://git-wip-us.apache.org/repos/asf/hbase/blob/da8f0a33/src/main/docbkx/ops_mgt.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml
index 94d67cd..6108b9c 100644
--- a/src/main/docbkx/ops_mgt.xml
+++ b/src/main/docbkx/ops_mgt.xml
@@ -1109,6 +1109,16 @@ false
<title>Cluster Replication</title>
<para>See <link
xlink:href="http://hbase.apache.org/replication.html">Cluster Replication</link>. </para>
+ <note xml:id="cluster.replication.preserving.tags">
+ <title>Preserving Tags During Replication</title>
+ <para>By default, the codec used for replication between clusters strips tags, such as
+ cell-level ACLs, from cells. To prevent the tags from being stripped, you can use a
+ different codec which does not strip them. Configure
+ <code>hbase.replication.rpc.codec</code> to use
+ <literal>org.apache.hadoop.hbase.codec.KeyValueCodecWithTags</literal>, on both the source
+ and sink RegionServers involved in the replication. This option was introduced in <link
+ xlink:href="https://issues.apache.org/jira/browse/HBASE-10322">HBASE-10322</link>.</para>
+ </note>
</section>
<section
xml:id="ops.backup">
http://git-wip-us.apache.org/repos/asf/hbase/blob/da8f0a33/src/main/docbkx/security.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/security.xml b/src/main/docbkx/security.xml
index 8eda69a..0e6ade0 100644
--- a/src/main/docbkx/security.xml
+++ b/src/main/docbkx/security.xml
@@ -1582,6 +1582,11 @@ user_permission <table>
<code>org.apache.hadoop.hbase.security.visibility.DefaultScanLabelGenerator</code>. One
can configure a set of ScanLabelGenerators to be used by the system. For this, a comma
separated set of implementation class names to be configured. </para>
+ <note>
+ <title>Visibility Labels and Replication</title>
+ <para>By default, visibility labels are lost on replication. To change this behavior, see
+ <xref linkend="cluster.replication.preserving.tags" />.</para>
+ </note>
</section>
</section>