Review Board 1.7.22


HBASE-5509 MR based copier for copying HFiles (trunk version)

Review Request #4218 - Created March 7, 2012 and updated

Lars Hofhansl
trunk
Reviewers
hbase
hbase
This is Facebooks SnaphotMR for backup/restore. Thanks Karthik!

I made the following changes:
1. API changes for trunk.
2. Also copies and patches .tableinfo files as needed.
3. ImportTable can proceed even while HBase is down (HDFS needs to be up obviously). Regions will assigned upon HBase startup.
4. A ZK quorum can be optionally provided to assign imported regions right away (needed in trunk).
5. Some safety checks to verify the backup directory provided for import is in fact a backup directory (otherwise in some case adjacent directories were overwritten with temporary files).

Manual only so far.
Review request changed
Updated (March 16, 2012, 11:56 p.m.)
*This* version does away with HServerAddress.