Commit Graph

6336 Commits

Author SHA1 Message Date
Zhihong Yu ae300d6759 HBASE-7864 Rename HMaster#listSnapshots as getCompletedSnapshots() (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1448302 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 17:10:21 +00:00
Zhihong Yu a6f8131f9d HBASE-7678 make storefile management pluggable, together with compaction (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1448188 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 14:37:57 +00:00
Zhihong Yu c36b6fb32c HBASE-7858 cleanup before merging snapshots branch to trunk (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1447967 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 23:40:35 +00:00
Zhihong Yu e0e0c44e34 HBASE-7495 parallel seek in StoreScanner (Liang Xie)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1447740 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 14:51:05 +00:00
larsh 1934652769 HBASE-7867 setPreallocSize is different with COMMENT in setupTestEnv in MiniZooKeeperCluster.java (DaeMyung Kang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1447106 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:54:17 +00:00
nkeywal 9f638ad2d3 HBASE-7856 HTU#waitTableAvailable should have a default value of 30s
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446898 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 14:20:17 +00:00
nkeywal 900be56ea1 HBASE-7861 Use the ServerName in the Connection#getClient and Connection#getAdmin code
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446897 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 14:13:46 +00:00
jxiang a0d6e79a4c HBASE-7799 reassigning region stuck in open still may not work correctly due to leftover ZK node
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446784 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 21:37:51 +00:00
Enis Soztutar 432c100d3b HBASE-7834. Document Hadoop version support matrix in the book
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446379 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 22:55:17 +00:00
Jonathan Hsieh 8606f57f29 Merge online snapshot branch with trunk 2/14/13
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446179 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:59:06 +00:00
Jonathan Hsieh 842232e872 Merge online snapshot branch with trunk 2/12/13
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446173 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:35:54 +00:00
Jonathan Hsieh 86c669ff3e HBASE-7779 [snapshot 130201 merge] Fix TestMultiParallel (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446160 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:08:24 +00:00
Jonathan Hsieh bdf35759ed HBASE-7796 [snapshot 130201 merge] Fix TestSnapshotFromClient and TestFlushSnapshotFromClient (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446159 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:07:35 +00:00
Jonathan Hsieh 42bfcc1023 HBASE-7764 [snapshot 130201 merge] Fix TestSnapshotCloneIndependence failure (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446158 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:06:55 +00:00
Jonathan Hsieh 3fc3bcf275 HBASE-7795 Race in the Restore Archiving (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446157 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:06:17 +00:00
Jonathan Hsieh 851141a357 HBASE-7752 [snapshot 130201 merge] Fix TestStoreFile failure
Revert change to make it match trunk and pass



git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446156 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:05:31 +00:00
Jonathan Hsieh 11d986a0ef HBASE-7778 [snapshot 130201 merge] Tests with sleep after minicluster shutdown fail due to interrupt flag.
Renamed JVMClusterUtil#shutdown's noWait -> wasInterrupted to make it obvious that final guard was incorrect



git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446155 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:04:48 +00:00
Jonathan Hsieh 55cf256b36 HBASE-7788 [snapshot 130201 merge] Fix flakey TestRestore*SnapshotFromClient#testCloneSnapshot
Adds table availability check on post clone wait.




git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:02:37 +00:00
Jonathan Hsieh ec857a7cde HBASE-7753 [snapshot 130201 merge] Fix unresolved merge conflicts (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290v2@1446151 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 13:01:51 +00:00
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
nkeywal 67ba5e3d50 HBASE-7838 HBase regionserver never stoping when running (Damien Hardy)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446116 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 11:07:05 +00:00
nkeywal 164b3a4959 HBASE-7798 ZKAssign logs the wrong server if the transition fails (Sergey Shelukhin)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446106 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 10:34:20 +00:00
eclark 7aa994de3b HBASE-7823 Add ignores to hbase-prefix-tree
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445917 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 20:55:59 +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