Commit Graph

5883 Commits

Author SHA1 Message Date
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
Michael Stack 4cc31baec3 HBASE-7361 Fix all javadoc warnings in hbase-server/{,mapreduce}
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1423096 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 19:08:02 +00:00
nkeywal 07d670920e HBASE-7363 Fix javadocs warnings for hbase-server packages from master to end
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422493 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 09:58:29 +00:00
Gary Helmling 9e9e1ab97d HBASE-7357 Use hbase.security.authentication for HBaseClient / HBaseServer negotiation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422185 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 04:06:35 +00:00
eclark 270eb19039 HBASE-6717 Remove hadoop-metrics.properties when everything has moved over.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422172 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 01:34:08 +00:00
Andrew Kyle Purtell 2e3102f703 HBASE-7359. [REST] 'accessToken' in RemoteHTable is vestigial
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422158 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 23:54:54 +00:00
Andrew Kyle Purtell c9a360e360 HBASE-7197. Add multi get to RemoteHTable (Elliott Clark)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422143 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 23:23:05 +00:00
Michael Stack 778ab055a0 HBASE-7356 Fix all javadoc warnings in all modules but hbase-server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422134 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 22:37:55 +00:00
Andrew Kyle Purtell 1ef0621695 HBASE-7331. Add access control for region open and close, and stopping the regionserver (Vandana Ayyalasomayajula)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422094 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 21:12:36 +00:00
Andrew Kyle Purtell 5dbff1427d HBASE-7355. NPE in ClusterStatus PB conversion
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1422076 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 21:03:33 +00:00
nkeywal 5c5c60f882 HBASE-7350 - Flakey tests make CI unreliable - commit to test a change in the build script - 2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421919 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:08:36 +00:00
nkeywal ac3f89ca3a HBASE-7350 - Flakey tests make CI unreliable - commit to test a change in the build script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421841 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 13:13:19 +00:00
Michael Stack c43f444c7c HBASE-7349 Jenkins build should compare trunk vs patch for Javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421629 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 00:46:35 +00:00
Michael Stack d03682ea3d HBASE-7350 Flakey tests make CI unreliable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421623 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 00:11:09 +00:00
Zhihong Yu e0c1dded33 HBASE-7340 Master coprocessor notification for assignmentManager.balance() is inconsistent (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421537 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 21:11:43 +00:00
jxiang 3b23a837af HBASE-7338 Fix flaky condition for org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange (Himanshu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421444 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:40:06 +00:00
larsh e23ba9b3ce HBASE-7336 HFileBlock.readAtOffset does not work well with multiple threads
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421440 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:34:26 +00:00
nkeywal 8c68353d63 HBASE-7211 Improve hbase ref guide for the testing part. - 1st part (Jeffrey Zhong)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421295 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 13:53:06 +00:00
Michael Stack ef1c657ca6 HBASE-7243 Test for creating a large number of regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1421039 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 23:35:29 +00:00
Michael Stack 9fc960b905 HBASE-7328 IntegrationTestRebalanceAndKillServersTargeted supercedes IntegrationTestRebalanceAndKillServers, remove
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1420543 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 06:58:51 +00:00
Zhihong Yu 2c4a2a6c51 HBASE-5258 Move coprocessors set out of RegionLoad - Addendum (Sergey)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1420521 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 04:39:06 +00:00
Zhihong Yu 0aec9dd711 HBASE-7205 Coprocessor classloader is replicated for all regions in the HRegionServer (Ted Yu and Adrian Muraru)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1420480 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 23:19:40 +00:00
larsh b017ee8e9a HBASE-7180 RegionScannerImpl.next() is inefficient.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1420004 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 05:46:27 +00:00
Michael Stack fb3663bfd4 HBASE-7250 create integration test for balancing regions and killing region servers - 2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1420003 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 05:46:23 +00:00
Michael Stack fd5c422536 HBASE-7250 create integration test for balancing regions and killing region servers - 2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1420002 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 05:45:53 +00:00
Zhihong Yu bd5a2f972f HBASE-7307 MetaReader.tableExists should not return false if the specified table regions has been split (Rajesh)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419998 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 05:09:51 +00:00
Michael Stack 315b38becc HBASE-7289 Strip Writable from KeyValue; ADDENDUM
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419997 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 05:09:29 +00:00