Commit Graph

1017 Commits

Author SHA1 Message Date
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
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
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
Jonathan Hsieh 8d1cf84aa0 HBASE-7439 HFileLink should not use the configuration from the Filesystem (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445808 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:30:52 +00:00
Jonathan Hsieh 98b2a687aa HBASE-7339 Splitting an HFileLink causes region servers to go down.
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445806 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:30:13 +00:00
Jonathan Hsieh 4005c5f48c HBASE-7418 HFileLink flaky test (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445803 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:26:28 +00:00
Jonathan Hsieh 98cc234a18 HBASE-7436 addendum (missed change to test)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445802 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:25:26 +00:00
Jonathan Hsieh 4286acdb2b HBASE-7436 Improve stack trace info dumped by ForeignExceptionSnare#rethrowException
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445800 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:22:42 +00:00
Jonathan Hsieh 03cf01614f HBASE-7430 TestSnapshotDescriptionUtils break compaction/scanner tests (EnvironmentEdge issue) (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445799 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:22:06 +00:00
Jonathan Hsieh 3ca47fab92 HBASE-7206 ForeignException framework v2 (simplifies and replaces HBASE-6571)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445798 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:21:26 +00:00
Jonathan Hsieh eb9353b244 HBASE-7388 Snapshot branch 12/18 rebase broke TestSnapshotFromMaster#testSnapshoHFileArchiving
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445796 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:20:45 +00:00
Jonathan Hsieh 46b05ab21f HBASE-7420 TestSnapshotExceptionSnare and TestWALReferenceTask missing test category annotation and failing TestCheckTestClasses
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445795 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:19:57 +00:00
Jonathan Hsieh 5dc107e985 HBASE-7311 Add snapshot information to hbase master webui (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445794 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:19:12 +00:00
Jonathan Hsieh 77d05003e3 HBASE-7174 [snapshots] Refactor snapshot file cleaner cache to use Snapshot FileVisitor (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445792 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:18:35 +00:00
Jonathan Hsieh 71b0e2c0a8 HBASE-7367 Snapshot coprocessor and ACL security (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445790 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:15:04 +00:00
Jonathan Hsieh 52b5f1968f HBASE-7353 [shell] have list and list_snapshot return jruby string arrays.
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445789 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:14:18 +00:00
Jonathan Hsieh 914cf71b6a HBASE-7240 Cleanup old snapshots on start (Jesse Yates)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445788 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:12:23 +00:00
Jonathan Hsieh 378e6f62b5 HBASE-6802 Export Snapshot (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445787 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:11:38 +00:00
Jonathan Hsieh 0bcb524581 HBASE-6230 Restore Snapshots for HBase 0.96 (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445786 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:10:58 +00:00
Jonathan Hsieh eb4346f144 HBASE-6777 Snapshot Restore Interface (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445784 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:07:57 +00:00
Jonathan Hsieh 77ef4a85d2 HBASE-6865 Snapshot File Cleaners (Jesse Yates)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445783 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:07:16 +00:00
Jonathan Hsieh cb6f286858 HBASE-6836 Offline snapshots (Jesse Yates)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445782 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:05:53 +00:00
Jonathan Hsieh ef53214f02 HBASE-6765 'Take a snapshot' interface - ADDENDUM: Fix snasphot -> snapshot (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445780 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:01:54 +00:00
Jonathan Hsieh be33f38ca5 HBASE-7107 Snapshot References Utils (FileSystem Visitor) (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445778 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 18:01:03 +00:00
Jonathan Hsieh 60e69c2410 HBASE-6353: Snapshots shell (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445771 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 17:56:12 +00:00
Jonathan Hsieh 5f1bc6e52e HBASE-6571 Generic multi-thread/cross-process error handling framework (Jesse Yates)
The idea for a generic inter-process error-handling framework came
from working on HBASE-6055 (snapshots). Distributed snapshots require tight
time constraints in taking a snapshot to minimize offline time in face of
errors. However, we often need to coordinate errors between processes and
the current Abortable framework is not sufficiently flexible to handle the
multitude of situations that can occur when coordinating between all region
servers, the master and zookeeper. Using this framework error handling for
snapshots was a simple matter, amounting to maybe 200 LOC.
    
This seems to be a generally useful framework and can be used to easily add
inter-process error handling in HBase. The most obvious immediate usage is
as part of HBASE-5487 when coordinating multiple sub-tasks.



git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445770 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 17:55:00 +00:00
Jonathan Hsieh b251b57390 HBASE-6765 'Take a snapshot' interface (Jesse Yates)
Add interfaces taking a snapshot. This is in hopes of cutting down on the overhead involved in reviewing snapshots.



git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445769 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 17:53:26 +00:00
Zhihong Yu c69c94062a HBASE-7822 clean up compactionrequest and compactselection - part 1 (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445696 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 15:56:18 +00:00
mbertozzi a8658d520e HBASE-7802 Use the Store interface instead of HStore (coprocessor, compaction, ...)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445434 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 00:08:47 +00:00
Zhihong Yu bab0e00880 HBASE-7829 zookeeper kerberos conf keytab and principal parameters interchanged (Francis)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445213 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 15:48:24 +00:00
nkeywal 8bd7bffb36 HBASE-7789 Clean DeadServer.java and add a Jitter method in ConnectionUtils
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445087 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 10:20:34 +00:00
nkeywal d2fb5a546f HBASE-7407 TestMasterFailover under tests some cases and over tests some others
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445074 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 09:38:57 +00:00
eclark e6ef5ce981 HBASE-7821 Remove Duplicated code in CompactSelection
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444998 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 23:53:29 +00:00
eclark 59a2adf714 HBASE-7763 Compactions not sorting based on size anymore.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444977 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 21:54:56 +00:00
Zhihong Yu 27bc815ed5 HBASE-6132 ColumnCountGetFilter & PageFilter not working with FilterList (Anoop)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444962 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 21:04:10 +00:00
Zhihong Yu 538abfe0d8 HBASE-7761 MemStore.USEMSLAB_DEFAULT is false, hbase-default.xml says it's true (Anoop)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444952 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 20:32:45 +00:00
Enis Soztutar b947807291 HBASE-7777. HBCK check for lingering split parents should check for child regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444311 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 01:44:36 +00:00
Zhihong Yu e3b688719c HBASE-7784 move the code related to compaction selection specific to default compaction policy, into default compaction policy (from HStore) (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444298 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 00:26:56 +00:00
Zhihong Yu df04846da5 HBASE-7603 refactor storefile management in HStore in order to support things like LevelDB-style compactions (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444262 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 22:22:08 +00:00
mbertozzi 68fb6c6877 HBASE-7786 Consolidate HRegion creation/opening API
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1444212 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 20:14:02 +00:00
jxiang 609a1d3aa7 HBASE-7776 Use ErrorReporter/Log instead of System.out in hbck
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443767 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 23:02:01 +00:00
Zhihong Yu 5c38e42254 HBASE-7561 Display the total number of regions for a given table on the master webUI (Michael Weng)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443766 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 23:00:43 +00:00
mbertozzi 1a4a882284 HBASE-7787 Remove HLogSplitter.RECOVERED_EDITS duplicate of HLog.RECOVERED_EDITS_DIR
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443731 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 21:16:29 +00:00
ramkrishna 91a4536048 HBASE-7698 race between RS shutdown thread and openregionhandler causes region to get stuck (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443637 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 18:07:56 +00:00
Michael Stack ceb930eac5 Add doc on htablepool and the htable constructor that takes an executor -- text from LarsH
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443633 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 18:01:08 +00:00
jxiang ab2fede4bd HBASE-6782 HBase shell's 'status 'detailed'' should escape the printed keys (Viji)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443620 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 17:36:48 +00:00
jxiang ce4595ad67 HBASE-7741 Don't use bulk assigner if assigning just several regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443617 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 17:31:47 +00:00
Zhihong Yu b198a50434 HBASE-4676 Prefix Compression - Trie data block encoding (Matt Corgan)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443289 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 00:36:24 +00:00
Enis Soztutar f17165ae08 HBASE-7768. Zkcluster in local mode not seeing configurations in hbase-{site|default}.xml
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443234 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:05:17 +00:00
Gary Helmling 1392824a85 HBASE-7772 Cluster ID is not initialized correctly in RPC client
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443221 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:23:50 +00:00
Enis Soztutar 95bd04444b HBASE-7773. Rename StoreConfiguration, remove unnecessary method (Sergey Shelukhin)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443165 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 19:44:58 +00:00
jxiang 7df6eff970 HBASE-7757 Add web UI to REST server and Thrift server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443069 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 17:01:55 +00:00
Zhihong Yu 6fcae1027d HBASE-7771 Secure HBase Client in MR job causes tasks to wait forever (Francis and Matteo)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1442833 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 02:12:15 +00:00
Lars George 5dc539e778 HBASE-6513 Test errors when building on MacOS (Lars Francke)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1442669 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 17:26:39 +00:00
nkeywal 39c81b04e7 HBASE-7756 Strange code in ServerCallable#shouldRetry
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1442560 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 12:29:48 +00:00
Michael Stack 7e52247cfb HBASE-7749 New logo for 0.96 hbase
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1442478 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 06:26:07 +00:00
Enis Soztutar 419aca3b6c HBASE-7748. Add DelimitedKeyPrefixRegionSplitPolicy
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1442408 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 22:30:50 +00:00
larsh 968facdd0a HBASE-3996 Support multiple tables and scanners as input to the mapper in map/reduce jobs (Eran Kutner, Bryan Baugher)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441708 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 07:33:27 +00:00
Zhihong Yu fd5a096d3e HBASE-7740 Recheck matching row for joined scanners (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441684 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 02:21:01 +00:00
Zhihong Yu 003a05896e HBASE-7728 deadlock occurs between hlog roller and hlog syncer (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441631 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 21:13:14 +00:00
Zhihong Yu 997c8f8d6b HBASE-7731 Append/Increment methods in HRegion don't check whether the table is readonly or not (Devaraj)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441593 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 19:28:41 +00:00
jxiang 157f4eb83d HBASE-7701 Opening regions on dead server are not reassigned quickly
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441565 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 18:15:17 +00:00
Michael Stack 6657449eb4 HBASE-3890 Scheduled tasks in distributed log splitting not in sync with ZK
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441321 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 06:59:14 +00:00
larsh 2ade85d0b8 HBASE-7729 TestCatalogTrackerOnCluster.testbadOriginalRootLocation fails occasionally
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441238 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 22:43:44 +00:00
larsh 5b665ad594 HBASE-7717 addendum, really wait for all tables in TestSplitTransactionOnCluster.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441150 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 19:24:48 +00:00
Zhihong Yu 8ab32498b9 HBASE-7711 rowlock release problem with thread interruptions in batchMutate (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1441066 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 17:08:59 +00:00
Zhihong Yu e2468f61f3 HBASE-7717 Wait until regions are assigned in TestSplitTransactionOnCluster (Lars H and Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440800 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 02:25:03 +00:00
jxiang e1118764de HBASE-7516 Make compaction policy pluggable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440737 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 23:53:42 +00:00
jyates 27a27a05d4 HBASE-7702: Add filtering to Import jobs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440717 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 22:33:55 +00:00
Enis Soztutar 1b5576c693 HBASE-6825. [WINDOWS] Java NIO socket channels does not work with Windows ipv6
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440679 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:31:21 +00:00
Zhihong Yu 03cbe99685 HBASE-7718 TestClassLoading needs to consider runtime classpath in buildCoprocessorJar (Jean-Marc)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440661 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 20:50:13 +00:00
Zhihong Yu d104b26a38 HBASE-7715 FSUtils#waitOnSafeMode can incorrectly loop on standby NN (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440600 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 19:30:16 +00:00
Zhihong Yu 58768ee0ed HBASE-7719 HTableDescriptor.setDeferredLogFlush should be synchronized (Jean-Marc)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440581 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 18:46:57 +00:00
Zhihong Yu 1641957baa HBASE-7503 Add exists(List) in HTableInterface to allow multiple parallel exists at one time (Jean-Marc)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440454 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 15:10:40 +00:00
larsh 023a37dd25 HBASE-7705 Make the method getCurrentPoolSize of HTablePool public (cuijianwei)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440284 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 05:48:21 +00:00
Zhihong Yu bd154b16c4 HBASE-7712 Pass ScanType into preCompact() (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440251 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 02:18:22 +00:00
Zhihong Yu 808a3378bb HBASE-7695 Remove unused member and local variables from HRegionServer (Nick Dimiduk)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440211 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 23:10:52 +00:00
Michael Stack 3d5de7ecbb HBASE-7674 add shell documentation for HBASE-7571
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440209 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 23:06:36 +00:00
Zhihong Yu eacea17618 HBASE-7706 Remove reservation blocks from region server (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440183 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 22:18:13 +00:00
larsh 554d5d239b HBASE-7545 Addendum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440157 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 21:38:04 +00:00
Zhihong Yu 0d95dc61e8 HBASE-7660 Remove HFileV1 code (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439753 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 06:03:59 +00:00
Zhihong Yu 657c26acb8 HBASE-2611 Handle RS that fails while processing the failure of another one (Himanshu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439744 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 05:04:36 +00:00
mbertozzi 1d330c9478 HBASE-7699 Replace LOG.info() with LOG.debug() in FSUtils.listStatus()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439736 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 03:09:35 +00:00
Andrew Kyle Purtell c2272d7f22 HBASE-7688. Master coprocessor RPCs don't propagate exceptions (Mike Lewis)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439692 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:25:57 +00:00
Jean-Daniel Cryans 938a6e7ccd HBASE-7673 Incorrect error logging when a replication peer
is removed (Gabriel Reid via JD)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439635 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 21:07:46 +00:00
Zhihong Yu 75953a7533 HBASE-7693 Hostname returned by TableInputFormatBase.reverseDNS contains trailing period (Robert Dyer)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439556 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 18:31:50 +00:00
Zhihong Yu 8dd5332d5d HBASE-1212 merge tool expects regions all have different sequence ids (Jean-Marc)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439495 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 16:54:58 +00:00
Zhihong Yu 72efa3a4aa HBASE-7687 TestCatalogTracker.testServerNotRunningIOException fails occasionally (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439180 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 21:07:14 +00:00
larsh 275382a7c7 HBASE-7681 Addendum, close tables in TestRegionServerMetrics
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439026 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 05:40:48 +00:00
larsh 1cdaa710be HBASE-7681 Address some recent random test failures
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439003 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 00:17:53 +00:00
mbertozzi a3f0aea354 HBASE-7682 Replace HRegion custom File-System debug, with FSUtils.logFileSystemState()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438974 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 22:03:02 +00:00
mbertozzi 48a565a739 HBASE-7643 HFileArchiver.resolveAndArchive() race condition may lead to snapshot data loss
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438972 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 21:59:20 +00:00
Zhihong Yu e9f14f1073 HBASE-7669 Addendum fixes TestPriorityRpc
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438853 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 05:28:14 +00:00
zjushch 4d7b2824be HBASE-7669 ROOT region wouldn't be handled by PRI-IPC-Handler(Chunhui)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438834 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 03:46:03 +00:00
Andrew Kyle Purtell d222498586 HBASE-7654. Add List<String> getCoprocessors() to HTableDescriptor (Jean-Marc Spaggiari)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438789 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 00:20:44 +00:00
Zhihong Yu f95692ce65 HBASE-7571 add the notion of per-table or per-column family configuration (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438527 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 14:11:45 +00:00
Zhihong Yu a650c87f1f HBASE-7665 retry time sequence usage in HConnectionManager has off-by-one error (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438332 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 06:04:45 +00:00
Zhihong Yu 474163397a HBASE-7382 Port ZK.multi support from HBASE-6775 to 0.96 (Gregory, Himanshu and Ted)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438317 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 04:34:05 +00:00
mbertozzi dab6872457 HBASE-7657 Make ModifyTableHandler synchronous (Himanshu Vashishtha)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438298 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 02:38:31 +00:00
Enis Soztutar 6d25ad02d8 HBASE-7656. Clean up line endings to be LF in the repo
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438204 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 21:33:39 +00:00
Zhihong Yu 963d5f007f HBASE-7268 correct local region location cache information can be overwritten (or deleted) w/stale information from an old server, Addendum (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1437851 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 03:19:29 +00:00
Zhihong Yu c637f33c8c HBASE-5664 CP hooks in Scan flow for fast forward when filter filters out a row (Anoop)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1437790 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:01:50 +00:00
Enis Soztutar 507565e35f HBASE-6821. [WINDOWS] In TestMetaMigrationConvertingToPB .META. table name causes file system problems on windows
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1437718 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 20:26:11 +00:00
Andrew Kyle Purtell 44b054897b HBASE-7594. TestLocalHBaseCluster failing on ubuntu2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1437658 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 19:47:26 +00:00