1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.hadoop.hbase.util.hbck;
19
20 import java.io.IOException;
21 import java.util.Collection;
22
23 import org.apache.hadoop.hbase.util.HBaseFsck.HbckInfo;
24 import org.apache.hadoop.hbase.util.HBaseFsck.TableInfo;
25
26
27
28
29
30 abstract public class TableIntegrityErrorHandlerImpl implements
31 TableIntegrityErrorHandler {
32 TableInfo ti;
33
34
35
36
37 @Override
38 public TableInfo getTableInfo() {
39 return ti;
40 }
41
42
43
44
45 @Override
46 public void setTableInfo(TableInfo ti2) {
47 this.ti = ti2;
48 }
49
50
51
52
53 @Override
54 public void handleRegionStartKeyNotEmpty(HbckInfo hi) throws IOException {
55 }
56
57
58
59
60 @Override
61 public void handleRegionEndKeyNotEmpty(byte[] curEndKey) throws IOException {
62 }
63
64
65
66
67 @Override
68 public void handleDegenerateRegion(HbckInfo hi) throws IOException {
69 }
70
71
72
73
74 @Override
75 public void handleDuplicateStartKeys(HbckInfo hi1, HbckInfo hi2)
76 throws IOException {
77 }
78
79
80
81
82 @Override
83 public void handleOverlapInRegionChain(HbckInfo hi1, HbckInfo hi2)
84 throws IOException {
85 }
86
87
88
89
90 @Override
91 public void handleHoleInRegionChain(byte[] holeStart, byte[] holeEnd)
92 throws IOException {
93 }
94
95
96
97
98 @Override
99 public void handleOverlapGroup(Collection<HbckInfo> overlap)
100 throws IOException {
101 }
102
103 }