001/*
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements.  See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership.  The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License.  You may obtain a copy of the License at
009 *
010 *     http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 */
018package org.apache.hadoop.hbase.tool.coprocessor;
019
020import org.apache.yetus.audience.InterfaceAudience;
021
022@InterfaceAudience.Private
023public class Branch1CoprocessorMethods extends CoprocessorMethods {
024  public Branch1CoprocessorMethods() {
025    addMethods();
026  }
027
028  /*
029   * This list of methods was generated from HBase 1.4.4.
030   */
031  private void addMethods() {
032    /* BulkLoadObserver */
033
034    addMethod("prePrepareBulkLoad", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
035      "org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest");
036
037    addMethod("preCleanupBulkLoad", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
038      "org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest");
039
040    /* EndpointObserver */
041
042    addMethod("postEndpointInvocation", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
043      "com.google.protobuf.Service", "java.lang.String", "com.google.protobuf.Message",
044      "com.google.protobuf.Message.Builder");
045
046    addMethod("preEndpointInvocation", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
047      "com.google.protobuf.Service", "java.lang.String", "com.google.protobuf.Message");
048
049    /* MasterObserver */
050
051    addMethod("preCreateTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
052      "org.apache.hadoop.hbase.HTableDescriptor", "org.apache.hadoop.hbase.HRegionInfo[]");
053
054    addMethod("postCreateTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
055      "org.apache.hadoop.hbase.HTableDescriptor", "org.apache.hadoop.hbase.HRegionInfo[]");
056
057    addMethod("preDeleteTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
058      "org.apache.hadoop.hbase.TableName");
059
060    addMethod("postDeleteTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
061      "org.apache.hadoop.hbase.TableName");
062
063    addMethod("preDeleteTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
064      "org.apache.hadoop.hbase.TableName");
065
066    addMethod("preMove", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
067      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.ServerName",
068      "org.apache.hadoop.hbase.ServerName");
069
070    addMethod("preCreateTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
071      "org.apache.hadoop.hbase.HTableDescriptor", "org.apache.hadoop.hbase.HRegionInfo[]");
072
073    addMethod("postCreateTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
074      "org.apache.hadoop.hbase.HTableDescriptor", "org.apache.hadoop.hbase.HRegionInfo[]");
075
076    addMethod("postMove", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
077      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.ServerName",
078      "org.apache.hadoop.hbase.ServerName");
079
080    addMethod("postDeleteTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
081      "org.apache.hadoop.hbase.TableName");
082
083    addMethod("preTruncateTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
084      "org.apache.hadoop.hbase.TableName");
085
086    addMethod("postTruncateTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
087      "org.apache.hadoop.hbase.TableName");
088
089    addMethod("preTruncateTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
090      "org.apache.hadoop.hbase.TableName");
091
092    addMethod("postTruncateTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
093      "org.apache.hadoop.hbase.TableName");
094
095    addMethod("preModifyTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
096      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HTableDescriptor");
097
098    addMethod("postModifyTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
099      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HTableDescriptor");
100
101    addMethod("preModifyTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
102      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HTableDescriptor");
103
104    addMethod("postModifyTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
105      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HTableDescriptor");
106
107    addMethod("preAddColumn", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
108      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
109
110    addMethod("postAddColumn", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
111      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
112
113    addMethod("preAddColumnHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
114      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
115
116    addMethod("postAddColumnHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
117      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
118
119    addMethod("preModifyColumn", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
120      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
121
122    addMethod("postModifyColumn", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
123      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
124
125    addMethod("preModifyColumnHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
126      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
127
128    addMethod("postModifyColumnHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
129      "org.apache.hadoop.hbase.TableName", "org.apache.hadoop.hbase.HColumnDescriptor");
130
131    addMethod("preDeleteColumn", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
132      "org.apache.hadoop.hbase.TableName", "byte[]");
133
134    addMethod("postDeleteColumn", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
135      "org.apache.hadoop.hbase.TableName", "byte[]");
136
137    addMethod("preDeleteColumnHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
138      "org.apache.hadoop.hbase.TableName", "byte[]");
139
140    addMethod("postDeleteColumnHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
141      "org.apache.hadoop.hbase.TableName", "byte[]");
142
143    addMethod("preEnableTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
144      "org.apache.hadoop.hbase.TableName");
145
146    addMethod("postEnableTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
147      "org.apache.hadoop.hbase.TableName");
148
149    addMethod("preEnableTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
150      "org.apache.hadoop.hbase.TableName");
151
152    addMethod("postEnableTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
153      "org.apache.hadoop.hbase.TableName");
154
155    addMethod("preDisableTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
156      "org.apache.hadoop.hbase.TableName");
157
158    addMethod("postDisableTable", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
159      "org.apache.hadoop.hbase.TableName");
160
161    addMethod("preDisableTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
162      "org.apache.hadoop.hbase.TableName");
163
164    addMethod("postDisableTableHandler", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
165      "org.apache.hadoop.hbase.TableName");
166
167    addMethod("preAbortProcedure", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
168      "org.apache.hadoop.hbase.procedure2.ProcedureExecutor", "long");
169
170    addMethod("postAbortProcedure", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
171
172    addMethod("preListProcedures", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
173
174    addMethod("postListProcedures", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
175      "java.util.List");
176
177    addMethod("preAssign", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
178      "org.apache.hadoop.hbase.HRegionInfo");
179
180    addMethod("postAssign", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
181      "org.apache.hadoop.hbase.HRegionInfo");
182
183    addMethod("preUnassign", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
184      "org.apache.hadoop.hbase.HRegionInfo", "boolean");
185
186    addMethod("postUnassign", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
187      "org.apache.hadoop.hbase.HRegionInfo", "boolean");
188
189    addMethod("preRegionOffline", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
190      "org.apache.hadoop.hbase.HRegionInfo");
191
192    addMethod("postRegionOffline", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
193      "org.apache.hadoop.hbase.HRegionInfo");
194
195    addMethod("preBalance", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
196
197    addMethod("postBalance", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
198      "java.util.List");
199
200    addMethod("preSetSplitOrMergeEnabled", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
201      "boolean", "org.apache.hadoop.hbase.client.Admin.MasterSwitchType");
202
203    addMethod("postSetSplitOrMergeEnabled", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
204      "boolean", "org.apache.hadoop.hbase.client.Admin.MasterSwitchType");
205
206    addMethod("preBalanceSwitch", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "boolean");
207
208    addMethod("postBalanceSwitch", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "boolean",
209      "boolean");
210
211    addMethod("preShutdown", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
212
213    addMethod("preStopMaster", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
214
215    addMethod("postStartMaster", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
216
217    addMethod("preMasterInitialization", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
218
219    addMethod("preSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
220      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription",
221      "org.apache.hadoop.hbase.HTableDescriptor");
222
223    addMethod("postSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
224      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription",
225      "org.apache.hadoop.hbase.HTableDescriptor");
226
227    addMethod("preListSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
228      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription");
229
230    addMethod("postListSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
231      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription");
232
233    addMethod("preCloneSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
234      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription",
235      "org.apache.hadoop.hbase.HTableDescriptor");
236
237    addMethod("postCloneSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
238      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription",
239      "org.apache.hadoop.hbase.HTableDescriptor");
240
241    addMethod("preRestoreSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
242      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription",
243      "org.apache.hadoop.hbase.HTableDescriptor");
244
245    addMethod("postRestoreSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
246      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription",
247      "org.apache.hadoop.hbase.HTableDescriptor");
248
249    addMethod("preDeleteSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
250      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription");
251
252    addMethod("postDeleteSnapshot", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
253      "org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription");
254
255    addMethod("preGetTableDescriptors", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
256      "java.util.List", "java.util.List");
257
258    addMethod("preGetTableDescriptors", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
259      "java.util.List", "java.util.List", "java.lang.String");
260
261    addMethod("postGetTableDescriptors", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
262      "java.util.List", "java.util.List", "java.lang.String");
263
264    addMethod("postGetTableDescriptors", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
265      "java.util.List");
266
267    addMethod("preGetTableNames", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
268      "java.util.List", "java.lang.String");
269
270    addMethod("postGetTableNames", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
271      "java.util.List", "java.lang.String");
272
273    addMethod("preCreateNamespace", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
274      "org.apache.hadoop.hbase.NamespaceDescriptor");
275
276    addMethod("postCreateNamespace", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
277      "org.apache.hadoop.hbase.NamespaceDescriptor");
278
279    addMethod("preDeleteNamespace", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
280      "java.lang.String");
281
282    addMethod("postDeleteNamespace", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
283      "java.lang.String");
284
285    addMethod("preModifyNamespace", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
286      "org.apache.hadoop.hbase.NamespaceDescriptor");
287
288    addMethod("postModifyNamespace", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
289      "org.apache.hadoop.hbase.NamespaceDescriptor");
290
291    addMethod("preGetNamespaceDescriptor", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
292      "java.lang.String");
293
294    addMethod("postGetNamespaceDescriptor", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
295      "org.apache.hadoop.hbase.NamespaceDescriptor");
296
297    addMethod("preListNamespaceDescriptors", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
298      "java.util.List");
299
300    addMethod("postListNamespaceDescriptors", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
301      "java.util.List");
302
303    addMethod("preTableFlush", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
304      "org.apache.hadoop.hbase.TableName");
305
306    addMethod("postTableFlush", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
307      "org.apache.hadoop.hbase.TableName");
308
309    addMethod("preSetUserQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
310      "java.lang.String", "java.lang.String",
311      "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
312
313    addMethod("preSetUserQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
314      "java.lang.String", "org.apache.hadoop.hbase.TableName",
315      "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
316
317    addMethod("preSetUserQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
318      "java.lang.String", "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
319
320    addMethod("postSetUserQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
321      "java.lang.String", "java.lang.String",
322      "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
323
324    addMethod("postSetUserQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
325      "java.lang.String", "org.apache.hadoop.hbase.TableName",
326      "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
327
328    addMethod("postSetUserQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
329      "java.lang.String", "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
330
331    addMethod("preSetTableQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
332      "org.apache.hadoop.hbase.TableName",
333      "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
334
335    addMethod("postSetTableQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
336      "org.apache.hadoop.hbase.TableName",
337      "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
338
339    addMethod("preSetNamespaceQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
340      "java.lang.String", "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
341
342    addMethod("postSetNamespaceQuota", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
343      "java.lang.String", "org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas");
344
345    addMethod("preDispatchMerge", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
346      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.HRegionInfo");
347
348    addMethod("postDispatchMerge", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
349      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.HRegionInfo");
350
351    addMethod("preGetClusterStatus", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
352
353    addMethod("postGetClusterStatus", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
354      "org.apache.hadoop.hbase.ClusterStatus");
355
356    addMethod("preClearDeadServers", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
357
358    addMethod("postClearDeadServers", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
359      "java.util.List", "java.util.List");
360
361    addMethod("preMoveServers", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
362      "java.util.Set", "java.lang.String");
363
364    addMethod("postMoveServers", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
365      "java.util.Set", "java.lang.String");
366
367    addMethod("preMoveTables", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
368      "java.util.Set", "java.lang.String");
369
370    addMethod("postMoveTables", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
371      "java.util.Set", "java.lang.String");
372
373    addMethod("preMoveServersAndTables", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
374      "java.util.Set", "java.util.Set", "java.lang.String");
375
376    addMethod("postMoveServersAndTables", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
377      "java.util.Set", "java.util.Set", "java.lang.String");
378
379    addMethod("preAddRSGroup", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
380      "java.lang.String");
381
382    addMethod("postAddRSGroup", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
383      "java.lang.String");
384
385    addMethod("preRemoveRSGroup", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
386      "java.lang.String");
387
388    addMethod("postRemoveRSGroup", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
389      "java.lang.String");
390
391    addMethod("preRemoveServers", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
392      "java.util.Set");
393
394    addMethod("postRemoveServers", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
395      "java.util.Set");
396
397    addMethod("preBalanceRSGroup", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
398      "java.lang.String");
399
400    addMethod("postBalanceRSGroup", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
401      "java.lang.String", "boolean");
402
403    /* RegionObserver */
404
405    addMethod("preOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
406
407    addMethod("postOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
408
409    addMethod("postLogReplay", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
410
411    addMethod("preFlushScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
412      "org.apache.hadoop.hbase.regionserver.Store",
413      "org.apache.hadoop.hbase.regionserver.KeyValueScanner",
414      "org.apache.hadoop.hbase.regionserver.InternalScanner", "long");
415
416    addMethod("preFlushScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
417      "org.apache.hadoop.hbase.regionserver.Store",
418      "org.apache.hadoop.hbase.regionserver.KeyValueScanner",
419      "org.apache.hadoop.hbase.regionserver.InternalScanner");
420
421    addMethod("preFlush", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
422      "org.apache.hadoop.hbase.regionserver.Store",
423      "org.apache.hadoop.hbase.regionserver.InternalScanner");
424
425    addMethod("preFlush", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
426
427    addMethod("postFlush", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
428      "org.apache.hadoop.hbase.regionserver.Store",
429      "org.apache.hadoop.hbase.regionserver.StoreFile");
430
431    addMethod("postFlush", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
432
433    addMethod("preCompactSelection", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
434      "org.apache.hadoop.hbase.regionserver.Store", "java.util.List");
435
436    addMethod("preCompactSelection", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
437      "org.apache.hadoop.hbase.regionserver.Store", "java.util.List",
438      "org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest");
439
440    addMethod("postCompactSelection", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
441      "org.apache.hadoop.hbase.regionserver.Store", "com.google.common.collect.ImmutableList");
442
443    addMethod("postCompactSelection", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
444      "org.apache.hadoop.hbase.regionserver.Store", "com.google.common.collect.ImmutableList",
445      "org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest");
446
447    addMethod("preCompact", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
448      "org.apache.hadoop.hbase.regionserver.Store",
449      "org.apache.hadoop.hbase.regionserver.InternalScanner",
450      "org.apache.hadoop.hbase.regionserver.ScanType");
451
452    addMethod("preCompact", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
453      "org.apache.hadoop.hbase.regionserver.Store",
454      "org.apache.hadoop.hbase.regionserver.InternalScanner",
455      "org.apache.hadoop.hbase.regionserver.ScanType",
456      "org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest");
457
458    addMethod("preClose", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "boolean");
459
460    addMethod("preCompactScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
461      "org.apache.hadoop.hbase.regionserver.Store", "java.util.List",
462      "org.apache.hadoop.hbase.regionserver.ScanType", "long",
463      "org.apache.hadoop.hbase.regionserver.InternalScanner");
464
465    addMethod("preCompactScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
466      "org.apache.hadoop.hbase.regionserver.Store", "java.util.List",
467      "org.apache.hadoop.hbase.regionserver.ScanType", "long",
468      "org.apache.hadoop.hbase.regionserver.InternalScanner",
469      "org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest", "long");
470
471    addMethod("preCompactScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
472      "org.apache.hadoop.hbase.regionserver.Store", "java.util.List",
473      "org.apache.hadoop.hbase.regionserver.ScanType", "long",
474      "org.apache.hadoop.hbase.regionserver.InternalScanner",
475      "org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest");
476
477    addMethod("postCompact", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
478      "org.apache.hadoop.hbase.regionserver.Store",
479      "org.apache.hadoop.hbase.regionserver.StoreFile");
480
481    addMethod("postCompact", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
482      "org.apache.hadoop.hbase.regionserver.Store",
483      "org.apache.hadoop.hbase.regionserver.StoreFile",
484      "org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest");
485
486    addMethod("preSplit", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]");
487
488    addMethod("preSplit", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
489
490    addMethod("postSplit", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
491      "org.apache.hadoop.hbase.regionserver.Region", "org.apache.hadoop.hbase.regionserver.Region");
492
493    addMethod("preSplitBeforePONR", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]",
494      "java.util.List");
495
496    addMethod("preSplitAfterPONR", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
497
498    addMethod("preRollBackSplit", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
499
500    addMethod("postRollBackSplit", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
501
502    addMethod("postCompleteSplit", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
503
504    addMethod("postClose", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "boolean");
505
506    addMethod("preGetClosestRowBefore", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
507      "byte[]", "byte[]", "org.apache.hadoop.hbase.client.Result");
508
509    addMethod("postGetClosestRowBefore", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
510      "byte[]", "byte[]", "org.apache.hadoop.hbase.client.Result");
511
512    addMethod("preGetOp", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
513      "org.apache.hadoop.hbase.client.Get", "java.util.List");
514
515    addMethod("postGetOp", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
516      "org.apache.hadoop.hbase.client.Get", "java.util.List");
517
518    addMethod("preExists", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
519      "org.apache.hadoop.hbase.client.Get", "boolean");
520
521    addMethod("postExists", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
522      "org.apache.hadoop.hbase.client.Get", "boolean");
523
524    addMethod("prePut", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
525      "org.apache.hadoop.hbase.client.Put", "org.apache.hadoop.hbase.regionserver.wal.WALEdit",
526      "org.apache.hadoop.hbase.client.Durability");
527
528    addMethod("postPut", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
529      "org.apache.hadoop.hbase.client.Put", "org.apache.hadoop.hbase.regionserver.wal.WALEdit",
530      "org.apache.hadoop.hbase.client.Durability");
531
532    addMethod("preDelete", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
533      "org.apache.hadoop.hbase.client.Delete", "org.apache.hadoop.hbase.regionserver.wal.WALEdit",
534      "org.apache.hadoop.hbase.client.Durability");
535
536    addMethod("prePrepareTimeStampForDeleteVersion",
537      "org.apache.hadoop.hbase.coprocessor.ObserverContext",
538      "org.apache.hadoop.hbase.client.Mutation", "org.apache.hadoop.hbase.Cell", "byte[]",
539      "org.apache.hadoop.hbase.client.Get");
540
541    addMethod("postDelete", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
542      "org.apache.hadoop.hbase.client.Delete", "org.apache.hadoop.hbase.regionserver.wal.WALEdit",
543      "org.apache.hadoop.hbase.client.Durability");
544
545    addMethod("preBatchMutate", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
546      "org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress");
547
548    addMethod("postBatchMutate", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
549      "org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress");
550
551    addMethod("postStartRegionOperation", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
552      "org.apache.hadoop.hbase.regionserver.Region.Operation");
553
554    addMethod("postCloseRegionOperation", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
555      "org.apache.hadoop.hbase.regionserver.Region.Operation");
556
557    addMethod("postBatchMutateIndispensably", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
558      "org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress", "boolean");
559
560    addMethod("preCheckAndPut", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]",
561      "byte[]", "byte[]", "org.apache.hadoop.hbase.filter.CompareFilter.CompareOp",
562      "org.apache.hadoop.hbase.filter.ByteArrayComparable", "org.apache.hadoop.hbase.client.Put",
563      "boolean");
564
565    addMethod("preCheckAndPutAfterRowLock", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
566      "byte[]", "byte[]", "byte[]", "org.apache.hadoop.hbase.filter.CompareFilter.CompareOp",
567      "org.apache.hadoop.hbase.filter.ByteArrayComparable", "org.apache.hadoop.hbase.client.Put",
568      "boolean");
569
570    addMethod("postCheckAndPut", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]",
571      "byte[]", "byte[]", "org.apache.hadoop.hbase.filter.CompareFilter.CompareOp",
572      "org.apache.hadoop.hbase.filter.ByteArrayComparable", "org.apache.hadoop.hbase.client.Put",
573      "boolean");
574
575    addMethod("preCheckAndDelete", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]",
576      "byte[]", "byte[]", "org.apache.hadoop.hbase.filter.CompareFilter.CompareOp",
577      "org.apache.hadoop.hbase.filter.ByteArrayComparable", "org.apache.hadoop.hbase.client.Delete",
578      "boolean");
579
580    addMethod("preCheckAndDeleteAfterRowLock",
581      "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]", "byte[]", "byte[]",
582      "org.apache.hadoop.hbase.filter.CompareFilter.CompareOp",
583      "org.apache.hadoop.hbase.filter.ByteArrayComparable", "org.apache.hadoop.hbase.client.Delete",
584      "boolean");
585
586    addMethod("postCheckAndDelete", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]",
587      "byte[]", "byte[]", "org.apache.hadoop.hbase.filter.CompareFilter.CompareOp",
588      "org.apache.hadoop.hbase.filter.ByteArrayComparable", "org.apache.hadoop.hbase.client.Delete",
589      "boolean");
590
591    addMethod("preIncrementColumnValue", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
592      "byte[]", "byte[]", "byte[]", "long", "boolean");
593
594    addMethod("postIncrementColumnValue", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
595      "byte[]", "byte[]", "byte[]", "long", "boolean", "long");
596
597    addMethod("preAppend", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
598      "org.apache.hadoop.hbase.client.Append");
599
600    addMethod("preAppendAfterRowLock", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
601      "org.apache.hadoop.hbase.client.Append");
602
603    addMethod("postAppend", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
604      "org.apache.hadoop.hbase.client.Append", "org.apache.hadoop.hbase.client.Result");
605
606    addMethod("preIncrement", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
607      "org.apache.hadoop.hbase.client.Increment");
608
609    addMethod("preIncrementAfterRowLock", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
610      "org.apache.hadoop.hbase.client.Increment");
611
612    addMethod("postIncrement", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
613      "org.apache.hadoop.hbase.client.Increment", "org.apache.hadoop.hbase.client.Result");
614
615    addMethod("preScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
616      "org.apache.hadoop.hbase.client.Scan", "org.apache.hadoop.hbase.regionserver.RegionScanner");
617
618    addMethod("preStoreScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
619      "org.apache.hadoop.hbase.regionserver.Store", "org.apache.hadoop.hbase.client.Scan",
620      "java.util.NavigableSet", "org.apache.hadoop.hbase.regionserver.KeyValueScanner");
621
622    addMethod("postScannerOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
623      "org.apache.hadoop.hbase.client.Scan", "org.apache.hadoop.hbase.regionserver.RegionScanner");
624
625    addMethod("preScannerNext", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
626      "org.apache.hadoop.hbase.regionserver.InternalScanner", "java.util.List", "int", "boolean");
627
628    addMethod("postScannerNext", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
629      "org.apache.hadoop.hbase.regionserver.InternalScanner", "java.util.List", "int", "boolean");
630
631    addMethod("postScannerFilterRow", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
632      "org.apache.hadoop.hbase.regionserver.InternalScanner", "byte[]", "int", "short", "boolean");
633
634    addMethod("preScannerClose", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
635      "org.apache.hadoop.hbase.regionserver.InternalScanner");
636
637    addMethod("postScannerClose", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
638      "org.apache.hadoop.hbase.regionserver.InternalScanner");
639
640    addMethod("preWALRestore", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
641      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.regionserver.wal.HLogKey",
642      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
643
644    addMethod("preWALRestore", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
645      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.wal.WALKey",
646      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
647
648    addMethod("postWALRestore", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
649      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.regionserver.wal.HLogKey",
650      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
651
652    addMethod("postWALRestore", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
653      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.wal.WALKey",
654      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
655
656    addMethod("preBulkLoadHFile", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
657      "java.util.List");
658
659    addMethod("preCommitStoreFile", "org.apache.hadoop.hbase.coprocessor.ObserverContext", "byte[]",
660      "java.util.List");
661
662    addMethod("postCommitStoreFile", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
663      "byte[]", "org.apache.hadoop.fs.Path", "org.apache.hadoop.fs.Path");
664
665    addMethod("postBulkLoadHFile", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
666      "java.util.List", "boolean");
667
668    addMethod("preStoreFileReaderOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
669      "org.apache.hadoop.fs.FileSystem", "org.apache.hadoop.fs.Path",
670      "org.apache.hadoop.hbase.io.FSDataInputStreamWrapper", "long",
671      "org.apache.hadoop.hbase.io.hfile.CacheConfig", "org.apache.hadoop.hbase.io.Reference",
672      "org.apache.hadoop.hbase.regionserver.StoreFile.Reader");
673
674    addMethod("postStoreFileReaderOpen", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
675      "org.apache.hadoop.fs.FileSystem", "org.apache.hadoop.fs.Path",
676      "org.apache.hadoop.hbase.io.FSDataInputStreamWrapper", "long",
677      "org.apache.hadoop.hbase.io.hfile.CacheConfig", "org.apache.hadoop.hbase.io.Reference",
678      "org.apache.hadoop.hbase.regionserver.StoreFile.Reader");
679
680    addMethod("postMutationBeforeWAL", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
681      "org.apache.hadoop.hbase.coprocessor.RegionObserver.MutationType",
682      "org.apache.hadoop.hbase.client.Mutation", "org.apache.hadoop.hbase.Cell",
683      "org.apache.hadoop.hbase.Cell");
684
685    addMethod("postInstantiateDeleteTracker", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
686      "org.apache.hadoop.hbase.regionserver.DeleteTracker");
687
688    /* RegionServerObserver */
689
690    addMethod("preMerge", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
691      "org.apache.hadoop.hbase.regionserver.Region", "org.apache.hadoop.hbase.regionserver.Region");
692
693    addMethod("preStopRegionServer", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
694
695    addMethod("postMerge", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
696      "org.apache.hadoop.hbase.regionserver.Region", "org.apache.hadoop.hbase.regionserver.Region",
697      "org.apache.hadoop.hbase.regionserver.Region");
698
699    addMethod("preMergeCommit", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
700      "org.apache.hadoop.hbase.regionserver.Region", "org.apache.hadoop.hbase.regionserver.Region",
701      "java.util.List");
702
703    addMethod("postMergeCommit", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
704      "org.apache.hadoop.hbase.regionserver.Region", "org.apache.hadoop.hbase.regionserver.Region",
705      "org.apache.hadoop.hbase.regionserver.Region");
706
707    addMethod("preRollBackMerge", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
708      "org.apache.hadoop.hbase.regionserver.Region", "org.apache.hadoop.hbase.regionserver.Region");
709
710    addMethod("postRollBackMerge", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
711      "org.apache.hadoop.hbase.regionserver.Region", "org.apache.hadoop.hbase.regionserver.Region");
712
713    addMethod("preRollWALWriterRequest", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
714
715    addMethod("postRollWALWriterRequest", "org.apache.hadoop.hbase.coprocessor.ObserverContext");
716
717    addMethod("postCreateReplicationEndPoint",
718      "org.apache.hadoop.hbase.coprocessor.ObserverContext",
719      "org.apache.hadoop.hbase.replication.ReplicationEndpoint");
720
721    addMethod("preReplicateLogEntries", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
722      "java.util.List", "org.apache.hadoop.hbase.CellScanner");
723
724    addMethod("postReplicateLogEntries", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
725      "java.util.List", "org.apache.hadoop.hbase.CellScanner");
726
727    /* WALObserver */
728
729    addMethod("preWALWrite", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
730      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.wal.WALKey",
731      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
732
733    addMethod("preWALWrite", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
734      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.regionserver.wal.HLogKey",
735      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
736
737    addMethod("postWALWrite", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
738      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.regionserver.wal.HLogKey",
739      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
740
741    addMethod("postWALWrite", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
742      "org.apache.hadoop.hbase.HRegionInfo", "org.apache.hadoop.hbase.wal.WALKey",
743      "org.apache.hadoop.hbase.regionserver.wal.WALEdit");
744
745    addMethod("preWALRoll", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
746      "org.apache.hadoop.fs.Path", "org.apache.hadoop.fs.Path");
747
748    addMethod("postWALRoll", "org.apache.hadoop.hbase.coprocessor.ObserverContext",
749      "org.apache.hadoop.fs.Path", "org.apache.hadoop.fs.Path");
750  }
751}