HBASE-11651 Add conf which disables MetaMigrationConvertingToPB check (for experts only)

This commit is contained in:
stack 2014-08-01 16:35:33 -07:00
parent 9db8ecba74
commit 4d272fa5ee
1 changed files with 3 additions and 1 deletions

View File

@ -577,7 +577,9 @@ public class HMaster extends HRegionServer implements MasterServices, Server {
// Update meta with new PB serialization if required. i.e migrate all HRI to PB serialization
// in meta. This must happen before we assign all user regions or else the assignment will
// fail.
MetaMigrationConvertingToPB.updateMetaIfNecessary(this);
if (this.conf.getBoolean("hbase.MetaMigrationConvertingToPB", true)) {
MetaMigrationConvertingToPB.updateMetaIfNecessary(this);
}
// Fix up assignment manager status
status.setStatus("Starting assignment manager");