HBASE-5509 MR based copier for copying HFiles (trunk version)
Review Request #4218 - Created March 7, 2012 and updated
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.
Diff revision 4