Commit Graph

207 Commits

Author SHA1 Message Date
stack f3c5f11718 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99) under src/main/java
Move from HConnection to ClusterConnection or Connection
Use unmanaged connections where we use managed previous
(used the jdk7 https://docs.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html idiom).

In ZKConfig, synchronize on Configuration rather than make a copy.
Making a copy we were dropping hbase configs in certain test context
(could not find the zk ensemble because default port).

In tests, some move to the new style connection setup but mostly
fixes for premature connection close or adding cleanup where it
was lacking.

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiParallel.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMultiSlaveReplication.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java
2014-11-24 10:12:27 -08:00
stack 3a3a4b7b6b Revert "HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99)"
This reverts commit 4f5cde8a69.
2014-11-18 16:32:18 -08:00
stack 4f5cde8a69 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiParallel.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
2014-11-18 10:19:55 -08:00
Nick Dimiduk 390d4acf0d HBASE-12472 Improve debuggability of IntegrationTestBulkLoad 2014-11-17 09:34:54 +01:00
Andrew Purtell 0145650cb0 HBASE-12450 Unbalance chaos monkey might kill all region servers without starting them back (Virag Kothari) 2014-11-07 17:25:10 -08:00
stack c99d89fd63 HBASE-12427 Change branch-1 version from 0.99.2-SNAPSHOT to 0.99.3-SNAPSHOT --REVERT 2014-11-05 19:15:24 -08:00
stack c66a6b02a5 HBASE-12427 Change branch-1 version from 0.99.2-SNAPSHOT to 0.99.3-SNAPSHOT 2014-11-04 12:41:38 -08:00
Nick Dimiduk 687710eb28 HBASE-12403 IntegrationTestMTTR flaky due to aggressive RS restart timeout 2014-11-01 10:36:47 -07:00
Nick Dimiduk e15a803b59 HBASE-12401 Add some timestamp signposts in IntegrationTestMTTR 2014-10-31 17:22:47 -07:00
Nick Dimiduk 4a803e79e1 HBASE-12335 IntegrationTestRegionReplicaPerf is flaky 2014-10-31 17:17:05 -07:00
Enis Soztutar 80f83db0b8 HBASE-12367 Integration tests should not restore the cluster if the CM is not destructive 2014-10-28 17:11:28 -07:00
Elliott Clark 64c67ffad2 HBASE-12322 Add Clean command to ITBLL
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java
2014-10-23 20:55:09 -07:00
Elliott Clark 1452b2b01f HBASE-12314 Add chaos monkey policy to execute two actions concurrently 2014-10-22 15:02:40 -07:00
Nick Dimiduk d50dfb4b43 HBASE-12317 Run IntegrationTestRegionReplicaPerf w.o mapred 2014-10-22 10:17:41 -07:00
Matteo Bertozzi 0dee72466d HBASE-12161 Add support for grant/revoke on namespaces in AccessControlClient (Srikanth Srungarapu) 2014-10-18 21:16:58 +01:00
Enis Soztutar 10ebc49130 Update pom.xml version to 0.99.2-SNAPSHOT 2014-10-17 11:32:59 -07:00
Dima Spivak 9367127155 HBASE-12252 IntegrationTestBulkLoad fails with illegal partition error
Signed-off-by: stack <stack@apache.org>
2014-10-14 14:05:35 -07:00
Enis Soztutar 7d0be32b1d Update pom.xml version for 0.99.1 2014-10-11 21:56:30 -07:00
Jimmy Xiang ac6baf9173 HBASE-11838 Enable PREFIX_TREE in integration tests 2014-10-07 09:49:32 -07:00
Andrew Purtell 695261c4a9 HBASE-12106 Move test annotations to test artifact (Enis Soztutar) 2014-10-06 23:16:58 -07:00
Enis Soztutar 1e821bc02a HBASE-12042 Replace internal uses of HTable(Configuration, String) with HTable(Configuration, TableName) (Solomon Duskis) 2014-09-29 19:39:18 -07:00
Nick Dimiduk 895768dd70 HBASE-12008 Remove IntegrationTestImportTsv#testRunFromOutputCommitter 2014-09-29 13:29:45 -07:00
Elliott Clark 91642eed82 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:01:58 -07:00
Elliott Clark c32af7df5f HBASE-12059 Create hbase-annotations module 2014-09-23 16:43:45 -07:00
Elliott Clark 7e6cb56e4c HBASE-12062 Fix usage of Collections.toArray 2014-09-23 10:00:03 -07:00
Enis Soztutar 63c24ac73f Update pom.xml version to 0.99.1-SNAPSHOT 2014-09-22 20:14:52 -07:00
stack 7c1d6b3764 HBASE-10134 Add Chaos Monkey that doesn't touch the master (Matteo Bertozzi ADDENDUM) 2014-09-18 16:05:43 -07:00
Elliott Clark 9d50488f20 HBASE-10314 Add Chaos Monkey that doesn't touch the master 2014-09-18 11:44:13 -07:00
Enis Soztutar cbae478b79 HBASE-11989 IntegrationTestLoadAndVerify cannot be configured anymore on distributed mode 2014-09-16 12:24:14 -07:00
Enis Soztutar ff5fa9501b HBASE-11825 Create Connection and ConnectionManager (Solomon Duskis) 2014-09-16 11:48:00 -07:00
Enis Soztutar 6337705f26 Update pom.xml version for 0.99.0 2014-09-09 18:56:44 -07:00
Enis Soztutar b175042917 HBASE-11679 Replace HTable with HTableInterface where backwards-compatible (Carter) 2014-09-09 11:51:26 -07:00
Enis Soztutar b2f42e4309 HBASE-11836 IntegrationTestTimeBoundedMultiGetRequestsWithRegionReplicas tests simple get by default (Nicolas Liochon) 2014-09-08 16:28:12 -07:00
Enis Soztutar 0cbe0522eb HBASE-11826 Split each tableOrRegionName admin methods into two targetted methods (Carter and Enis) 2014-09-03 14:58:48 -07:00
stack f149c26e9a HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime 2014-08-29 17:21:48 -07:00
stack 46fea6e09f HBASE-11068 Update code to use Admin factory method instead of constructor 2014-08-04 11:43:14 -07:00
Nicolas Liochon d8562052a4 HBASE-11564 Improve cancellation management in the rpc layer 2014-07-24 17:49:01 +02:00
Ramkrishna 063247bf3b HBASE-11489 ClassNotFoundException while running IT tests in trunk using
'mvn verify' (Ram)
2014-07-15 22:50:21 +05:30
Ramkrishna f0035e6837 HBASE-11509 Forward port HBASE-11039 to trunk and branch-1 after
HBASE-11489 (Ram)
2014-07-14 22:54:44 +05:30
Ramkrishna 722e40eb8e HBASE-11506 IntegrationTestWithCellVisibilityLoadAndVerify allow User to
be passed as arg (Ram)
2014-07-14 16:37:28 +05:30
Ted Yu aa414085e6 HBASE-11422 Specification of scope is missing for certain Hadoop dependencies (Konstantin Boudnik) 2014-07-04 12:39:20 +00:00
Ramkrishna 75ace7ed2f HBASE-11449 IntegrationTestIngestWithACL fails to use different users
after HBASE-10810 (Ram)
2014-07-03 12:06:05 +05:30
Devaraj Das 8e40fa0c41 HBASE-10818. Addendum to reduce the number of times sleep happens in the coprocessor. Also, puts back code to set consistency that got deleted by accident in the last commit. 2014-06-27 16:39:40 -07:00
Devaraj Das e5ec49b123 HBASE-10818. Add integration test for bulkload with replicas (Nick Dimiduk and Devaraj Das) 2014-06-27 16:39:40 -07:00
Enis Soztutar 25baace0de HBASE-10810 LoadTestTool should share the connection and connection pool
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1595078 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:40 -07:00
ndimiduk d313103aeb HBASE-10791 Add integration test to demonstrate performance improvement
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1585807 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:39 -07:00
Devaraj Das 41116848e5 HBASE-10616. Integration test for multi-get calls
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1577372 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:38 -07:00
Enis Soztutar 759cfb83af HBASE-10572 Create an IntegrationTest for region replicas
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1576465 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:38 -07:00
Enis Soztutar 235aaee4fe HBASE-11376 Presplit table in IntegrationTestBigLinkedList's Generator tool 2014-06-24 17:56:48 -07:00
Michael Stack 5764df2974 HBASE-11348 Make frequency and sleep times of chaos monkeys configurable (Vandan Ayyalasomayajula) 2014-06-19 14:50:50 -07:00