Commit Graph

318 Commits

Author SHA1 Message Date
Josh Elser 2f35956eb8 HBASE-17171 Proactively catch the case when no time remains for random reads
The framework sets a configuration property to control how long reads
should be executed. When writes take too long, no time remains for reads
and the user sees an error about a property they must set. We should
prevent this case and log an appropriate message.

Also fixes a rogue character in the class-level javadoc.

Signed-off-by: Michael Stack <stack@apache.org>
2016-11-23 11:41:04 -08:00
Enis Soztutar bf0483c37c HBASE-17091 IntegrationTestZKAndFSPermissions failed with 'KeeperException' 2016-11-15 13:09:32 -08:00
Apekshit Sharma 9bc9f9b597 HBASE-17004 IntegrationTestManyRegions verifies that many regions get assigned within given time. To do so, it spawns a new thread and uses CountDownLatch.await() to timeout.
Replacing this mechanism with junit @ClassRule to timeout the test.
Also adds missing kdc deps in hbase-it/pom.xml

Change-Id: I00930c2f974b4215e3f82a0ec007d9ef3ebd7cdd
2016-11-04 11:48:01 -07:00
Apekshit Sharma 51ba7cfde3 HBASE-17006 Give name to existing threads.
Having thread names in logs and thread dumps greatly improve debugability. This patch is simply adding the names to the threads we spawn.

Change-Id: I6ff22cc3804bb81147dde3a8e9ab671633c6f6ce
2016-11-03 18:31:03 -07:00
Sean Busbey a1536c2876 Revert "HBASE-16562 ITBLL should fail to start if misconfigured"
This reverts commit 38b946c276.

See discussion on JIRA.
2016-10-24 09:16:53 -05:00
Sean Busbey 65c2dd489f Revert "HBASE-16562 ITBLL should fail to start if misconfigured, addendum"
This reverts commit 6f73ef2dff.

See discussion on JIRA.
2016-10-24 09:16:40 -05:00
Stephen Yuan Jiang 42e7a4acd7 HBASE-16889 Proc-V2: verifyTables in the IntegrationTestDDLMasterFailover test after each table DDL is incorrect (Stephen Yuan Jiang) 2016-10-20 18:25:29 -07:00
Jerry He 92b1b5ac80 HBASE-16667 Building with JDK 8: ignoring option MaxPermSize=256m (Niels Basjes) 2016-09-24 16:29:41 -07:00
Jonathan M Hsieh 13d6acbc7f HBASE-12088 Remove unused hadoop-1.0, hadoop-1.1 profiles from non-root poms 2016-09-21 20:52:19 -07:00
chenheng 6f73ef2dff HBASE-16562 ITBLL should fail to start if misconfigured, addendum 2016-09-07 15:45:09 +08:00
chenheng 38b946c276 HBASE-16562 ITBLL should fail to start if misconfigured 2016-09-07 13:50:36 +08:00
tedyu 8d93b62f04 HBASE-16418 Reduce duration of sleep waiting for region reopen in IntegrationTestBulkLoad#installSlowingCoproc() 2016-08-15 17:26:44 -07:00
Reid 89e3373096 HBASE-14345 Consolidate printUsage in IntegrationTestLoadAndVerify (Reid Chan) 2016-08-10 09:44:48 -07:00
Sean Busbey 6b233c4332 HBASE-8386 deprecate TableMapReduce.addDependencyJars(Configuration, class<?> ...)
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>

 Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
