@@ -225,18 +225,6 @@ default void postCompletedTruncateTableAction(
225
225
final ObserverContext <MasterCoprocessorEnvironment > ctx , final TableName tableName )
226
226
throws IOException {}
227
227
228
- /**
229
- * Called prior to modifying a table's properties. Called as part of modify
230
- * table RPC call.
231
- * @param ctx the environment to interact with the framework and master
232
- * @param tableName the name of the table
233
- * @param newDescriptor after modify operation, table will have this descriptor
234
- * @deprecated Since 2.1. Will be removed in 3.0.
235
- */
236
- @ Deprecated
237
- default void preModifyTable (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
238
- final TableName tableName , TableDescriptor newDescriptor ) throws IOException {}
239
-
240
228
/**
241
229
* Called prior to modifying a table's properties. Called as part of modify
242
230
* table RPC call.
@@ -248,22 +236,9 @@ default void preModifyTable(final ObserverContext<MasterCoprocessorEnvironment>
248
236
default TableDescriptor preModifyTable (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
249
237
final TableName tableName , TableDescriptor currentDescriptor , TableDescriptor newDescriptor )
250
238
throws IOException {
251
- preModifyTable (ctx , tableName , newDescriptor );
252
239
return newDescriptor ;
253
240
}
254
241
255
- /**
256
- * Called after the modifyTable operation has been requested. Called as part
257
- * of modify table RPC call.
258
- * @param ctx the environment to interact with the framework and master
259
- * @param tableName the name of the table
260
- * @param currentDescriptor current TableDescriptor of the table
261
- * @deprecated Since 2.1. Will be removed in 3.0.
262
- */
263
- @ Deprecated
264
- default void postModifyTable (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
265
- final TableName tableName , TableDescriptor currentDescriptor ) throws IOException {}
266
-
267
242
/**
268
243
* Called after the modifyTable operation has been requested. Called as part
269
244
* of modify table RPC call.
@@ -274,24 +249,7 @@ default void postModifyTable(final ObserverContext<MasterCoprocessorEnvironment>
274
249
*/
275
250
default void postModifyTable (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
276
251
final TableName tableName , TableDescriptor oldDescriptor , TableDescriptor currentDescriptor )
277
- throws IOException {
278
- postModifyTable (ctx , tableName , currentDescriptor );
279
- }
280
-
281
- /**
282
- * Called prior to modifying a table's properties. Called as part of modify
283
- * table procedure and it is async to the modify table RPC call.
284
- *
285
- * @param ctx the environment to interact with the framework and master
286
- * @param tableName the name of the table
287
- * @param newDescriptor after modify operation, table will have this descriptor
288
- * @deprecated Since 2.1. Will be removed in 3.0.
289
- */
290
- @ Deprecated
291
- default void preModifyTableAction (
292
- final ObserverContext <MasterCoprocessorEnvironment > ctx ,
293
- final TableName tableName ,
294
- final TableDescriptor newDescriptor ) throws IOException {}
252
+ throws IOException {}
295
253
296
254
/**
297
255
* Called prior to modifying a table's properties. Called as part of modify
@@ -306,24 +264,7 @@ default void preModifyTableAction(
306
264
final ObserverContext <MasterCoprocessorEnvironment > ctx ,
307
265
final TableName tableName ,
308
266
final TableDescriptor currentDescriptor ,
309
- final TableDescriptor newDescriptor ) throws IOException {
310
- preModifyTableAction (ctx , tableName , newDescriptor );
311
- }
312
-
313
- /**
314
- * Called after to modifying a table's properties. Called as part of modify
315
- * table procedure and it is async to the modify table RPC call.
316
- *
317
- * @param ctx the environment to interact with the framework and master
318
- * @param tableName the name of the table
319
- * @param currentDescriptor current TableDescriptor of the table
320
- * @deprecated Since 2.1. Will be removed in 3.0.
321
- */
322
- @ Deprecated
323
- default void postCompletedModifyTableAction (
324
- final ObserverContext <MasterCoprocessorEnvironment > ctx ,
325
- final TableName tableName ,
326
- final TableDescriptor currentDescriptor ) throws IOException {}
267
+ final TableDescriptor newDescriptor ) throws IOException {}
327
268
328
269
/**
329
270
* Called after to modifying a table's properties. Called as part of modify
@@ -338,9 +279,7 @@ default void postCompletedModifyTableAction(
338
279
final ObserverContext <MasterCoprocessorEnvironment > ctx ,
339
280
final TableName tableName ,
340
281
final TableDescriptor oldDescriptor ,
341
- final TableDescriptor currentDescriptor ) throws IOException {
342
- postCompletedModifyTableAction (ctx , tableName , currentDescriptor );
343
- }
282
+ final TableDescriptor currentDescriptor ) throws IOException {}
344
283
345
284
/**
346
285
* Called prior to enabling a table. Called as part of enable table RPC call.
@@ -916,16 +855,6 @@ default void preDeleteNamespace(final ObserverContext<MasterCoprocessorEnvironme
916
855
default void postDeleteNamespace (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
917
856
String namespace ) throws IOException {}
918
857
919
- /**
920
- * Called prior to modifying a namespace's properties.
921
- * @param ctx the environment to interact with the framework and master
922
- * @param newNsDescriptor after modify operation, namespace will have this descriptor
923
- * @deprecated Since 2.1. Will be removed in 3.0.
924
- */
925
- @ Deprecated
926
- default void preModifyNamespace (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
927
- NamespaceDescriptor newNsDescriptor ) throws IOException {}
928
-
929
858
/**
930
859
* Called prior to modifying a namespace's properties.
931
860
* @param ctx the environment to interact with the framework and master
@@ -934,19 +863,7 @@ default void preModifyNamespace(final ObserverContext<MasterCoprocessorEnvironme
934
863
*/
935
864
default void preModifyNamespace (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
936
865
NamespaceDescriptor currentNsDescriptor , NamespaceDescriptor newNsDescriptor )
937
- throws IOException {
938
- preModifyNamespace (ctx , newNsDescriptor );
939
- }
940
-
941
- /**
942
- * Called after the modifyNamespace operation has been requested.
943
- * @param ctx the environment to interact with the framework and master
944
- * @param currentNsDescriptor current NamespaceDescriptor of the namespace
945
- * @deprecated Since 2.1. Will be removed in 3.0.
946
- */
947
- @ Deprecated
948
- default void postModifyNamespace (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
949
- NamespaceDescriptor currentNsDescriptor ) throws IOException {}
866
+ throws IOException {}
950
867
951
868
/**
952
869
* Called after the modifyNamespace operation has been requested.
@@ -956,9 +873,7 @@ default void postModifyNamespace(final ObserverContext<MasterCoprocessorEnvironm
956
873
*/
957
874
default void postModifyNamespace (final ObserverContext <MasterCoprocessorEnvironment > ctx ,
958
875
NamespaceDescriptor oldNsDescriptor , NamespaceDescriptor currentNsDescriptor )
959
- throws IOException {
960
- postModifyNamespace (ctx , currentNsDescriptor );
961
- }
876
+ throws IOException {}
962
877
963
878
/**
964
879
* Called before a getNamespaceDescriptor request has been processed.
0 commit comments