Support Questions

Find answers, ask questions, and share your expertise

Hbase read replica performing Compaction - Strange issue

avatar
Champion

We enabled Hbase read replica - However we bump into this situtation   we observed that read replica cluster is still doing compaction and Primary cluster is reporting a FileNotFound Exception for multiple regions.

What could be the reason for this ? Is there any specific configuration parameter that is enabled ? 

2 REPLIES 2

avatar
Expert Contributor

Hi @csguna 

We can check below for read replica properties which can be configured -

https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/hbase-high-availability/topics/hbase-read-rep...

Compaction would be carried out for primary region according to design. Flushes, compactions and bulk loads can change the list of files. This means that the secondaries will need to discover the file changes, but until all secondaries are in sync, the old store files should not be deleted.

avatar
Champion
Hi Thanks for the link however my question is Read replica is performing
compaction , any reason why it is so ? where should we look into to fix
this issue?
Since replication is done by readonly cluster it is deleting and causing
FileNotFoundException