f3c5f11718
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 |
||
---|---|---|
.. | ||
src | ||
pom.xml |