2016-08-05 14:08:50 -05:00
Enis Soztutar dbd10eee3e HBASE-16271 Fix logging and re-run the test in IntegrationTestBulkLoad 2016-08-03 17:02:41 -07:00
Gary Helmling 9dbeb593b5 HBASE-16231 Support client keytab login for integration tests 2016-07-15 16:38:36 -07:00
Joseph Hwang 0d8e7b2f63 HBASE-15935 Set up a concurrent walker that walks flushed circular linked lists as a Loop Mode
Signed-off-by: Elliott Clark <eclark@apache.org>
2016-07-08 09:13:56 -07:00
Enis Soztutar ed07a38d59 HBASE-16190 IntegrationTestDDLMasterFailover failed with IllegalArgumentException: n must be positive (Romil Choksi and Heng Chen) 2016-07-07 16:34:13 -07:00
Enis Soztutar 74090faafe HBASE-16182 Increase IntegrationTestRpcClient timeout 2016-07-06 11:28:50 -07:00
Sergey Soldatov 7fed7a8f4e HBASE-15957 RpcClientImpl.close never ends in some circumstances
Signed-off-by: Enis Soztutar <enis@apache.org>
2016-06-07 11:38:11 -07:00
Sean Mackrory 878b1ea721 HBASE-15889. String case conversions are locale-sensitive, used without locale
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-06-06 12:14:20 -05:00
Enis Soztutar 5202d3c25b HBASE-15295 MutateTableAccess.multiMutate() does not get high priority causing a deadlock
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/MasterCoprocessorRpcChannel.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RegionCoprocessorRpcChannel.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide3.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScannersFromClientSide.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestClockSkewDetection.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerNoMaster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestNamespaceCommands.java
2016-03-28 17:00:21 -07:00
Mikhail Antonov 998e339d6e HBASE-15342 create branch-1.3 and update branch-1 poms to 1.4.0-SNAPSHOT 2016-02-28 16:23:29 -08:00
stack 71d66a6ac7 HBASE-15190 Monkey dies when running on shared cluster (gives up when can't kill the other fellows processes) 2016-01-31 10:52:16 -06:00
Jonathan M Hsieh b3c5f09ee0 HBASE-15104 Occasional failures due to NotServingRegionException in IT tests (Huaxiang Sun) 2016-01-14 09:10:49 -08:00
Samir Ahmic b59f0240e5 HBASE-15034 IntegrationTestDDLMasterFailover does not clean created namespaces.
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-12-24 04:59:13 -08:00
stack f730a375e3 HBASE-14819 hbase-it tests failing with OOME; permgen 2015-12-02 10:15:32 -08:00
stack c4bc1c07bc Revert "HBASE-14223 Meta WALs are not cleared if meta region was closed and RS aborts"
Test TestRegionRebalancing is failing fairly reliably since this went in.

This reverts commit c719e8c456.
2015-12-01 16:02:31 -08:00
Enis Soztutar c719e8c456 HBASE-14223 Meta WALs are not cleared if meta region was closed and RS aborts 2015-11-30 17:07:54 -08:00
stack 5038bb3f3f Revert "HBASE-14819 hbase-it tests failing with OOME; permgen ADDENDUM"
This reverts commit c0bc1e944f.
2015-11-20 12:07:21 -08:00
stack c0bc1e944f HBASE-14819 hbase-it tests failing with OOME; permgen ADDENDUM 2015-11-19 17:06:15 -08:00
stack 447b0b3bfa HBASE-14819 hbase-it tests failing with OOME: permgen 2015-11-19 14:47:16 -08:00
Jonathan M Hsieh f782cab421 HBASE-14780 Integration Test that run with chaos monkey must specify cfs 2015-11-10 15:09:35 -08:00
Elliott Clark 17fd03ea8d HBASE-14781 Turn per cf flushing on for ITBLL by default 2015-11-07 11:50:09 -08:00
Elliott Clark 3578f643c7 HBASE-14723 Fix IT tests split too many times 2015-11-04 11:55:47 -08:00
Enis Soztutar c174a54d87 HBASE-14425 In Secure Zookeeper cluster superuser will not have sufficient permission if multiple values are configured in hbase.superuser (Pankaj Kumar)
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
2015-10-27 17:00:46 -07:00
Enis Soztutar 1128c855ad HBASE-14682 CM restore functionality for regionservers is broken 2015-10-26 16:47:21 -07:00
Andrew Purtell 6fbcd0a2e8 HBASE-13318 RpcServer.getListenerAddress should handle when the accept channel is closed 2015-10-26 15:11:08 -07:00
Enis Soztutar 6588ca5654 HBASE-14535 Integration test for rpc connection concurrency / deadlock testing 2015-10-23 11:02:33 -07:00
Elliott Clark d50b775178 HBASE-14658 Addendum; Allow loading a MonkeyFactory by class name 2015-10-22 12:10:15 -07:00
Elliott Clark a11d983bbc HBASE-14658 Allow loading a MonkeyFactory by class name 2015-10-22 08:54:26 -07:00
Elliott Clark 16af8df41f HBASE-14625 Chaos Monkey should shut down faster 2015-10-16 15:23:03 -07:00
tedyu 411683c22b HBASE-14592 BatchRestartRsAction always restarts 0 RS when running SlowDeterministicMonkey (Yu Li) 2015-10-12 14:51:18 -07:00
Elliott Clark 8019009563 HBASE-14211 Add more rigorous integration tests of splits
Summary:
Intgration tests don't currently have a lot of splits going on while there is IO.
This changes that by changing the split aglorithm and the max region hfile size. That should make things split more.

Additionally this allows ITBLL to start with just one region if hbase.test.pre-split-table is False.

Test Plan: Test on a cluster with ITBLL slow determinitic monkey and stress am monkey.

Differential Revision: https://reviews.facebook.net/D44181
2015-10-12 13:25:10 -07:00
Stephen Yuan Jiang 286edd8b55 HBASE-14212 Add IT test for procedure-v2-based namespace DDL (Stephen Yuan Jiang) 2015-09-25 16:41:55 -07:00
Stephen Yuan Jiang 36eeb7917a HBASE-14051 Undo workarounds in IntegrationTestDDLMasterFailover for client double submit (Stephen Yuan jiang) 2015-09-25 15:09:34 -07:00
Srikanth Srungarapu 1717de65a4 HBASE-14261 Enhance Chaos Monkey framework by adding zookeeper and datanode fault injections. 2015-09-03 11:49:40 -07:00
Sean Busbey f622297aa5 HBASE-14243 Correct NOTICE files.
* fix hbase-it's incorrect use of hbase-server's unfiltered NOTICE
* fix printed comment in resource-bundle NOTICE
* add dependency url for non-aggregated works so that we meet Category B requirements
2015-08-19 17:09:59 -05:00
Sean Busbey a45651c2cf HBASE-14085 Update LICENSE and NOTICE files.
* corrects license/notice for source distribution
* adds inception year to correct copyright in generated NOTICE files for jars
* updates project names in poms to use "Apache HBase" instead of "HBase" so jar NOTICE files will be correct
* uses append-resources to include supplemental info on jars with 3rd party works in source
* adds an hbase specific resource bundle for jars that include 3rd party works for binaries
** uses supplemental-model to fill in license gaps
** uses the above and a shade plugin transformation to build proper files for shaded jars.
** uses the above and the assembly plugin to build the proper files for bin assembly
* adds a NOTICE item for things copied out of Hadoop (TODO legal-discuss)

Conflicts:
	NOTICE.txt
	hbase-checkstyle/pom.xml
	hbase-resource-bundle/pom.xml
	hbase-server/pom.xml
	hbase-thrift/pom.xml
	pom.xml
2015-08-05 14:52:33 -07:00
Enis Soztutar 4a041fd837 HBASE-11276 Add back support for running ChaosMonkey as standalone tool (Yu Li) 2015-07-23 18:39:47 -07:00