Commit Graph

5868 Commits

Author SHA1 Message Date
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
eclark a23ecdae14 HBASE-7262 Move HBaseRPC metrics to metrics2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419962 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 01:12:46 +00:00
Michael Stack 5184c87734 HBASE-7289 Strip Writable from KeyValue
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419958 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 01:02:31 +00:00
jxiang 7d7cee302a HBASE-7314 Can't start REST/Thrift server if HBASE_JMX_OPTS not set
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419955 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:57:31 +00:00
Michael Stack 9f1787fe87 HBASE-7289 Strip Writable from KeyValue
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419950 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:54:09 +00:00
Enis Soztutar 930fd35848 HBASE-6367 List backup masters in ui.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419787 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 21:27:50 +00:00
Jonathan Hsieh 8c61fe6364 HBASE-7306 [shell] Count shell command to return ruby bindable value
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419654 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 18:45:17 +00:00
eclark 5c39f7258e HBASE-7304 assembly:assembly doesn't include the correct hbase-hadoop compat jars for hadoop 2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419626 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 18:17:58 +00:00
nkeywal d6bc735d19 HBASE-7271 Have a single executor for all zkWorkers in the assignment manager
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419351 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 11:34:46 +00:00
nkeywal f0f66f4ba9 HBASE-4709 Hadoop metrics2 setup in test MiniDFSClusters spewing JMX errors
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419296 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 09:46:04 +00:00
Zhihong Yu 078817462d HBASE-7309 Metrics refresh-task is not canceled when regions are closed, leaking HRegion objects (Adrian Muraru)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419172 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 22:06:39 +00:00
Michael Stack 5a3c77afd7 HBASE-4072 Deprecate/disable and remove support for reading ZooKeeper zoo.cfg files from the classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418775 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:41:57 +00:00
Michael Stack 0b0f74367d HBASE-7301 Force ipv4 for unit tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418757 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 21:38:59 +00:00
Jean-Daniel Cryans d440c135ef HBASE-7300 HbckTestingUtil needs to keep a static executor to lower the number of threads used
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418571 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 00:46:56 +00:00
Zhihong Yu f8cb35d156 HBASE-5258 Move coprocessors set out of RegionLoad (Sergey Shelukhin)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418561 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 23:57:10 +00:00
jxiang 044f53bf33 HBASE-7284 Rename rest server from Main to RESTServer
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418407 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 17:32:52 +00:00