Skip to content

Commit ea26463

Browse files
nyl3532016virajjasani
authored andcommitted
HBASE-24880 Remove ReplicationPeerConfigUpgrader
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>
1 parent c8c2016 commit ea26463

3 files changed

Lines changed: 0 additions & 404 deletions

File tree

hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@
187187
import org.apache.hadoop.hbase.replication.SyncReplicationState;
188188
import org.apache.hadoop.hbase.replication.master.ReplicationHFileCleaner;
189189
import org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner;
190-
import org.apache.hadoop.hbase.replication.master.ReplicationPeerConfigUpgrader;
191190
import org.apache.hadoop.hbase.replication.regionserver.ReplicationStatus;
192191
import org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint;
193192
import org.apache.hadoop.hbase.rsgroup.RSGroupBasedLoadBalancer;
@@ -1025,13 +1024,6 @@ private void finishActiveMasterInitialization(MonitoredTask status) throws IOExc
10251024
zombieDetector.setDaemon(true);
10261025
zombieDetector.start();
10271026

1028-
// This is for backwards compatibility
1029-
// See HBASE-11393
1030-
status.setStatus("Update TableCFs node in ZNode");
1031-
ReplicationPeerConfigUpgrader tableCFsUpdater =
1032-
new ReplicationPeerConfigUpgrader(zooKeeper, conf);
1033-
tableCFsUpdater.copyTableCFs();
1034-
10351027
if (!maintenanceMode) {
10361028
// Add the Observer to delete quotas on table deletion before starting all CPs by
10371029
// default with quota support, avoiding if user specifically asks to not load this Observer.

hbase-server/src/main/java/org/apache/hadoop/hbase/replication/master/ReplicationPeerConfigUpgrader.java

Lines changed: 0 additions & 175 deletions
This file was deleted.

0 commit comments

Comments
 (0)