Published site at d5aaeee88b331e064830a2774f4fed238631457c.
[hbase-site.git] / devapidocs / org / apache / hadoop / hbase / backup / impl / class-use / BackupSystemTable.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="en">
4 <head>
5 <!-- Generated by javadoc -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Uses of Class org.apache.hadoop.hbase.backup.impl.BackupSystemTable (Apache HBase 3.0.0-SNAPSHOT API)</title>
8 <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
9 <script type="text/javascript" src="../../../../../../../script.js"></script>
10 </head>
11 <body>
12 <script type="text/javascript"><!--
13 try {
14 if (location.href.indexOf('is-external=true') == -1) {
15 parent.document.title="Uses of Class org.apache.hadoop.hbase.backup.impl.BackupSystemTable (Apache HBase 3.0.0-SNAPSHOT API)";
16 }
17 }
18 catch(err) {
19 }
20 //-->
21 </script>
22 <noscript>
23 <div>JavaScript is disabled on your browser.</div>
24 </noscript>
25 <!-- ========= START OF TOP NAVBAR ======= -->
26 <div class="topNav"><a name="navbar.top">
27 <!-- -->
28 </a>
29 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
30 <a name="navbar.top.firstrow">
31 <!-- -->
32 </a>
33 <ul class="navList" title="Navigation">
34 <li><a href="../../../../../../../overview-summary.html">Overview</a></li>
35 <li><a href="../package-summary.html">Package</a></li>
36 <li><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">Class</a></li>
37 <li class="navBarCell1Rev">Use</li>
38 <li><a href="../../../../../../../overview-tree.html">Tree</a></li>
39 <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
40 <li><a href="../../../../../../../index-all.html">Index</a></li>
41 <li><a href="../../../../../../../help-doc.html">Help</a></li>
42 </ul>
43 </div>
44 <div class="subNav">
45 <ul class="navList">
46 <li>Prev</li>
47 <li>Next</li>
48 </ul>
49 <ul class="navList">
50 <li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/backup/impl/class-use/BackupSystemTable.html" target="_top">Frames</a></li>
51 <li><a href="BackupSystemTable.html" target="_top">No&nbsp;Frames</a></li>
52 </ul>
53 <ul class="navList" id="allclasses_navbar_top">
54 <li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
55 </ul>
56 <div>
57 <script type="text/javascript"><!--
58 allClassesLink = document.getElementById("allclasses_navbar_top");
59 if(window==top) {
60 allClassesLink.style.display = "block";
61 }
62 else {
63 allClassesLink.style.display = "none";
64 }
65 //-->
66 </script>
67 </div>
68 <a name="skip.navbar.top">
69 <!-- -->
70 </a></div>
71 <!-- ========= END OF TOP NAVBAR ========= -->
72 <div class="header">
73 <h2 title="Uses of Class org.apache.hadoop.hbase.backup.impl.BackupSystemTable" class="title">Uses of Class<br>org.apache.hadoop.hbase.backup.impl.BackupSystemTable</h2>
74 </div>
75 <div class="classUseContainer">
76 <ul class="blockList">
77 <li class="blockList">
78 <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
79 <caption><span>Packages that use <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a></span><span class="tabEnd">&nbsp;</span></caption>
80 <tr>
81 <th class="colFirst" scope="col">Package</th>
82 <th class="colLast" scope="col">Description</th>
83 </tr>
84 <tbody>
85 <tr class="altColor">
86 <td class="colFirst"><a href="#org.apache.hadoop.hbase.backup.impl">org.apache.hadoop.hbase.backup.impl</a></td>
87 <td class="colLast">&nbsp;</td>
88 </tr>
89 </tbody>
90 </table>
91 </li>
92 <li class="blockList">
93 <ul class="blockList">
94 <li class="blockList"><a name="org.apache.hadoop.hbase.backup.impl">
95 <!-- -->
96 </a>
97 <h3>Uses of <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a> in <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/package-summary.html">org.apache.hadoop.hbase.backup.impl</a></h3>
98 <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
99 <caption><span>Fields in <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/package-summary.html">org.apache.hadoop.hbase.backup.impl</a> declared as <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a></span><span class="tabEnd">&nbsp;</span></caption>
100 <tr>
101 <th class="colFirst" scope="col">Modifier and Type</th>
102 <th class="colLast" scope="col">Field and Description</th>
103 </tr>
104 <tbody>
105 <tr class="altColor">
106 <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a></code></td>
107 <td class="colLast"><span class="typeNameLabel">BackupManager.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupManager.html#systemTable">systemTable</a></span></code>&nbsp;</td>
108 </tr>
109 </tbody>
110 </table>
111 <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
112 <caption><span>Methods in <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/package-summary.html">org.apache.hadoop.hbase.backup.impl</a> with parameters of type <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a></span><span class="tabEnd">&nbsp;</span></caption>
113 <tr>
114 <th class="colFirst" scope="col">Modifier and Type</th>
115 <th class="colLast" scope="col">Method and Description</th>
116 </tr>
117 <tbody>
118 <tr class="altColor">
119 <td class="colFirst"><code>private void</code></td>
120 <td class="colLast"><span class="typeNameLabel">BackupAdminImpl.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#checkIfValidForMerge-java.lang.String:A-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">checkIfValidForMerge</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;backupIds,
121 <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)</code>
122 <div class="block">Verifies that backup images are valid for merge.</div>
123 </td>
124 </tr>
125 <tr class="rowColor">
126 <td class="colFirst"><code>private int</code></td>
127 <td class="colLast"><span class="typeNameLabel">BackupAdminImpl.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#deleteBackup-java.lang.String-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">deleteBackup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;backupId,
128 <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)</code>
129 <div class="block">Delete single backup and all related backups <br>
130 Algorithm:<br>
131 Backup type: FULL or INCREMENTAL <br>
132 Is this last backup session for table T: YES or NO <br>
133 For every table T from table list 'tables':<br>
134 if(FULL, YES) deletes only physical data (PD) <br>
135 if(FULL, NO), deletes PD, scans all newer backups and removes T from backupInfo,<br>
136 until we either reach the most recent backup for T in the system or FULL backup<br>
137 which includes T<br>
138 if(INCREMENTAL, YES) deletes only physical data (PD) if(INCREMENTAL, NO) deletes physical data
139 and for table T scans all backup images between last<br>
140 FULL backup, which is older than the backup being deleted and the next FULL backup (if exists)
141 <br>
142 or last one for a particular table T and removes T from list of backup tables.</div>
143 </td>
144 </tr>
145 <tr class="altColor">
146 <td class="colFirst"><code>private void</code></td>
147 <td class="colLast"><span class="typeNameLabel">BackupAdminImpl.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#finalizeDelete-java.util.Map-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">finalizeDelete</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="../../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&gt;&nbsp;tablesMap,
148 <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)</code>
149 <div class="block">Updates incremental backup set for every backupRoot</div>
150 </td>
151 </tr>
152 <tr class="rowColor">
153 <td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&gt;</code></td>
154 <td class="colLast"><span class="typeNameLabel">BackupAdminImpl.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#getAffectedBackupSessions-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">getAffectedBackupSessions</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;backupInfo,
155 <a href="../../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
156 <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)</code>&nbsp;</td>
157 </tr>
158 <tr class="altColor">
159 <td class="colFirst"><code>private boolean</code></td>
160 <td class="colLast"><span class="typeNameLabel">BackupAdminImpl.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#isLastBackupSession-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-org.apache.hadoop.hbase.TableName-long-">isLastBackupSession</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table,
161 <a href="../../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
162 long&nbsp;startTime)</code>&nbsp;</td>
163 </tr>
164 <tr class="rowColor">
165 <td class="colFirst"><code>private void</code></td>
166 <td class="colLast"><span class="typeNameLabel">BackupAdminImpl.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#removeTableFromBackupImage-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">removeTableFromBackupImage</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;info,
167 <a href="../../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
168 <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)</code>&nbsp;</td>
169 </tr>
170 <tr class="altColor">
171 <td class="colFirst"><code>private void</code></td>
172 <td class="colLast"><span class="typeNameLabel">BackupCommands.RepairCommand.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupCommands.RepairCommand.html#repairFailedBackupDeletionIfAny-org.apache.hadoop.hbase.client.Connection-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">repairFailedBackupDeletionIfAny</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a>&nbsp;conn,
173 <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)</code>&nbsp;</td>
174 </tr>
175 <tr class="rowColor">
176 <td class="colFirst"><code>static void</code></td>
177 <td class="colLast"><span class="typeNameLabel">BackupCommands.RepairCommand.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupCommands.RepairCommand.html#repairFailedBackupMergeIfAny-org.apache.hadoop.hbase.client.Connection-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">repairFailedBackupMergeIfAny</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a>&nbsp;conn,
178 <a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)</code>&nbsp;</td>
179 </tr>
180 </tbody>
181 </table>
182 </li>
183 </ul>
184 </li>
185 </ul>
186 </div>
187 <!-- ======= START OF BOTTOM NAVBAR ====== -->
188 <div class="bottomNav"><a name="navbar.bottom">
189 <!-- -->
190 </a>
191 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
192 <a name="navbar.bottom.firstrow">
193 <!-- -->
194 </a>
195 <ul class="navList" title="Navigation">
196 <li><a href="../../../../../../../overview-summary.html">Overview</a></li>
197 <li><a href="../package-summary.html">Package</a></li>
198 <li><a href="../../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">Class</a></li>
199 <li class="navBarCell1Rev">Use</li>
200 <li><a href="../../../../../../../overview-tree.html">Tree</a></li>
201 <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
202 <li><a href="../../../../../../../index-all.html">Index</a></li>
203 <li><a href="../../../../../../../help-doc.html">Help</a></li>
204 </ul>
205 </div>
206 <div class="subNav">
207 <ul class="navList">
208 <li>Prev</li>
209 <li>Next</li>
210 </ul>
211 <ul class="navList">
212 <li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/backup/impl/class-use/BackupSystemTable.html" target="_top">Frames</a></li>
213 <li><a href="BackupSystemTable.html" target="_top">No&nbsp;Frames</a></li>
214 </ul>
215 <ul class="navList" id="allclasses_navbar_bottom">
216 <li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
217 </ul>
218 <div>
219 <script type="text/javascript"><!--
220 allClassesLink = document.getElementById("allclasses_navbar_bottom");
221 if(window==top) {
222 allClassesLink.style.display = "block";
223 }
224 else {
225 allClassesLink.style.display = "none";
226 }
227 //-->
228 </script>
229 </div>
230 <a name="skip.navbar.bottom">
231 <!-- -->
232 </a></div>
233 <!-- ======== END OF BOTTOM NAVBAR ======= -->
234 <p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
235 </body>
236 </html>