Description
Just an idea I had. Might be useful for restore of a backup using the HLogs.
This could an M/R (with a mapper per HLog file).
The tool would get a timerange and a (set of) table(s). We'd pick the right HLogs based on time before the M/R job is started and then have a mapper per HLog file.
The mapper would then go through the HLog, filter all WALEdits that didn't fit into the time range or are not any of the tables and then uses HFileOutputFormat to generate HFiles.
Would need to indicate the splits we want, probably from a live table.
Attachments
Attachments
Issue Links
- duplicates
-
HBASE-5774 Add documentation for WALPlayer to HBase reference guide.
- Closed
- is related to
-
HBASE-3752 Tool to replay moved-aside WAL logs
- Closed
1.
|
Add documentation for WALPlayer to HBase reference guide. | Closed | Unassigned |