Skip to content

Commit

Permalink
HBASE-24880 Remove ReplicationPeerConfigUpgrader
Browse files Browse the repository at this point in the history
Closes #2266

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
  • Loading branch information
nyl3532016 authored and virajjasani committed Aug 17, 2020
1 parent c8c2016 commit ea26463
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 404 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
import org.apache.hadoop.hbase.replication.SyncReplicationState;
import org.apache.hadoop.hbase.replication.master.ReplicationHFileCleaner;
import org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner;
import org.apache.hadoop.hbase.replication.master.ReplicationPeerConfigUpgrader;
import org.apache.hadoop.hbase.replication.regionserver.ReplicationStatus;
import org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint;
import org.apache.hadoop.hbase.rsgroup.RSGroupBasedLoadBalancer;
Expand Down Expand Up @@ -1025,13 +1024,6 @@ private void finishActiveMasterInitialization(MonitoredTask status) throws IOExc
zombieDetector.setDaemon(true);
zombieDetector.start();

// This is for backwards compatibility
// See HBASE-11393
status.setStatus("Update TableCFs node in ZNode");
ReplicationPeerConfigUpgrader tableCFsUpdater =
new ReplicationPeerConfigUpgrader(zooKeeper, conf);
tableCFsUpdater.copyTableCFs();

if (!maintenanceMode) {
// Add the Observer to delete quotas on table deletion before starting all CPs by
// default with quota support, avoiding if user specifically asks to not load this Observer.
Expand Down

This file was deleted.

Loading

0 comments on commit ea26463

Please sign in to comment.