Commit Graph

6170 Commits

Author SHA1 Message Date
Jonathan Hsieh 11604eed26 HBASE-7742 [snapshot 130201 merge] Fix TestHFileArchiving#testArchiveOnTableDelete
With the merge, we were using the new move to .tmp then archive table deletion code but archived to the incorrect directory.



git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446150 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:01:12 +00:00
Jonathan Hsieh b96a70d70d HBASE-7739 Fix TestSnapshotFromMaster failure (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446149 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:00:22 +00:00
Jonathan Hsieh 1d2180687a Merge hbase-7290 branch with trunk 2/1/13
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446147 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 12:58:12 +00:00
Jonathan Hsieh 2d503346ae Remove another unused dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446135 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 11:52:46 +00:00
Jonathan Hsieh 545e814e7c Remove empty directories (HBASE-7209 followup)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446133 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 11:51:20 +00:00
Jonathan Hsieh 392a97b9c9 Creating new online snapshot branch for another attempt to 02/01 trunk merge
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446130 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 11:41:11 +00:00
Jonathan Hsieh 51a50ea826 HBASE-7633 Fix flakey TestZKProcedure.testMultiCohortWithMemberTimeoutDuringPrepare
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445868 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:14:43 +00:00
Jonathan Hsieh 465ea7f99e HBASE-7720 Improve logging messages of failed snapshot attempts.
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445867 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:14:15 +00:00
Jonathan Hsieh 4405698ee9 HBASE-7703 Eventually all online snapshots fail due to Timeout at same regionserver.
Online snapshot attempts would fail due to timeout because a rowlock could not be obtained.  Prior to this a
cancellation occurred which likely grabbed the lock without cleaning it properly. The fix here is to use nice cancel
instead of interrupting cancel on failures.



git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445866 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:13:38 +00:00
Jonathan Hsieh 3b006f510e HBASE-7689 CloneTableHandler notify completion too early (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445864 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:12:39 +00:00
Jonathan Hsieh 0efb9a3603 HBASE-7666 More logging improvements in online snapshots code
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445863 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:06:44 +00:00
Jonathan Hsieh 6522e34e10 HBASE-7651 RegionServerSnapshotManager fails with CancellationException if previous snapshot fails in per region task
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445862 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:05:55 +00:00
Jonathan Hsieh 69523a5ef8 HBASE-7643 HFileArchiver.resolveAndArchive() race condition may lead to snapshot data loss (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445861 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:05:08 +00:00
Jonathan Hsieh d0906be22c HBASE-7622 Add table descriptor verification after snapshot restore (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445859 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:04:36 +00:00
Jonathan Hsieh 03d5cb8082 HBASE-7559 Add additional Snapshots Unit Test Coverage (Aleksandr Shulman)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445858 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:03:55 +00:00
Jonathan Hsieh 78a837f00a HBASE-7627 UnsupportedOperationException in CatalogJanitor thread
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445857 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:02:44 +00:00
Jonathan Hsieh 9c73385702 HBASE-7625 Remove duplicated logFSTree() from TestRestoreFlushSnapshotFromClient (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445856 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:01:56 +00:00
Jonathan Hsieh 6a25400409 HBASE-7616 NPE in ZKProcedure.nodeCreated
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445855 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:01:21 +00:00
Jonathan Hsieh bc37ac1553 HBASE-7604 Remove duplicated code from HFileLink (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445854 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 19:00:36 +00:00
Jonathan Hsieh f70ed5ab6d HBASE-7583 [snapshots] Fixes and cleanups (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445853 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:59:59 +00:00
Jonathan Hsieh 8a67938298 HBASE-7536 Add test that confirms that multiple concurrent snapshot requests are rejected
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445852 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:58:44 +00:00
Jonathan Hsieh 6c8228e18b HBASE-7538 Improve snapshot related error and exception messages
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445851 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:58:18 +00:00
Jonathan Hsieh e9d9eeaf7b HBASE-7552 Pass bufferSize param to FileLinkInputStream constructor within FileLink.open method, and remove unnecessary import packages. (Julian Zhou)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445850 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:57:38 +00:00
Jonathan Hsieh 0edd9e13d9 HBASE-7548 Fix javadoc warnings in snapshot classes (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445849 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:56:44 +00:00
Jonathan Hsieh 1e414a4413 HBASE-7547 Fix findbugs warnings in snapshot classes (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445847 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:55:52 +00:00
Jonathan Hsieh e3ce13909d HBASE-7389 HBASE-7365 Snapshot clone/restore followup (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445846 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:55:11 +00:00
Jonathan Hsieh 3aa26c1134 HBASE-7501 Introduce MetaEditor method that both adds and deletes rows in .META. table (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445845 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:54:07 +00:00
Jonathan Hsieh 253cc4c212 HBASE-7365 Safer table creation and deletion using .tmp dir (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445844 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:53:26 +00:00
Jonathan Hsieh 56184de34d HBASE-7535 Fix restore reference files (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445843 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:52:21 +00:00
Jonathan Hsieh 33d7976deb HBASE-7453 HBASE-7423 snapshot followup (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445842 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:50:34 +00:00
Jonathan Hsieh 9a6a2e87e2 HBASE-7423 HFileArchiver should not use the configuration from the Filesystem (Enis Soztutar)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445841 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:49:44 +00:00
Jonathan Hsieh db5100a75f HBASE-7484 Fix Restore with schema changes (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445840 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:49:13 +00:00
Jonathan Hsieh 0dd232a66b HBASE-7480 Explicit message for not allowed snapshot on meta tables (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445839 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:48:33 +00:00
Jonathan Hsieh 65d764e979 HBASE-7417 Enable Cleaners required for Snapshots by default (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445838 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:47:52 +00:00
Jonathan Hsieh 43ddbac484 HBASE-7523 Snapshot attempt with the name of a previously taken snapshot fails sometimes
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445837 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:47:13 +00:00
Jonathan Hsieh 232fa82451 HBASE-7419 revisit hfilelink file name format (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445836 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:46:32 +00:00
Jonathan Hsieh 35685471f5 HBASE-7502 TestScannerTimeout fails on snapshot branch (Himanshu Vashishtha)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445833 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:45:42 +00:00
Jonathan Hsieh b3bdc04f4c HBASE-7496 TestZKProcedure fails intermittently
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445831 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:44:57 +00:00
Jonathan Hsieh 10969660fa HBASE-7321 Simple flush online snapshot
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445830 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:44:31 +00:00
Jonathan Hsieh 82df28fffe HBASE-6864 Online snapshots scaffolding
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445828 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:43:44 +00:00
Jonathan Hsieh c9b3e9b2da HBASE-7354 Snapshot Info/Debug Tool (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445827 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:42:51 +00:00
Jonathan Hsieh 55a44243a9 HBASE-7294 Check for snapshot file cleaners on start (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445826 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:42:03 +00:00
Jonathan Hsieh 9bc5d78e3a HBASE-7352 clone operation from HBaseAdmin can hang forever (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445824 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:41:28 +00:00
Jonathan Hsieh 1727ddc6c3 HBASE-7400 ExportSnapshot mapper closes the FileSystem (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445821 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:40:47 +00:00
Jonathan Hsieh 65d9c0d6d2 HBASE-7459 NPE in HMaster TestLocalHBaseCluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445820 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:40:18 +00:00
Jonathan Hsieh 8d117a6117 HBASE-7212 Globally Barriered Procedure Mechanism
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445818 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:39:51 +00:00
Jonathan Hsieh 836f786f63 HBASE-7454 Move ErrorHandling protos from hbase-server to hbase-protocol
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445816 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:39:00 +00:00
Jonathan Hsieh b061b95964 HBASE-7207 Consolidate snapshot related classes into fewer packages
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445814 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:37:32 +00:00
Jonathan Hsieh bb5c15894e HBASE-7208 Transition Offline Snapshots to ForeignExceptions and Refactor for merge
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445813 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:36:03 +00:00
Jonathan Hsieh 8da4eec9a4 HBASE-7452 Change ForeignExceptionListener#receive(String, FE) to only be #receive(FE)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445811 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:33:43 +00:00