From aeeb8556dbe4434695fd8ef2b4d89a84e616e201 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Fri, 19 Jul 2024 00:03:19 +0800 Subject: [PATCH] HBASE-28740 Need to call parent class's serialization methods in CloseExcessRegionReplicasProcedure (#6090) Signed-off-by: Andrew Purtell Signed-off-by: Pankaj Kumar --- .../master/procedure/CloseExcessRegionReplicasProcedure.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloseExcessRegionReplicasProcedure.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloseExcessRegionReplicasProcedure.java index 61e7c0f86075..bb5da2cc48e8 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloseExcessRegionReplicasProcedure.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloseExcessRegionReplicasProcedure.java @@ -142,6 +142,7 @@ protected CloseExcessRegionReplicasProcedureState getInitialState() { @Override protected void serializeStateData(ProcedureStateSerializer serializer) throws IOException { + super.serializeStateData(serializer); CloseExcessRegionReplicasProcedureStateData data = CloseExcessRegionReplicasProcedureStateData .newBuilder().setTableName(ProtobufUtil.toProtoTableName(tableName)) .setNewReplicaCount(newReplicaCount).build(); @@ -150,6 +151,7 @@ protected void serializeStateData(ProcedureStateSerializer serializer) throws IO @Override protected void deserializeStateData(ProcedureStateSerializer serializer) throws IOException { + super.deserializeStateData(serializer); CloseExcessRegionReplicasProcedureStateData data = serializer.deserialize(CloseExcessRegionReplicasProcedureStateData.class); tableName = ProtobufUtil.toTableName(data.getTableName());