[
https://issues.apache.org/jira/browse/PHOENIX-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008837#comment-16008837
]
Yi Liang commented on PHOENIX-3846:
-----------------------------------
Hi [~gjacoby]
I am trying use Phoenix to put data, and the replication still can not work.
Below is my detail steps I followed. BTW, I am using hbase 1.2.4 and phoenix 4.6
(1) Enable HBase replication, like setting hbase.replication=true.
//HBase replication works fine after step (1)
(2) Change WALCellCodec to IndexedWALEditCodec in hbase-site.xml on both source
and destination cluster
(3) Using Phoenix create command to create same table on both source and
destination cluster, (Notice that I just create a normal table, and did not
create index on this table)
(4) Run Add_peers command in source cluster hbase shell
(5) For the table created in Phoenix, alter its replication_scope in hbase
shell to enable its replication.
(6) Using UPSERT command in Phoenix to put data.
//After step (2) to (4), the data only inserted into source cluster, but not
into destination cluster
(7) Change IndexedWALEditCodec back to WALCellCodec,
//the replication works fine now, the data UPSERT at source phoenix now
replicated to destination cluster.
So, I guess there might be more configuration I need to do, or the
IndexedWALEditCodec may break the replication.
> IndexedWALEditCodec make hbase cluster replication does not work
> ----------------------------------------------------------------
>
> Key: PHOENIX-3846
> URL: https://issues.apache.org/jira/browse/PHOENIX-3846
> Project: Phoenix
> Issue Type: Bug
> Reporter: Yi Liang
>
> <property>
> <name>hbase.regionserver.wal.codec</name>
> <value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value>
> </property>
> When have above settings, the hbase cluster replication does not work. If I
> change above value back to WALCellCodec, the hbase cluster replication works
> fine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)