Commit Graph

5909 Commits

Author SHA1 Message Date
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
Michael Stack 99097d3d88 Creating online snapshots branch of hbase/trunk from 12/18 HBASE-7376 commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445738 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 17:00:30 +00:00
jxiang c001f73c37 HBASE-7376 Acquiring readLock does not apply timeout in HRegion#flushcache (binlijin)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1423551 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:53:57 +00:00
eclark 8aaff7c3d4 HBASE-7370 Remove Writable From ScanMetrics.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1423435 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 13:57:49 +00:00
larsh f3aece94d2 HBASE-7371 Blocksize in TestHFileBlock is unintentionally small
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1423286 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 06:25:19 +00:00
Michael Stack 8cff59858c HBASE-7349 Jenkins build should compare trunk vs patch for Javadoc warnings; REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1423240 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 01:14:47 +00:00
Michael Stack 47775d321d HBASE-4791 Allow Secure Zookeeper JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1423238 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 00:55:03 +00:00
Zhihong Yu 21594e57ef HBASE-7342 Split operation without split key incorrectly finds the middle key in off-by-one error (Aleksandr Shulman)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1423110 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 19:41:36 +00:00