You need to enable replication on both data & index table in Hbase level using Phoenix 4.2(previous 4.2 Phoenix version may have issues on local index). There is a test case MutableIndexReplicationIT where you can see some details. Ideally Phoenix should provide a customer replication sink so that a user doesn't have to setup replication on index table.
From: Jean-Marc Spaggiari <[email protected]> Reply-To: <[email protected]> Date: Monday, December 8, 2014 at 9:29 AM To: user <[email protected]> Subject: Replication? Hi, How do we replicate data between 2 cluster when Phoenix is in the picture? Can we simply replicate the table we want from A to B and on cluster B Phoenix will do the required re-indexing? Or should we also replicate the Phoenix tables too? Thanks, JM -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
