Description
Backport snapshot code to 0.94
The main changes needed to backport the snapshot are related to the protobuf vs writable rpc.
Offline Snapshot
HBASE-6610HFileLink: Hardlink alternative for snapshot restoreHBASE-6765Take a Snapshot interface- This patch is significantly different because of the RPC changes between 0.94/0.96
HBASE-6571Generic multi-thread/cross-process error handling frameworkHBASE-6353Snapshots shellHBASE-7107Snapshot References Utils (FileSystem Visitor)HBASE-6836Offline snapshotsHBASE-6865Snapshot File CleanersHBASE-6777Snapshot Restore Interface- This patch is significantly different because of the RPC changes between 0.94/0.96
HBASE-6230Clone/Restore SnapshotsHBASE-6802Export SnapshotHBASE-7240Cleanup old snapshots on startHBASE-7174Refactor snapshot file cleaner cache to use SnapshotHBASE-7367Snapshot coprocessor and ACL securityHBASE-7311Add snapshot information to hbase master webui- This patch is significantly different because of the RPC changes between 0.94/0.96
HBASE-7418HFileLink flaky testHBASE-7420TestSnapshotExceptionSnare and TestWALReferenceTask missing test category annotation and failing TestCheckTestClassesHBASE-7206ForeignException framework v2 (simplifies and replacesHBASE-6571)HBASE-7430TestSnapshotDescriptionUtils break compaction/scanner tests (EnvironmentEdge issue)HBASE-7436Improve stack trace info dumped by ForeignExceptionSnare#rethrowExceptionHBASE-7339Splitting an HFileLink causes region servers to go down.HBASE-7439HFileLink should not use the configuration from the FilesystemHBASE-7452Change ForeignExceptionListener#receive(String, FE) to only be #receive(FE)HBASE-7208Transition Offline Snapshots to ForeignExceptions and Refactor for mergeHBASE-7207Consolidate snapshot related classes into fewer packagesHBASE-7400ExportSnapshot mapper closes the FileSystemHBASE-7352clone operation from HBaseAdmin can hang foreverHBASE-7294Check for snapshot file cleaners on startHBASE-7354Snapshot Info/Debug ToolHBASE-7423HFileArchiver should not use the configuration from the FilesystemHBASE-7453HBASE-7423snapshot followupHBASE-7212Globally Barriered Procedure MechanismHBASE-6864Online snapshots scaffoldingHBASE-7321Simple Flush SnapshotHBASE-7496TestZKProcedure fails interrmittently.HBASE-7484Fix Restore with schema changesHBASE-7419revisit hfilelink file name formatHBASE-7467CleanerChore checkAndDeleteDirectory not deleting empty directoriesHBASE-7214CleanerChore logs too much, so much so it obscures all else that is going onHBASE-7523Snapshot attempt with the name of a previously taken snapshot fails sometimes.HBASE-7480Explicit message for not allowed snapshot on meta tablesHBASE-7537.regioninfo not created by createHRegion()HBASE-7535Fix restore reference filesHBASE-7552Pass bufferSize param to FileLinkInputStream constructor within FileLink.open method, and remove unnecessary import packages.HBASE-7501Introduce MetaEditor method that both adds and deletes rows in .META. tableHBASE-7365/HBASE-7389Safer table creation and deletion using .tmp dirHBASE-7547Fix findbugs warnings in snapshot classesHBASE-7548Fix javadoc warnings in snapshot classesHBASE-7538Improve snapshot related error and exception messagesHBASE-7536Add test that confirms that multiple concurrent snapshot requests are rejectedHBASE-7583Fixes and cleanupsHBASE-7604Remove duplicated code from HFileLinkHBASE-7616NPE in ZKProcedure.nodeCreatedHBASE-7625Remove duplicated logFSTree() from TestRestoreFlushSnapshotFromClientHBASE-7627UnsupportedOperationException in CatalogJanitor threadHBASE-7622Add table descriptor verification after snapshot restoreHBASE-7651RegionServerSnapshotManager fails with CancellationException if previous snapshot fails in per region taskHBASE-7666More logging improvements in online snapshots codeHBASE-7689CloneTableHandler notify completion too earlyHBASE-7699Replace LOG.info() with LOG.debug() in FSUtils.listStatus()HBASE-7703Eventually all online snapshots failing due to Timeout at same regionserver.HBASE-7720Improve logging messages of failed snapshot attempts.HBASE-7795Race in the Restore ArchivingHBASE-7788Fix flakey TestRestore*SnapshotFromClient#testCloneSnapshotHBASE-7858cleanup before merging snapshots branch to trunkHBASE-7889Fix javadoc warnings in snapshot classesHBASE-7911Remove duplicated code from CreateTableHandlerHBASE-7969Rename HBaseAdmin#getCompletedSnapshots as HBaseAdmin#listSnapshotsHBASE-7299TestMultiParallel fails intermittently in trunk builds