Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

What the commands "enable_table_replication" or "disable_table_replication" do

avatar
Rising Star

Hi

I would like to know if these commands disable the table before activating/deactivating the replication of families so that services using it get stuck.

I know to activate replication manually I have to first disable the table, change to "1" the colum "REPLICATION_SCOPE" and then enable again, so I would like to know if these commands do it automatically...I suppose so, but I want to be sure to calcule impact on services using the table.

Regards,

Silvio

1 ACCEPTED SOLUTION

avatar
Super Guru

As long as "hbase.online.schema.update.enable" is not set to false in hbase-site.xml, this will be done without disabling the table.

View solution in original post

4 REPLIES 4

avatar
Super Guru

As long as "hbase.online.schema.update.enable" is not set to false in hbase-site.xml, this will be done without disabling the table.

avatar
Rising Star

I can´t see that property explicitely defined as "False" in hbase-site.xml, so I can suppose it is True. We are using HDP 2.3.2.0-2950, wich includes HBase 1.1.2, so I think it is defined as True by default. Is it?

avatar
Super Guru

Yes, the default is "true". That's why I stated my reply in the way I did. As long as you are not setting the property to false, the (default) value would be true, and thus the table would not be disabled in the process.

avatar
Rising Star

Ok, thank you very much for answering 🙂